/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    --primary-blue: #3b82f6; /* Azul primario */
    --accent-blue: #1d4ed8; /* Azul oscuro acento */
    --bg-space-dark: #050510;
    --bg-darker: #020205;
    --text-light: #ffffff;
    --text-dim: #bbbbbb;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --nav-height: 80px;
    --gradient-gold: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    background-color: var(--bg-space-dark);
    color: var(--text-light);
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(20, 20, 50, 0.5), transparent 70%),
        radial-gradient(white, rgba(255, 255, 255, .2) 2px, transparent 3px),
        radial-gradient(white, rgba(255, 255, 255, .15) 1px, transparent 2px);
    background-size: 100% 100%, 550px 550px, 350px 350px;
    background-position: 0 0, 0 0, 0 0;
    animation: bgMove 120s linear infinite;
    background-attachment: fixed;
}


/* Scrollbar */
html,
body {
    overflow: auto;
    /* Mantiene el scroll */
    scrollbar-width: none;
    /* Firefox */
}

/* Chrome, Safari, Edge, Opera */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
    display: none;
}

/* Fin Scrollbar */

@keyframes bgMove {
    from {
        background-position: 0 0, 0 0, 0 0;
    }

    to {
        background-position: 0 0, 550px 550px, 350px 350px;
    }
}

/* Typography & Alignment Fixes */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    /* Enforce global centering */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* --- New Pill Navbar --- */
#navbar-container {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 1000;
    padding: 0 20px;
    pointer-events: none;
    /* Allow clicking through container */
}

@keyframes slideDown {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-pill-container {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    /* Reduced gap slightly */
    background: rgba(15, 15, 20, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);

    /* Animation Removed */
    /* animation: slideDown 0.8s ease-out forwards; */
    /* transform: translateY(-100px); */
    /* opacity: 0; */

    /* Sliding Highlight Needs this */
    position: relative;
}

/* The Sliding Background Pill */
.nav-highlight {
    position: absolute;
    height: 85%;
    /* Slightly smaller than container */
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 50px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    /* Behind text but above container bg */
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
    pointer-events: none;
    opacity: 0;
    /* Hidden initially until JS sets it */
}

.nav-pill-item {
    text-decoration: none;
    color: var(--text-dim);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    /* Above highlight */
    border: 1px solid transparent;
    /* Keep layout stable */
}

/* Active State just changes text color now */
.nav-pill-item.active {
    color: var(--primary-blue);
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.nav-pill-item:hover {
    color: #fff;
}

.nav-pill-item i {
    font-size: 1.1rem;
    color: var(--primary-blue);
    /* Always yellow icon */
    transition: 0.3s;
}

.nav-pill-item.active i {
    color: #fff;
    /* White icon on active */
}

.nav-pill-item span {
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
    white-space: nowrap;
}

.nav-pill-item:hover span,
.nav-pill-item.active span {
    max-width: 150px;
    opacity: 1;
}

.nav-separator {
    width: 1px;
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 10px;
}

.store-link {
    background: linear-gradient(45deg, #1d4ed8, #60a5fa);
    color: #000 !important;
    box-shadow: 0 4px 15px rgba(29, 78, 216, 0.4);
    border: none;
}

.store-link:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(29, 78, 216, 0.6);
}

.store-link i {
    color: #000 !important;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .nav-pill-container {
        width: 95%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-right: 20px;
        /* Hide scrollbar */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .nav-pill-container::-webkit-scrollbar {
        display: none;
    }

    .nav-pill-item {
        padding: 10px 15px;
        flex-shrink: 0;
        /* Prevent shrinking */
    }

    /* On mobile, maybe always show text or just icon? 
       Let's keep the expanding behavior but ensure it fits. */
}

/* Buttons Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    border-radius: 12px;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--gradient-gold);
    color: #000;
    box-shadow: 0 5px 20px rgba(29, 78, 216, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(29, 78, 216, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-light);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    max-width: 350px;
    width: 70%;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.15));
    animation: float 6s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 20px;
    line-height: 1.1;
    background: linear-gradient(to bottom, #fff, #ccc);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    /* Entrance Animation */
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
    text-align: center;
    /* Enforced Centering */
    display: block;
    margin-left: auto;
    margin-right: auto;
    /* Entrance Animation */
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.4s;
}

/* IP Box */
.ip-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 15px 30px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(10px);
    /* Entrance Animation */
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.6s;
}

