:root {
    --nexus-red: #d13639;
    --nexus-red-glow: rgba(209, 54, 57, 0.5);
    --rust-orange: #ce422b;
    --bg-dark: #0f1014;
    --bg-card: rgba(20, 22, 28, 0.7);
    --text-main: #f0f0f0;
    --text-muted: #a0a5b5;
    --glass-border: rgba(255, 255, 255, 0.05);
}

/* =========================================
   PRELOADER (PANTALLA DE CARGA)
   ========================================= */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.preloader-logo {
    font-family: 'Teko', sans-serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    animation: pulse 1.5s infinite alternate;
}

.preloader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--nexus-red);
    animation: spin 1s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.7;
        transform: scale(0.98);
    }

    100% {
        opacity: 1;
        transform: scale(1.02);
        text-shadow: 0 0 15px var(--nexus-red);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =========================================
   ANIMACIONES DE SCROLL (FADE IN UP)
   ========================================= */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.fade-in-up.appear {
    opacity: 1;
    transform: translateY(0);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Effects */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at 50% 0%, rgba(209, 54, 57, 0.15) 0%, rgba(15, 16, 20, 1) 60%);
    z-index: -2;
    pointer-events: none;
}

.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -3;
    /* Behin overlay */
    overflow: hidden;
    pointer-events: none;
    background-color: var(--bg-dark);
}

.video-background video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    object-fit: cover;
    opacity: 0.6;
}

/* Typography */
h1,
h2,
h3 {
    font-family: 'Teko', sans-serif;
    text-transform: uppercase;
}

.nexus {
    color: var(--text-main);
    font-weight: 700;
}

.rust {
    color: var(--nexus-red);
    font-weight: 700;
    text-shadow: 0 0 10px var(--nexus-red-glow);
}

.highlight {
    color: var(--nexus-red);
    text-shadow: 0 0 15px var(--nexus-red-glow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(15, 16, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-family: 'Teko', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--nexus-red);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--nexus-red-glow);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: white;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-toggle {
    display: none;
    color: var(--text-main);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    margin-left: 10px;
}

.menu-toggle:hover {
    color: var(--nexus-red);
}

/* STEAM LOGIN BUTTON */
.steam-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #171a21, #0d0f12);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.steam-btn:hover {
    background: linear-gradient(135deg, #1b2029, #12151a);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.steam-btn i {
    font-size: 1.2rem;
}

/* User Profile Info */
.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px 5px 5px;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--nexus-red);
    box-shadow: 0 0 10px var(--nexus-red-glow);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.username {
    font-weight: 600;
    font-size: 0.9rem;
}

.logout-btn {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.logout-btn:hover {
    color: var(--nexus-red);
}


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    background-image: linear-gradient(to bottom, rgba(15, 16, 20, 0.2), rgba(15, 16, 20, 1));
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Teko', sans-serif;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--nexus-red);
    color: white;
    border: 2px solid var(--nexus-red);
    box-shadow: 0 0 20px var(--nexus-red-glow);
}

.btn-primary:hover {
    background: transparent;
    border-color: var(--nexus-red);
    box-shadow: 0 0 30px var(--nexus-red-glow) inset, 0 0 20px var(--nexus-red-glow);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-3px);
}

