:root {
    --primary-color: #050505;
    --accent-color: #ff007f;
    --accent-glow: rgba(255, 0, 127, 0.6);
    --secondary-color: #00d2ff;
    --gradient-text: linear-gradient(135deg, #ff007f 0%, #ff8c00 100%);
    --text-light: #f8f8f8;
    --primary-font: 'Montserrat', sans-serif;
    --logo-font: 'Cinzel', serif;
    --bg-dark: #020202;
    --btn-bg: rgba(255, 0, 127, 0.1);
    --btn-border: rgba(255, 0, 127, 0.4);
    --btn-hover: rgba(255, 0, 127, 0.25);
    --overlay-gradient: linear-gradient(to bottom, rgba(2, 2, 2, 0.1) 0%, rgba(20, 5, 15, 0.6) 80%, rgba(2, 2, 2, 1) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html, * {
    cursor: none !important;
}

#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 28px; /* Cursor size */
    height: 28px;
    background: url('../help.cur') no-repeat top left;
    background-size: contain;
    pointer-events: none;
    z-index: 9999999;
}

body {
    font-family: var(--primary-font);
    background-color: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Custom Text Selection */
::selection {
    background: var(--accent-color);
    color: #fff;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
    z-index: 999999;
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px var(--accent-color);
}

/* Floating Social Bar */
.floating-socials {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-btn {
    width: 45px;
    height: 45px;
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: rgba(255, 255, 255, 0.7);
    transition: fill 0.3s;
}

.social-btn:hover {
    transform: translateX(10px) scale(1.1);
}

.social-btn.discord:hover { border-color: #5865F2; box-shadow: 0 0 15px rgba(88, 101, 242, 0.4); }
.social-btn.discord:hover svg { fill: #5865F2; }

.social-btn.instagram:hover { border-color: #E1306C; box-shadow: 0 0 15px rgba(225, 48, 108, 0.4); }
.social-btn.instagram:hover svg { fill: #E1306C; }

.social-btn.tiktok:hover { border-color: #00f2fe; box-shadow: 0 0 15px rgba(0, 242, 254, 0.4); }
.social-btn.tiktok:hover svg { fill: #00f2fe; }

.social-btn.youtube:hover { border-color: #FF0000; box-shadow: 0 0 15px rgba(255, 0, 0, 0.4); }
.social-btn.youtube:hover svg { fill: #FF0000; }

/* Enter Screen */
.enter-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 1s ease, visibility 1s ease;
}

.enter-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.enter-title {
    font-family: var(--logo-font);
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: 5px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 30%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: enterPulse 2s infinite alternate;
}

.enter-subtitle {
    font-family: var(--primary-font);
    font-weight: 300;
    letter-spacing: 3px;
    opacity: 0.7;
    text-transform: uppercase;
    font-size: 0.9rem;
}

@keyframes enterPulse {
    0% { opacity: 0.7; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1.02); }
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease, visibility 1s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    z-index: 100;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 40px;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-small {
    font-family: var(--logo-font);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-item {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-item:hover {
    color: #fff;
}

.nav-item:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.bg-container {
    position: fixed; /* Fixed for parallax effect throughout site */
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-gradient);
    z-index: 1;
}

#bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.1);
    transition: transform 10s cubic-bezier(0.1, 0.5, 0.1, 1);
}

.ambient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: floatOrb 10s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 0, 127, 0.4);
    top: -10%;
    left: -10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(0, 210, 255, 0.3);
    bottom: -20%;
    right: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: rgba(255, 140, 0, 0.2);
    top: 40%;
    left: 40%;
    animation-duration: 15s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 50px) scale(1.2); }
}

.hero.loaded #bg-image {
    transform: scale(1);
}

.hero-content {
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Typography & Logo */
.title-container {
    margin-bottom: 30px;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

.main-title {
    font-family: var(--logo-font);
    font-size: clamp(3.5rem, 10vw, 8.5rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-right: -0.2em; /* Compensate for letter spacing on last letter */
    background: linear-gradient(135deg, #ffffff 30%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.2));
}

.subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 300;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 40px;
    opacity: 0.8;
}

/* Call to Action Button & IP */
.action-container {
    margin-bottom: 60px;
}

.play-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.action-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.play-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 22px 70px;
    background: var(--btn-bg);
    border: 1px solid var(--btn-border);
    border-radius: 4px;
    color: var(--text-light);
    font-family: var(--primary-font);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    outline: none;
}

.play-btn:hover {
    background: var(--btn-hover);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-glow);
    color: var(--accent-color);
}

.btn-glow {
    position: absolute;
    width: 60px;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    top: 0;
    left: -100px;
    transform: skewX(-25deg);
    filter: blur(10px);
    transition: all 0.7s ease;
}

.play-btn:hover .btn-glow {
    left: 120%;
    transition: all 0.7s ease;
}

.secondary-btn {
    background: rgba(10, 10, 10, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 210, 255, 0.4);
}

.server-info-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.server-status-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 8px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff88;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff88;
    animation: pulse 2s infinite;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 40px;
    background: var(--bg-dark);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.gallery-container {
    max-width: 1400px;
    margin: 0 auto;
}
.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 300px;
}
.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(255, 0, 127, 0.8), rgba(0, 0, 0, 0.2));
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.gallery-text {
    font-family: var(--logo-font);
    font-size: 1.8rem;
    color: #fff;
    letter-spacing: 2px;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-item:hover .gallery-text {
    transform: translateY(0);
}

/* Quick Stats Bar */
.quick-stats-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(5, 5, 10, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    gap: 80px;
    padding: 20px 0;
    z-index: 10;
}

.stat-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-icon {
    font-size: 1.4rem;
    text-shadow: 0 0 10px var(--accent-color);
}

/* Game Modes Section */
.modes-section {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

.status-text {
    font-size: 0.85rem;
    color: #fff;
    letter-spacing: 1px;
}

.player-count {
    font-size: 0.85rem;
    color: var(--secondary-color);
    font-weight: bold;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.server-ip-container {
    background: rgba(0, 0, 0, 0.4);
    padding: 12px 25px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.ip-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
}

.ip-address {
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--accent-color);
}

.copy-feedback {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #000;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.copy-feedback.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* Platforms */
.platforms {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.dot {
    font-size: 1.2rem;
    color: var(--accent-color);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.6;
    animation: bounce 2.5s infinite;
}

.scroll-indicator span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.arrow {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    position: relative;
}

.arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -4px;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--text-light);
    border-right: 2px solid var(--text-light);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-15px) translateX(-50%); }
    60% { transform: translateY(-7px) translateX(-50%); }
}

/* Game Modes */
.game-modes-wrapper {
    position: relative;
    height: 500vh; /* Determines how long the user scrolls to see all panels */
    background: transparent;
}

.sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    background: #000;
}

.modes-track {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    /* Width will be set by JS dynamically or we can use flex */
    width: max-content;
    will-change: transform;
}

.mode-panel {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10vw;
    overflow: hidden;
}

.panel-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    opacity: 0.5;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: scale(1.05);
}

/* Premium purple tint */
.panel-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(80, 0, 150, 0.4) 0%, rgba(10, 0, 30, 0.8) 100%);
    pointer-events: none;
}

.mode-panel:hover .panel-bg {
    opacity: 0.8;
    transform: scale(1);
}

/* Music Control Panel */
.music-player-modern {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(10, 10, 15, 0.85);
    border: 1px solid rgba(255, 0, 127, 0.3);
    border-radius: 16px;
    padding: 15px;
    display: flex;
    gap: 15px;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    width: 320px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 0, 127, 0.2);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.music-player-modern:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--accent-color);
}