/* Server Status Pill (Player Count) */
.server-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    backdrop-filter: blur(5px);
    font-size: 0.95rem;
    color: #ddd;
    font-weight: 500;
    /* Animation Entrance */
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.7s;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #4ade80;
    /* Green 400 */
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
    animation: pulseGreen 2s infinite;
}

.status-dot.offline {
    background-color: #ef4444;
    /* Red 500 */
    box-shadow: 0 0 10px #ef4444;
    animation: none;
}

@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(74, 222, 128, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

/* ... existing hover styles ... */

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    /* Entrance Animation */
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.8s;
}

/* Grids & Cards */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);

    color: var(--text-light);
    position: relative;
    display: block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 5px;
    background: var(--primary-blue);
    margin: 10px auto 0;
    border-radius: 2px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
    opacity: 1;
}

/* Vote Cards Redesign */
.vote-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(10, 10, 20, 0.6);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    transition: 0.3s;
    position: relative;
    text-align: center;
}

/* --- Server Info Section --- */
.info-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    padding: 50px;
    background: rgba(20, 20, 30, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.info-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05), transparent 60%);
    opacity: 0.5;
    pointer-events: none;
}

.info-block:hover {
    transform: translateY(-5px);
    background: rgba(25, 25, 35, 0.6);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.info-block.reverse {
    flex-direction: row-reverse;
}

.info-block.reverse::before {
    background: radial-gradient(circle at top left, rgba(59, 130, 246, 0.05), transparent 60%);
}

.info-content {
    flex: 1;
    z-index: 2;
}

.info-content h2 {
    text-align: left;
    font-size: 3rem;
    margin-bottom: 25px;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 30%, var(--primary-blue) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.2));
}

.info-content p {
    font-size: 1.15rem;
    color: var(--text-dim);
    line-height: 1.8;
    margin-bottom: 25px;
}

.info-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.info-visual-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 0;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--primary-blue);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    transition: transform 0.4s ease;
}

.info-visual-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.1), transparent 70%);
    animation: pulseGlow 4s infinite alternate;
}

.info-visual-card:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: var(--primary-blue);
}

.info-visual-card i {
    z-index: 2;
    filter: drop-shadow(0 0 40px rgba(59, 130, 246, 0.5));
    animation: float 5s ease-in-out infinite;
}

.info-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    position: relative;
    border-radius: inherit;
}

@keyframes pulseGlow {
    from {
        opacity: 0.5;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 900px) {

    .info-block,
    .info-block.reverse {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .info-content h2 {
        text-align: center;
    }
}

.vote-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.vote-number {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 10px;
    right: 20px;
}

.vote-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

/* Staff Cards */
.staff-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 30px;
}

.staff-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 4px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.staff-card:hover .staff-avatar {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary-blue);
}

.staff-role {
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
    background: #020205;
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: 0.3s;
}

.social-icon:hover {
    background: var(--primary-blue);
    color: var(--bg-space-dark);
    transform: rotate(360deg);
}