.disabled-hero {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    border-color: transparent !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.status-indicator.online {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #4CAF50;
    box-shadow: 0 0 10px #4CAF50;
    animation: pulse-online 2s infinite;
}

/* --- Wipe Timer --- */
.wipe-timer-container {
    margin-bottom: 2rem;
    text-align: center;
}

.wipe-label {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.countdown {
    display: inline-flex;
    gap: 15px;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.time-box span {
    font-family: 'Teko', sans-serif;
    font-size: 2.5rem;
    line-height: 1;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.time-box small {
    font-size: 0.75rem;
    color: var(--nexus-red);
    text-transform: uppercase;
    font-weight: 600;
}

/* Features Section */
.features {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--nexus-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(209, 54, 57, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(209, 54, 57, 0.1);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--nexus-red);
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px var(--nexus-red-glow);
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--text-muted);
}

/* --- Community Section --- */
.community-hub {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: url('https://files.facepunch.com/rust/item/wall.external.high.stone_512.png') no-repeat center center;
    background-size: cover;
    background-blend-mode: overlay;
    background-color: rgba(15, 16, 20, 0.9);
    border-radius: 10px;
    margin-bottom: 6rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.map-container,
.discord-widget-container {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.map-container h3,
.discord-widget-container h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-main);
}

.map-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.live-map-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    filter: brightness(0.8) sepia(0.2) hue-rotate(-10deg);
    transition: filter 0.3s;
}

.map-wrapper:hover .live-map-img {
    filter: brightness(1) sepia(0) hue-rotate(0);
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.map-info {
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Store Section --- */
.store {
    padding: 100px 5%;
    background-color: var(--nexus-bg);
}

.store-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: center;
    /* Center to allow middle card to be taller */
}

.store-card {
    background: rgba(15, 16, 20, 0.7);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.store-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.store-card.popular {
    transform: scale(1.05);
    border-color: rgba(209, 54, 57, 0.3);
    box-shadow: 0 0 20px rgba(209, 54, 57, 0.1);
    z-index: 2;
}

.store-card.popular:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 15px 30px rgba(209, 54, 57, 0.2);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -35px;
    background-color: var(--nexus-red);
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 800;
    padding: 5px 40px;
    transform: rotate(45deg);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.store-card-header {
    padding: 30px 20px;
    text-align: center;
}

.store-card-header.vip {
    background: linear-gradient(135deg, #1f222e 0%, #2a2e3d 100%);
    border-top: 4px solid #4ade80;
}

.store-card-header.mvp {
    background: linear-gradient(135deg, #2a1b24 0%, #3d2331 100%);
    border-top: 4px solid var(--nexus-red);
}

.store-card-header.elite {
    background: linear-gradient(135deg, #182236 0%, #22314d 100%);
    border-top: 4px solid #3b82f6;
}

.store-card-header h3 {
    font-family: 'Teko', sans-serif;
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
    color: var(--text-light);
}

.store-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.store-card .price span {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-gray);
    margin-left: 5px;
}

.store-card-body {
    padding: 30px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.perk-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    flex-grow: 1;
}

.perk-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.perk-list li:last-child {
    border-bottom: none;
}

.perk-list li i {
    color: var(--nexus-red);
    font-size: 0.9rem;
}

.store-card:nth-child(1) .perk-list li i {
    color: #4ade80;
}

/* Green for VIP */
.store-card:nth-child(3) .perk-list li i {
    color: #3b82f6;
}

/* Blue for ELITE */

.btn-store {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-store:hover:not(.disabled-store) {
    filter: brightness(1.2);
    transform: translateY(-2px);
}

.disabled-store {
    opacity: 0.5;
    cursor: not-allowed;
}

/* --- Leaderboard Section --- */
.leaderboard {
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.leaderboard-container {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    overflow-x: auto;
}

.rank-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.rank-table th {
    padding: 15px;
    border-bottom: 2px solid var(--nexus-red);
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.rank-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    vertical-align: middle;
}

.rank-row {
    transition: background 0.3s;
}

.rank-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.player-name {
    font-weight: 600;
    font-size: 1.1rem;
    text-align: left;
}

.rank-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 800;
    font-family: 'Teko', sans-serif;
    font-size: 1.2rem;
}

/* Top 3 Stylings */
.rank-1 .rank-badge {
    background: linear-gradient(135deg, #FFD700, #B8860B);
    color: #000;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.rank-2 .rank-badge {
    background: linear-gradient(135deg, #C0C0C0, #808080);
    color: #000;
    box-shadow: 0 0 15px rgba(192, 192, 192, 0.4);
}

.rank-3 .rank-badge {
    background: linear-gradient(135deg, #CD7F32, #8B4513);
    color: #fff;
    box-shadow: 0 0 15px rgba(205, 127, 50, 0.4);
}

.ranking-error {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.ranking-error i {
    font-size: 3rem;
    color: var(--nexus-red);
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* --- Leaderboard Tabs --- */
.leaderboard-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.lb-tab {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lb-tab:hover {
    background: rgba(209, 54, 57, 0.15);
    border-color: var(--nexus-red);
    color: var(--text-main);
}

.lb-tab.active {
    background: linear-gradient(135deg, var(--nexus-red), #a02020);
    border-color: var(--nexus-red);
    color: #fff;
    box-shadow: 0 0 20px rgba(209, 54, 57, 0.3);
}

.lb-tab i {
    font-size: 1rem;
}

/* Leaderboard Top 3 Podium */
.lb-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.lb-podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    min-width: 120px;
}

.lb-podium-item:hover {
    transform: translateY(-5px);
}

.lb-podium-item.gold {
    order: 2;
    background: linear-gradient(180deg, rgba(255, 215, 0, 0.1), transparent);
    border-color: rgba(255, 215, 0, 0.3);
    padding-bottom: 2rem;
}

.lb-podium-item.silver {
    order: 1;
    background: linear-gradient(180deg, rgba(192, 192, 192, 0.08), transparent);
    border-color: rgba(192, 192, 192, 0.2);
}

.lb-podium-item.bronze {
    order: 3;
    background: linear-gradient(180deg, rgba(205, 127, 50, 0.08), transparent);
    border-color: rgba(205, 127, 50, 0.2);
}

.lb-podium-medal {
    font-size: 2rem;
}

.lb-podium-item.gold .lb-podium-medal {
    font-size: 2.5rem;
}

.lb-podium-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-main);
}

.lb-podium-value {
    font-family: 'Teko', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--nexus-red);
}

.lb-podium-item.gold .lb-podium-value {
    font-size: 1.8rem;
}

.lb-podium-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Leaderboard Footer */
.leaderboard-footer {
    text-align: center;
    padding: 1rem 0 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 1rem;
}

/* Leaderboard Responsive */
@media (max-width: 600px) {
    .lb-tab span {
        display: none;
    }
    .lb-tab {
        padding: 0.7rem 1rem;
    }
    .lb-podium {
        gap: 0.5rem;
    }
    .lb-podium-item {
        min-width: 90px;
        padding: 0.7rem;
    }
    .lb-podium-name {
        font-size: 0.85rem;
    }
    .rank-table td, .rank-table th {
        padding: 10px 8px;
        font-size: 0.85rem;
    }
}

/* --- Streamers Section --- */
.streamers {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.streamers-container {
    /* Mantenemos el contenedor pero Swiper controla el layout */
    padding: 20px 0;
}

/* Puntos de navegación (Pagination) del Swiper */
.streamersSwiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: all 0.3s ease;
}

.streamersSwiper .swiper-pagination-bullet-active {
    background: var(--nexus-red);
    box-shadow: 0 0 10px var(--nexus-red-glow);
    width: 25px;
    border-radius: 10px;
}

.streamer-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.streamer-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

.streamer-status {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.streamer-status.live {
    background-color: var(--nexus-red);
    color: white;
    box-shadow: 0 0 10px var(--nexus-red-glow);
    animation: pulse-live 2s infinite;
}

.streamer-status.offline {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

@keyframes pulse-live {
    0% {
        box-shadow: 0 0 0 0 var(--nexus-red-glow);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(209, 54, 57, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(209, 54, 57, 0);
    }
}

.streamer-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s;
}

.streamer-card:hover .streamer-avatar {
    border-color: var(--nexus-red);
}

.streamer-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.streamer-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.btn-twitch,
.btn-youtube {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-twitch {
    background-color: rgba(145, 70, 255, 0.1);
    color: #9146FF;
    border: 1px solid rgba(145, 70, 255, 0.3);
}

.btn-twitch:hover {
    background-color: #9146FF;
    color: white;
    box-shadow: 0 5px 15px rgba(145, 70, 255, 0.4);
}

.btn-youtube {
    background-color: rgba(255, 0, 0, 0.1);
    color: #FF0000;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.btn-youtube:hover {
    background-color: #FF0000;
    color: white;
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.4);
}

.btn-kick {
    background-color: rgba(83, 252, 24, 0.1);
    color: #53FC18;
    border: 1px solid rgba(83, 252, 24, 0.3);
}

.btn-kick:hover {
    background-color: #53FC18;
    color: var(--bg-dark);
    /* Texto oscuro para contrastar con el verde neón */
    box-shadow: 0 5px 15px rgba(83, 252, 24, 0.4);
}

/* --- Staff Section --- */
.staff-section {
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    justify-content: center;
}

.staff-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.staff-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.staff-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s ease;
}

.staff-card:hover .staff-avatar {
    transform: scale(1.1) rotate(5deg);
}

.staff-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.staff-role {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.staff-role.owner {
    background: rgba(209, 54, 57, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(209, 54, 57, 0.5);
}

.staff-role.mod {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.5);
}

/* Rules Section */
.rules {
    padding: 6rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    background: url('https://files.facepunch.com/rust/item/blueprintbase_512.png') no-repeat center center;
    background-size: contain;
    background-blend-mode: overlay;
}

.rules-container {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 10px;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.rules-list {
    display: none;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 1.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.rule-title .nexus {
    font-family: 'Teko', sans-serif;
    font-size: 1.8rem;
    color: var(--nexus-red);
    margin-right: 15px;
    vertical-align: middle;
}

.accordion-icon {
    transition: transform 0.3s ease;
    color: var(--nexus-red);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(15, 16, 20, 0.5);
}

.accordion-content p {
    padding: 0 20px 20px 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(10, 11, 14, 0.9);
}

.footer-logo {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.disclaimer {
    color: #666;
    font-size: 0.8rem;
    margin-top: 10px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-online {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Responsive */
@media (max-width: 850px) {
    .video-background {
        display: none !important;
    }

    .hero {
        background-image: linear-gradient(to bottom, rgba(15, 16, 20, 0.4), rgba(15, 16, 20, 1)), url('https://files.facepunch.com/rust/item/wall.external.high.stone_512.png');
        background-size: cover;
        background-position: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(15, 16, 20, 0.98);
        flex-direction: column;
        padding: 1.5rem 0;
        text-align: center;
        border-bottom: 2px solid var(--nexus-red);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 1rem 0;
        font-size: 1.2rem;
    }

    .menu-toggle {
        display: block;
    }

    .steam-text {
        display: none;
    }

    .steam-btn {
        padding: 0.5rem 0.8rem;
    }

    .user-info {
        display: none;
        /* Hide username on mobile to save space */
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-actions {
        flex-direction: column;
    }
}