.music-art {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #222, #000);
    padding: 3px;
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
    flex-shrink: 0;
}

.vinyl-record {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, #111 30%, #333 40%, #111 50%, #333 60%, #111 70%, #222 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: spinVinyl 4s linear infinite;
    animation-play-state: paused;
}

.music-player-modern.playing .vinyl-record {
    animation-play-state: running;
}

.vinyl-center {
    width: 18px;
    height: 18px;
    background: var(--accent-color);
    border-radius: 50%;
    border: 2px solid #000;
}

@keyframes spinVinyl {
    100% { transform: rotate(360deg); }
}

.music-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.music-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2px;
}

.now-playing-label {
    font-size: 0.65rem;
    color: var(--secondary-color);
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.music-icon {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.eq-bar {
    width: 2px;
    background: var(--accent-color);
    animation: eq 1s infinite alternate;
}

.eq-bar:nth-child(1) { height: 8px; animation-delay: 0.1s; }
.eq-bar:nth-child(2) { height: 12px; animation-delay: 0.3s; }
.eq-bar:nth-child(3) { height: 6px; animation-delay: 0.2s; }

.music-player-modern:not(.playing) .eq-bar {
    animation: none;
    height: 2px !important;
}

@keyframes eq {
    0% { height: 2px; }
    100% { height: 12px; }
}

.track-name-marquee {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    margin-bottom: 8px;
}

#current-track-name {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    animation: marquee 10s linear infinite;
    padding-left: 100%;
    color: #fff;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.music-controls-modern {
    display: flex;
    align-items: center;
    gap: 12px;
}

.music-controls-modern svg {
    width: 18px;
    height: 18px;
    fill: rgba(255, 255, 255, 0.7);
    transition: all 0.2s ease;
}

.music-controls-modern svg:not(.vol-icon):hover {
    fill: var(--accent-color);
    transform: scale(1.1);
}

.play-btn-modern {
    width: 28px;
    height: 28px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px var(--accent-glow);
}

.play-btn-modern svg {
    fill: #000;
    width: 14px;
    height: 14px;
}

.play-btn-modern:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--accent-color);
}

