:root {
    --volcanus-dark: #140505;
    --volcanus-blue: #ff4500;
    --volcanus-blue-dark: #b32400;
    --volcanus-accent: #ffd700;
    --volcanus-text: #e0e0e0;
    --volcanus-border: rgba(255, 69, 0, 0.3);
    --volcanus-card-bg: rgba(30, 5, 5, 0.85);
}

body {
    background-color: var(--volcanus-dark);
    background-image: url('../image/fondoini.webp');
    background-attachment: scroll;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    color: var(--volcanus-text);
}

/* Navbar */
.volcanus-nav {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--volcanus-border);
}

.nav-link {
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-link:hover {
    color: var(--volcanus-accent);
    text-shadow: 0 0 10px var(--volcanus-accent);
}

/* Hero */
.hero-section {
    position: relative;
    background: transparent;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
@media (max-width: 767px) {
    .hero-section {
        height: 100px;
    }
}

.hero-title {
    font-family: 'Philosopher', serif;
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 0 20px var(--volcanus-blue);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--volcanus-accent);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.btn-volcanus {
    background: linear-gradient(45deg, var(--volcanus-blue-dark), var(--volcanus-blue));
    color: white;
    padding: 12px 30px;
    font-weight: bold;
    text-transform: uppercase;
    border: 1px solid var(--volcanus-accent);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.5);
    transition: all 0.3s;
}

.btn-volcanus:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.8);
    background: linear-gradient(45deg, var(--volcanus-blue), var(--volcanus-accent));
}

/* Cards / Boxes */
.volcanus-box {
    background: var(--volcanus-card-bg);
    border: 1px solid var(--volcanus-border);
    border-radius: 4px;
    /* overflow: hidden; Removed to allow tooltips to show */
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5);
}

.volcanus-box-header {
    background: linear-gradient(90deg, rgba(60,10,0,1) 0%, rgba(120,30,0,1) 100%);
    padding: 10px 15px;
    border-bottom: 1px solid var(--volcanus-border);
    border-radius: 4px 4px 0 0; /* Added to maintain rounded corners */
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.volcanus-box-content {
    padding: 15px;
}

/* Inputs */
.volcanus-input {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    color: white;
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 10px;
    border-radius: 3px;
    transition: border 0.3s;
}

.volcanus-input:focus {
    border-color: var(--volcanus-accent);
    outline: none;
}

/* Footer */
.volcanus-footer {
    background: #080202;
    border-top: 1px solid var(--volcanus-border);
    padding: 40px 0;
    margin-top: 40px;
    text-align: center;
    color: #888;
}

/* UserCP Styles */
.neo-panel {
    background: rgba(40, 5, 5, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.neo-panel::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 69, 0, 0.1), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.neo-panel > * {
    position: relative;
    z-index: 1;
}

.neo-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    background: linear-gradient(to right, #fff, #ffd1d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.25rem;
}

.neo-sub {
    font-size: 0.875rem;
    color: #d1a5a5;
    font-weight: 500;
}

.neo-grid {
    display: grid;
    gap: 1rem;
}

.neo-action {
    display: block;
    border-radius: 16px;
    padding: 1rem;
    background: #811717;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    width: 100%;
}

.neo-action:hover {
    transform: translateY(-4px);
    background: rgba(90, 20, 30, 0.7);
    border-color: rgba(255, 100, 100, 0.5);
    box-shadow: 
        0 10px 25px -5px rgba(255, 69, 0, 0.3),
        inset 0 0 20px rgba(255, 69, 0, 0.1);
}

.neo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 20px;
    transition: transform 0.3s ease;
    backdrop-filter: blur(4px);
}

.neo-action:hover .neo-icon {
    transform: scale(1.1) rotate(6deg);
}

.icon-orange { background: rgba(251, 146, 60, 0.15); color: #fb923c; border: 1px solid rgba(251, 146, 60, 0.2); }
.icon-green  { background: rgba(52, 211, 153, 0.15); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.2); }
.icon-cyan   { background: rgba(34, 211, 238, 0.15); color: #22d3ee; border: 1px solid rgba(34, 211, 238, 0.2); }
.icon-pink   { background: rgba(244, 114, 182, 0.15); color: #f472b6; border: 1px solid rgba(244, 114, 182, 0.2); }
.icon-purple { background: rgba(167, 139, 250, 0.15); color: #a78bfa; border: 1px solid rgba(167, 139, 250, 0.2); }
.icon-red    { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.icon-blue   { background: rgba(59, 130, 246, 0.15); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); }
.icon-yellow { background: rgba(234, 179, 8, 0.15); color: #eab308; border: 1px solid rgba(234, 179, 8, 0.2); }

.neo-section {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.2s;
}
.neo-section:hover {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(255,255,255,0.15);
}

.neo-panel .font-semibold { font-size: 14px; font-weight: 600; letter-spacing: 0.3px; color: #fff; }

.neo-table th {
    background: rgba(255, 255, 255, 0.08);
    color: #ffcccc;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.neo-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s;
}
.neo-table tr:last-child { border-bottom: none; }
.neo-table tr:hover {
    background: rgba(255, 100, 100, 0.05);
}
.neo-table td {
    color: #ecdcdc;
}

.neo-btn-logout {
    background: linear-gradient(135deg, #8b0000 0%, #5a0000 100%);
    color: white !important;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.neo-btn-logout:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(200, 20, 20, 0.4);
    filter: brightness(1.2);
}

.neo-modal {
    background: rgba(45, 5, 10, 0.95) !important;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6) !important;
    color: #fff;
}

.neo-input {
    width: 100%;
}

/* Animations for Header Logo */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.animate-spin-slow {
    animation: spin-slow 20s linear infinite;
}

.sparkle {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 5px #fff, 0 0 10px #ff4500;
    opacity: 0;
    animation: sparkle-fade ease-in-out infinite;
}

@keyframes sparkle-fade {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