/* --- Nav Persistence --- */
.nav-pill-container.no-animate {
    animation: none !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* Toast Premium */
.toast-container {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

/* --- Staff Styles Refined --- */
.staff-card {
    background: rgba(20, 20, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ... existing hover ... */


.staff-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-blue);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.staff-avatar {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    transition: 0.4s;
    object-fit: cover;
}

.staff-card:hover .staff-avatar {
    transform: scale(1.05);
    border-color: var(--primary-blue);
}

.staff-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    font-family: 'Minecraft', sans-serif;
    font-weight: normal;
    font-style: normal;
}

.role-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Roles Colors */
.role-owner-capi {
    background: linear-gradient(135deg, #aa0000, #ff4444);
    color: white;
    box-shadow: 0 0 15px rgba(255, 68, 68, 0.5);
    animation: glow-red 3s infinite alternate;
}

.role-owner-adri {
    background: linear-gradient(135deg, #1d4ed8, #60a5fa);
    color: black;
    /* Text black for better contrast on yellow */
    font-weight: 800;
    /* Extra bolt for readability */
    box-shadow: 0 0 15px rgba(255, 200, 0, 0.5);
    animation: glow-yellow 3s infinite alternate;
}

.role-owner-erik {
    background: linear-gradient(135deg, #6600aa, #aa44ff);
    color: white;
    box-shadow: 0 0 15px rgba(170, 68, 255, 0.5);
    animation: glow-purple 3s infinite alternate;
}

@keyframes glow-red {
    from {
        box-shadow: 0 0 10px rgba(255, 68, 68, 0.4);
    }

    to {
        box-shadow: 0 0 20px rgba(255, 68, 68, 0.7);
    }
}

@keyframes glow-yellow {
    from {
        box-shadow: 0 0 10px rgba(255, 200, 0, 0.4);
    }

    to {
        box-shadow: 0 0 20px rgba(255, 200, 0, 0.7);
    }
}

@keyframes glow-purple {
    from {
        box-shadow: 0 0 10px rgba(170, 68, 255, 0.4);
    }

    to {
        box-shadow: 0 0 20px rgba(170, 68, 255, 0.7);
    }
}

.role-admin {
    background: linear-gradient(135deg, #cc0000, #ff5555);
    color: white;
}

.role-jradmin {
    background: linear-gradient(135deg, #ff8800, #1d4ed8);
    color: white;
}

.role-manager {
    background: linear-gradient(135deg, #880000, #aa0000);
    color: white;
}

.role-srmod {
    background: linear-gradient(135deg, #ffcc00, #ffeebb);
    color: black;
}

.role-mod {
    background: linear-gradient(135deg, #006600, #008800);
    color: white;
}

.role-jrmod {
    background: linear-gradient(135deg, #00aa00, #55ff55);
    color: black;
}

.role-ayudante {
    background: linear-gradient(135deg, #0055ff, #55aaff);
    color: white;
}

.role-donator {
    background: linear-gradient(135deg, #d400d4, #ff55ff);
    color: white;
    box-shadow: 0 0 15px rgba(255, 85, 255, 0.4);
}





/* Grid tweaks for Staff */
.staff-grid-centered {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 80px;
}



.toast {
    background: rgba(15, 15, 25, 0.95);
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    min-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    animation: toastIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: auto;
}

.toast-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.toast-icon.success {
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.toast-icon.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.toast-icon.warning {
    background: rgba(250, 204, 21, 0.2);
    color: #facc15;
}

.toast-icon.info {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
}

.toast-content {
    font-size: 0.95rem;
    font-weight: 500;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateY(-20px) scale(0.9);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Media Queries */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    #navbar-container {
        top: 10px;
        position: fixed;
        width: 100%;
        left: 0;
        z-index: 2000;
        display: flex;
        justify-content: center;
    }

    .nav-pill-container {
        width: 95%;
        /* Almost full width on mobile */
        max-width: 400px;
        /* But not too wide */
        overflow-x: auto;
        /* Allow horizontal scroll */
        justify-content: flex-start;
        /* Start from left */
        padding: 8px;
        -ms-overflow-style: none;
        /* Hide scrollbar IE/Edge */
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
    }

    .nav-pill-container::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .nav-pill-item {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .nav-pill-item i {
        font-size: 1rem;
    }

    /* Always show icon, hide text if inactive for space? 
       Actually, horizontal scroll allows keeping text. 
       Let's keep text visible on active for consistency. */

    .grid {
        grid-template-columns: 1fr;
    }


    .hero-title {
        font-size: 2.2rem;
        /* Slighly smaller for better fit */
    }

    .hero-logo {
        max-width: 250px;
        /* Smaller logo on mobile */
        margin-bottom: 20px;
    }

    .info-visual-card {
        max-width: 280px;
        /* Smaller visual card */
        font-size: 4rem;
        /* Smaller icon inside */
    }

    .info-block {
        gap: 30px;
        padding: 30px 20px;
        /* Reduced padding */
    }

    .footer-socials {
        gap: 15px;
    }
}

/* Staff Role Hover Effects */

/* Capi */
.staff-capi::before {
    background: linear-gradient(135deg, #aa0000, #ff4444);
}

.staff-capi:hover {
    border-color: #ff4444;
    box-shadow: 0 15px 40px rgba(255, 68, 68, 0.3);
}

.staff-capi:hover::before {
    opacity: 1;
}

.staff-capi:hover .staff-avatar {
    border-color: #ff4444;
}

/* Adri */
.staff-adri::before {
    background: linear-gradient(135deg, #1d4ed8, #60a5fa);
}

.staff-adri:hover {
    border-color: #60a5fa;
    box-shadow: 0 15px 40px rgba(255, 221, 0, 0.3);
}

.staff-adri:hover::before {
    opacity: 1;
}

.staff-adri:hover .staff-avatar {
    border-color: #60a5fa;
}

/* Erik */
.staff-erik::before {
    background: linear-gradient(135deg, #6600aa, #aa44ff);
}

.staff-erik:hover {
    border-color: #aa44ff;
    box-shadow: 0 15px 40px rgba(170, 68, 255, 0.3);
}

.staff-erik:hover::before {
    opacity: 1;
}

.staff-erik:hover .staff-avatar {
    border-color: #aa44ff;
}

/* Manager */
.staff-manager::before {
    background: linear-gradient(135deg, #880000, #aa0000);
}

.staff-manager:hover {
    border-color: #aa0000;
    box-shadow: 0 15px 40px rgba(170, 0, 0, 0.3);
}

.staff-manager:hover::before {
    opacity: 1;
}

.staff-manager:hover .staff-avatar {
    border-color: #aa0000;
}

/* Admin */
.staff-admin::before {
    background: linear-gradient(135deg, #cc0000, #ff5555);
}

.staff-admin:hover {
    border-color: #ff5555;
    box-shadow: 0 15px 40px rgba(255, 85, 85, 0.3);
}

.staff-admin:hover::before {
    opacity: 1;
}

.staff-admin:hover .staff-avatar {
    border-color: #ff5555;
}

/* Jr Admin */
.staff-jradmin::before {
    background: linear-gradient(135deg, #ff8800, #1d4ed8);
}

.staff-jradmin:hover {
    border-color: #1d4ed8;
    box-shadow: 0 15px 40px rgba(29, 78, 216, 0.3);
}

.staff-jradmin:hover::before {
    opacity: 1;
}

.staff-jradmin:hover .staff-avatar {
    border-color: #1d4ed8;
}

/* Sr Mod */
.staff-srmod::before {
    background: linear-gradient(135deg, #ffcc00, #ffeebb);
}

.staff-srmod:hover {
    border-color: #ffeebb;
    box-shadow: 0 15px 40px rgba(255, 238, 187, 0.3);
}

.staff-srmod:hover::before {
    opacity: 1;
}

.staff-srmod:hover .staff-avatar {
    border-color: #ffeebb;
}

/* Mod */
.staff-mod::before {
    background: linear-gradient(135deg, #006600, #008800);
}

.staff-mod:hover {
    border-color: #008800;
    box-shadow: 0 15px 40px rgba(0, 136, 0, 0.3);
}

.staff-mod:hover::before {
    opacity: 1;
}

.staff-mod:hover .staff-avatar {
    border-color: #008800;
}

/* Jr Mod */
.staff-jrmod::before {
    background: linear-gradient(135deg, #00aa00, #55ff55);
}

.staff-jrmod:hover {
    border-color: #55ff55;
    box-shadow: 0 15px 40px rgba(85, 255, 85, 0.3);
}

.staff-jrmod:hover::before {
    opacity: 1;
}

.staff-jrmod:hover .staff-avatar {
    border-color: #55ff55;
}

/* Ayudante */
.staff-ayudante::before {
    background: linear-gradient(135deg, #0055ff, #55aaff);
}

.staff-ayudante:hover {
    border-color: #55aaff;
    box-shadow: 0 15px 40px rgba(85, 170, 255, 0.3);
}

.staff-ayudante:hover::before {
    opacity: 1;
}

.staff-ayudante:hover .staff-avatar {
    border-color: #55aaff;
}

/* Donator */
.staff-donator::before {
    background: linear-gradient(135deg, #d400d4, #ff55ff);
}

.staff-donator:hover {
    border-color: #ff55ff;
    box-shadow: 0 15px 40px rgba(255, 85, 255, 0.3);
}

.staff-donator:hover::before {
    opacity: 1;
}

/* --- Role Headers & Info Buttons --- */
.role-header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    position: relative;
    width: 100%;
}

.section-title {
    margin-bottom: 0 !important;
}

.role-info-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    width: 28px;
    /* Slightly smaller/sleeker */
    height: 28px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.8rem;
    margin-top: 4px;
    animation: fadeInUp 0.8s ease-out forwards;
    margin-bottom: 30px;
    /* Optical alignment with text */
}

.role-info-btn:hover {
    background: var(--primary-blue);
    color: #000;
    box-shadow: 0 0 15px var(--primary-blue);
    border-color: var(--primary-blue);
    transform: scale(1.1);
}

/* --- Role Info Modal (Modern & Clean Design) --- */
/* --- Role Info Modal (Premium Compact Design) --- */
.role-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Darker focus */
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.role-modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

/* --- Role Info Modal (Central Dashboard Design) --- */
.role-modal-content {
    background: #18191a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 0;
    width: 95%;
    max-width: 900px;
    /* Wider for central presence */
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.8);
    transform: scale(0.95);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    /* Prevent overflow on small screens */
}

.role-modal-backdrop.active .role-modal-content {
    transform: scale(1);
}

/* Header (Minimal) */
.role-modal-header {
    background: #202124;
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#modal-role-title {
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(90deg, #fff, #bbb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Close Button */
.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
}

.close-modal:hover {
    background: var(--primary-blue);
    color: #000;
    transform: rotate(90deg);
}

/* Body (The Grid System) */
.role-modal-body {
    padding: 0;
    display: grid;
    grid-template-columns: 280px 1fr;
    /* Sidebar | Content */
    min-height: 400px;
}

/* Sidebar: Description & Members */
.modal-sidebar {
    background: #1e1f23;
    padding: 30px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#modal-role-description {
    font-size: 0.95rem;
    color: #aeaeae;
    line-height: 1.6;
    font-style: italic;
    text-align: left;
    margin: 0;
}

.modal-members-section {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    display: block;
    /* Reset flex */
    text-align: left;
    flex-grow: 1;
    /* Push to fill */
}

.modal-members-section h4 {
    color: var(--primary-blue);
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-members-section h4 i {
    margin-right: 5px;
}

.members-list-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    flex-direction: column;
    /* Vertical list */
    gap: 10px;
}

.member-tag {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.member-tag::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-blue);
}

.member-tag:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.member-tag::after {
    content: "•";
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.2);
    display: none;
}

.member-tag:last-child::after {
    display: none;
}

/* Vacant Alert */
.member-tag.member-vacant {
    background: rgba(255, 69, 58, 0.15);
    /* Red background */
    color: #ff453a;
    border: 1px solid rgba(255, 69, 58, 0.3);
    font-weight: 700;
    box-shadow: 0 0 15px rgba(255, 69, 58, 0.1);
}

.member-tag.member-vacant::before {
    background: #ff453a;
    box-shadow: 0 0 10px #ff453a;
    animation: pulseRed 1.5s infinite;
}

@keyframes pulseRed {
    0% {
        opacity: 0.5;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }

    100% {
        opacity: 0.5;
        transform: scale(0.9);
    }
}

/* Main Content: Info Grid */
.role-modal-grid-clean {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 30px;
    overflow-y: auto;
}




/* Custom properties for modal blocks to override global .info-block */
.role-modal-grid-clean .info-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 15px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    margin-bottom: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.role-modal-grid-clean .info-block:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.info-block.full-width {
    grid-column: 1 / -1;
}

.role-modal-grid-clean .info-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin-bottom: 5px;
}

.role-modal-grid-clean .info-header i {
    color: var(--primary-blue);
    font-size: 1.4rem;
    background: none;
    box-shadow: none;
    padding: 0;
    width: auto;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.4));
}

.role-modal-grid-clean .info-header h4 {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    letter-spacing: 1px;
}

.role-modal-grid-clean .info-block p {
    color: #cccccc;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

/* Keyframes */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile */
@media (max-width: 800px) {
    .role-modal-content {
        height: 85vh;
        /* Fixed height to force overflow handling */
        max-height: 85vh;
    }

    .role-modal-body {
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        /* Scroll ONLY the body */
        height: 100%;
        /* Custom Scrollbar for the modal body */
        scrollbar-width: thin;
        scrollbar-color: var(--primary-blue) rgba(255, 255, 255, 0.05);
    }

    .role-modal-body::-webkit-scrollbar {
        width: 6px;
    }

    .role-modal-body::-webkit-scrollbar-thumb {
        background-color: var(--primary-blue);
        border-radius: 10px;
    }

    .modal-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 20px;
        flex-shrink: 0;
        /* Keep header intact */
    }

    .role-modal-grid-clean {
        display: flex;
        flex-direction: column;
        overflow: visible;
        /* Let the body handle scroll */
        height: auto;
        padding: 20px;
        gap: 20px;
    }

    .role-modal-grid-clean .info-block {
        height: auto;
        /* Let content dictate height */
    }
}

/* --- Settings Modal --- */
.settings-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

.settings-modal-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.settings-modal-content {
    background: #18191a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.settings-modal-backdrop.active .settings-modal-content {
    transform: scale(1);
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.settings-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-icon {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: 0.3s;
}

.close-icon:hover {
    color: var(--primary-blue);
    transform: rotate(90deg);
}

.settings-body {
    padding: 20px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.02);
    padding: 15px;
    border-radius: 12px;
}

.setting-item:last-child {
    margin-bottom: 0;
}

.setting-info {
    display: flex;
    flex-direction: column;
}

.setting-name {
    font-weight: 700;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
}

.setting-desc {
    font-size: 0.8rem;
    color: #888;
}

/* Switch Toggle */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #333;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

input:checked+.slider {
    background-color: var(--primary-blue);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* --- Staff of the Month --- */
.staff-spotlight-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out forwards;
}

.spotlight-header {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.staff-spotlight {
    border: 2px solid var(--primary-blue) !important;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(0, 0, 0, 0.5)) !important;
    transform: scale(1.1);
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.2) !important;
    max-width: 350px;
}

.spotlight-reason {
    margin-top: 15px;
    font-style: italic;
    color: #ddd;
    font-size: 0.95rem;
}

.spotlight-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
    animation: rotateGlow 10s linear infinite;
    pointer-events: none;
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- Rules Search --- */
.rules-search-container {
    position: relative;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.rules-search-container input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 15px 15px 50px;
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.rules-search-container input:focus {
    outline: none;
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--primary-blue);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    transition: 0.3s;
}

.rules-search-container input:focus+.search-icon {
    color: var(--primary-blue);
}

/* --- Staff of the Month (Refactored) --- */
.spotlight-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), #1d4ed8);
    border: none;
    border-radius: 50%;
    color: #000;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    cursor: pointer;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floatFab 3s ease-in-out infinite;
}

.spotlight-fab:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

@keyframes floatFab {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.spotlight-modal-content {
    width: 800px !important;
    /* Wider for grid */
    max-width: 95% !important;
}

.spotlight-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.staff-spotlight-modal-card {
    width: 250px;
    border: 1px solid var(--primary-blue) !important;
    background: rgba(59, 130, 246, 0.05) !important;
    transform: none !important;
    /* Reset specific spotlight scaling */
}

.staff-spotlight-modal-card:hover {
    transform: translateY(-5px) !important;
}

/* --- Custom Cursor (SVG) --- */
/* Solo activo si el body tiene la clase .enable-custom-cursor */


/* General Interactive Elements - Gold Pointer */

/* Yellow/Light Background Elements - Dark Pointer */

/* Text Inputs - Text I-Beam */

/* Remove old DOM cursor styles if they exist */
.custom-cursor-dot {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --- Mobile Menu Styles --- */
.mobile-nav-trigger {
    display: none;
    /* Hidden on desktop */
    background: rgba(15, 15, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--primary-blue);
    font-size: 1.5rem;
    padding: 10px 15px;
    border-radius: 12px;
    cursor: pointer;
    z-index: 2001;
    /* Above almost everything */
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.mobile-nav-trigger:hover {
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(-20px);
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
    width: 100%;
    max-width: 300px;
}

.mobile-nav-item {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Rajdhani', sans-serif;
    padding: 15px;
    border-radius: 15px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.mobile-nav-item i {
    color: var(--primary-blue);
    margin-right: 10px;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    transform: scale(1.05);
}

.mobile-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.3s;
}

.mobile-close-btn:hover {
    color: var(--primary-blue);
    transform: rotate(90deg);
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-pill-container {
        display: none !important;
        /* Hide desktop nav */
    }

    .mobile-nav-trigger {
        display: block;
        /* Show hamburger */
        position: fixed;
        top: 20px;
        right: 20px;
    }

    #navbar-container {
        justify-content: flex-end;
        /* Align trigger to right */
        pointer-events: none;
        /* Allow clicks pass through container area */
    }

    .mobile-nav-trigger {
        pointer-events: auto;
        /* Re-enable pointer for button */
    }
}

/* --- Glorium Premium Visual Additions --- */
/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}
::-webkit-scrollbar-track {
    background: #020205;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-blue), var(--accent-blue));
    border-radius: 10px;
    border: 3px solid #020205; /* padding illusion */
}
::-webkit-scrollbar-thumb:hover {
    background: #60a5fa;
}

/* Selection */
::selection {
    background: rgba(59, 130, 246, 0.5);
    color: #fff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

/* Enhanced Buttons */
.btn-primary {
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
    animation: glowingBlue 2.5s infinite alternate;
}

@keyframes glowingBlue {
    0% { box-shadow: 0 0 15px rgba(59, 130, 246, 0.4); }
    100% { box-shadow: 0 0 35px rgba(59, 130, 246, 0.9), 0 0 10px rgba(29, 78, 216, 0.5) inset; }
}

/* Hero Logo Glow */
.hero-logo {
    filter: drop-shadow(0 0 30px rgba(59, 130, 246, 0.7));
}

/* Subtle Dynamic Body Glow Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.08), transparent 60%);
    pointer-events: none;
    z-index: 9999;
}