.music-player-modern.playing .play-icon { display: none; }
.music-player-modern:not(.playing) .pause-icon { display: none; }

.volume-wrapper-modern {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.vol-icon {
    width: 14px !important;
    height: 14px !important;
    fill: rgba(255,255,255,0.4) !important;
}

#volume-slider {
    width: 50px;
    -webkit-appearance: none;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
}

#volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--secondary-color);
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.8);
}

.mode-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.mode-number {
    font-size: 4rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    margin-bottom: -10px;
    display: block;
    font-family: var(--logo-font);
}

.mode-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.8);
}

.mode-desc {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Footer */
.footer {
    position: relative;
    z-index: 10;
    padding: 80px 40px;
    background-color: #020202;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.footer-logo {
    font-family: var(--logo-font);
    font-size: 2rem;
    letter-spacing: 5px;
    color: rgba(255, 255, 255, 0.2);
}

.footer-links {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #fff;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

.trailer-box {
    max-width: 800px;
    width: 90%;
    background: linear-gradient(135deg, rgba(20, 5, 15, 0.95), rgba(5, 5, 5, 0.98));
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 40px rgba(255, 0, 127, 0.2);
    padding: 20px;
    border-radius: 12px;
}

.video-container {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
}

/* Features Section */
.features-section {
    padding: 100px 40px;
    background: var(--bg-dark);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.features-container {
    max-width: 1400px;
    margin: 0 auto;
}
.features-header {
    text-align: center;
    margin-bottom: 60px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}
.feature-card {
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.4s ease, border-color 0.4s ease;
}
.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(255, 0, 127, 0.1);
}
.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
}
.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}
.feature-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Discord CTA */
.discord-cta {
    padding: 120px 40px;
    background: linear-gradient(135deg, rgba(20, 5, 15, 0.8) 0%, rgba(5, 5, 20, 0.8) 100%);
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.cta-content {
    max-width: 800px;
    margin: 0 auto;
}
.cta-title {
    font-family: var(--logo-font);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--secondary-color);
    margin-bottom: 20px;
}
.cta-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
    line-height: 1.8;
}
.discord-btn {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}
.discord-btn:hover {
    background: rgba(0, 210, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.3);
}

/* Scroll To Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid var(--accent-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: none !important;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s ease;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.3);
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top:hover {
    background: var(--accent-color);
}
.scroll-to-top svg {
    width: 24px;
    height: 24px;
    fill: #fff;
}

/* Initial Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.1, 0.5, 0.1, 1), transform 1.2s cubic-bezier(0.1, 0.5, 0.1, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Heart Animation */
.heart {
    display: inline-block;
    color: var(--secondary-color);
    animation: heartBeat 1.5s infinite;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    15% { transform: scale(1.3); }
    30% { transform: scale(1); }
    45% { transform: scale(1.15); }
    60% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-mobile-btn {
        display: block;
        cursor: pointer;
    }
    
    .bar {
        width: 30px;
        height: 2px;
        background-color: #fff;
        margin: 6px 0;
    }
    
    .play-btn {
        padding: 15px 40px;
        font-size: 1rem;
    }
}

/* Live Server Status Widget */
.server-status {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.status-pulse {
    width: 12px;
    height: 12px;
    background-color: #00ffcc;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffcc;
    position: relative;
}

.status-pulse::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid #00ffcc;
    animation: pulseRing 1.5s linear infinite;
    opacity: 0;
}

@keyframes pulseRing {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(2); opacity: 0; }
}

.status-text {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
}

.player-count {
    color: var(--accent-color);
    font-weight: 700;
    margin-left: 5px;
}

/* News Section */
.news-section {
    position: relative;
    z-index: 5;
    padding: 120px 40px;
    background-color: #050505;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.news-container {
    max-width: 1200px;
    margin: 0 auto;
}

.news-header {
    text-align: center;
    margin-bottom: 60px;
}

.news-header .section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: var(--logo-font);
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.news-header .section-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.news-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.news-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.news-date {
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 1px;
}

.news-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.news-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Parallax Dividers */
.parallax-divider {
    position: relative;
    height: 50vh;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-title {
    font-family: var(--logo-font);
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--text-light);
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 2;
}

.logo {
    font-family: var(--logo-font);
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    transition: transform 0.3s;
}

.logo:hover {
    transform: scale(1.05);
}

/* Staff Section */
.staff-section {
    padding: 120px 40px;
    background: #020202;
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.staff-container {
    max-width: 1200px;
    margin: 0 auto;
}

.staff-header {
    text-align: center;
    margin-bottom: 60px;
}

.staff-header .section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: var(--logo-font);
    text-transform: uppercase;
    margin-bottom: 20px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.staff-header .section-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-items: center;
}

.staff-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    width: 100%;
    max-width: 350px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.staff-card::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(0,255,204,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.staff-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 204, 0.3);
    box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 20px rgba(0,255,204,0.2);
}

.staff-card:hover::before {
    opacity: 1;
}

.staff-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,0.1);
    transition: transform 0.5s ease;
    background: #000;
}

.staff-card:hover .staff-avatar {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent-color);
}

.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: pixelated; /* Perfect for minecraft skins */
}

.staff-name {
    font-size: 1.8rem;
    font-family: var(--logo-font);
    margin-bottom: 5px;
    color: #fff;
}

.staff-role {
    font-size: 0.9rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 700;
}

.staff-social {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    padding: 8px 15px;
    border-radius: 20px;
    background: rgba(0,0,0,0.3);
}

.staff-social:hover {
    color: #E1306C; /* Instagram Color */
}

.staff-social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* FAQ Section */
.faq-section {
    padding: 120px 40px;
    background: #050505;
    position: relative;
    z-index: 5;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header .section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-family: var(--logo-font);
    background: linear-gradient(135deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.faq-header .section-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.faq-search-box {
    margin-bottom: 40px;
    position: relative;
}

.faq-search-box input {
    width: 100%;
    padding: 20px 25px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #fff;
    font-family: var(--primary-font);
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.3s;
}

.faq-search-box input:focus {
    border-color: var(--accent-color);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    background: rgba(255,255,255,0.05);
    border-color: rgba(0, 255, 204, 0.3);
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    user-select: none;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px 25px;
    max-height: 500px;
}

/* Custom Modal GUI */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid rgba(0, 255, 204, 0.3);
    border-radius: 20px;
    padding: 50px 40px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.1, 0.5, 0.1, 1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(0,255,204,0.1);
}

.modal-overlay.active .modal-box {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
    outline: none;
}

.modal-close:hover {
    color: var(--accent-color);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1;
    text-shadow: 0 0 20px var(--accent-glow);
}

.modal-title {
    font-family: var(--logo-font);
    font-size: 2rem;
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.modal-text {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 30px;
}

.discord-btn {
    width: 100%;
    padding: 18px 0;
    background: #5865F2; /* Discord color */
    border-color: #5865F2;
}

.discord-btn:hover {
    background: #4752C4;
    border-color: #4752C4;
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.5), 0 0 20px rgba(88, 101, 242, 0.4);
    color: #fff;
}
