:root {
    --primary-color: #9B5CFF;
    --secondary-color: #050510;
    --accent-color: #00E0FF;
    --text-color: #F5F5F9;
    --gradient-start: rgba(5, 5, 20, 0.95);
    --gradient-end: rgba(10, 0, 40, 0.9);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: var(--secondary-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}


.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 40px;
    width: 40px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 224, 255, 0.4));
}

.logo h1 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-links a:hover:after,
.nav-links a.active:after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    background: linear-gradient(var(--gradient-start), var(--gradient-end)), url('https://via.placeholder.com/1920x1080') center/cover;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.cta-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 224, 255, 0.3);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-color);
}

/* Features Section */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section-title i {
    font-size: 2rem;
    color: var(--primary-color);
}

.features {
    padding: 5rem 2rem;
    background-color: var(--secondary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: rgba(0, 224, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 224, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-card i {
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover i {
    transform: scale(1.2);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Server Info Section */
.server-info {
    padding: 3rem 2rem;
    background-color: rgba(0, 224, 255, 0.05);
}

.info-card {
    max-width: 800px;
    margin: 0 auto;
    background-color: rgba(0, 224, 255, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 2rem;
}

.info-card h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.info-card h2 i {
    font-size: 1.5rem;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.status-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.status-item.online i {
    color: #4CAF50;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Gallery Section */
.gallery {
    padding: 5rem 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    color: var(--primary-color);
    font-size: 2rem;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 4rem 2rem 2rem;
    border-top: 3px solid var(--primary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 224, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
    }
}

/* Mobile Navigation */
.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
    }
} 

/* /* Custom animated cursor removed */

/* Smooth navbar background blur */
.navbar {
    backdrop-filter: blur(14px);
    background: linear-gradient(90deg, rgba(5,5,20,0.9), rgba(20,0,60,0.95));
    box-shadow: 0 0 30px rgba(0,0,0,0.6);
}

/* Subtle float for hero content */
.hero-content {
    animation: floatHero 8s ease-in-out infinite;
}

@keyframes floatHero {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* Glow on feature cards */
.feature-card {
    box-shadow: 0 0 0 rgba(0, 224, 255, 0.0);
}

.feature-card:hover {
    box-shadow: 0 0 30px rgba(0, 224, 255, 0.35);
}

/* Slight parallax for hero background */
.hero {
    background-attachment: fixed;
}


/* Ultra-modern global styling */
body {
    background: radial-gradient(circle at top, #151531 0%, #050510 40%, #020208 100%);
    color: var(--text-color);
}

/* Hero pill label */
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(90deg, rgba(0, 224, 255, 0.2), rgba(155, 92, 255, 0.2));
    border: 1px solid rgba(0, 224, 255, 0.5);
    color: var(--text-color);
    margin-bottom: 1.2rem;
}

/* Hero title with gradient effect */
.hero-content h1 {
    font-size: clamp(2.6rem, 4vw, 3.8rem);
    line-height: 1.1;
    background: linear-gradient(120deg, #ffffff, #9B5CFF, #00E0FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* CTA buttons */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.cta-button {
    position: relative;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.04em;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    overflow: hidden;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.cta-button.primary {
    background: linear-gradient(135deg, #9B5CFF, #00E0FF);
    color: #050510;
    box-shadow: 0 0 25px rgba(0, 224, 255, 0.4);
}

.cta-button.secondary {
    background: rgba(5, 5, 20, 0.9);
    border-color: rgba(0, 224, 255, 0.5);
    color: var(--text-color);
}

.cta-button::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.28), transparent, rgba(255,255,255,0.18));
    opacity: 0;
    transform: translateX(-30%);
    transition: all 0.4s ease;
}

.cta-button:hover::before {
    opacity: 1;
    transform: translateX(30%);
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 18px 45px rgba(0,0,0,0.6);
}

/* Hero glow effect */
.hero-glow {
    position: absolute;
    inset: auto;
    bottom: -120px;
    left: 50%;
    width: 500px;
    height: 500px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0, 224, 255, 0.18), transparent 60%);
    filter: blur(10px);
    pointer-events: none;
}

/* Section title animation */
.section-title h2 {
    position: relative;
    display: inline-block;
    background: linear-gradient(120deg, #ffffff, #9B5CFF, #00E0FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 4s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 224, 255, 0.3); }
    50% { text-shadow: 0 0 25px rgba(155, 92, 255, 0.6); }
}

/* Cards/common containers subtle glassmorphism */
.feature-card,
.server-info,
.rules-container,
.faq-container,
.discord-container,
.imprint-container {
    backdrop-filter: blur(16px);
    background-color: rgba(5, 5, 20, 0.85);
    border-radius: 18px;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}


/* ULTRA-FLUID ANIMATIONS */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 224, 255, 0.15), transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(155, 92, 255, 0.2), transparent 60%);
    opacity: 0.7;
    mix-blend-mode: screen;
    animation: heroGlowMove 18s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}

@keyframes heroGlowMove {
    0% { transform: translate3d(-40px, -20px, 0) scale(1); }
    50% { transform: translate3d(20px, 40px, 0) scale(1.05); }
    100% { transform: translate3d(40px, -10px, 0) scale(1.02); }
}

/* Smooth global transitions */
a, button, .cta-button, .feature-card, .rule-section, .faq-item, .gallery-item, .nav-links a {
    transition: color 0.25s ease, background 0.25s ease, box-shadow 0.3s ease, transform 0.3s ease, border-color 0.25s ease, opacity 0.25s ease;
}

/* Hover lift */
.feature-card:hover,
.gallery-item:hover,
.rule-section:hover,
.faq-item:hover {
    transform: translateY(-6px);
}

/* Stat cards small pop */
.stat-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65);
}

/* Animated background gradient on body for subtle motion */
body {
    background-size: 200% 200%;
    animation: bodyGradient 35s ease infinite;
}

@keyframes bodyGradient {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* 3D tilt base styles */
.tilt-3d {
    transform-style: preserve-3d;
    will-change: transform;
}

/* Slight delay staggering in grids */
.features-grid .feature-card:nth-child(1) { transition-delay: 0.02s; }
.features-grid .feature-card:nth-child(2) { transition-delay: 0.04s; }
.features-grid .feature-card:nth-child(3) { transition-delay: 0.06s; }
.features-grid .feature-card:nth-child(4) { transition-delay: 0.08s; }

.gallery-grid .gallery-item:nth-child(1) { transition-delay: 0.02s; }
.gallery-grid .gallery-item:nth-child(2) { transition-delay: 0.04s; }
.gallery-grid .gallery-item:nth-child(3) { transition-delay: 0.06s; }
.gallery-grid .gallery-item:nth-child(4) { transition-delay: 0.08s; }


/* ULTIMATE POLISH LAYER */

/* Refined navbar look with active underline */
.navbar {
    border-bottom: 1px solid rgba(0, 224, 255, 0.12);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
}

.navbar.scrolled {
    background: radial-gradient(circle at top, rgba(5,5,20,0.98), rgba(2,2,8,0.98));
    border-bottom-color: rgba(0, 224, 255, 0.28);
}

.nav-links a {
    position: relative;
    padding-bottom: 0.3rem;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #9B5CFF, #00E0FF);
    border-radius: 999px;
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Scrollbar styling (desktop) */
@media (hover: hover) {
    ::-webkit-scrollbar {
        width: 8px;
    }
    ::-webkit-scrollbar-track {
        background: rgba(5, 5, 20, 0.95);
    }
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #9B5CFF, #00E0FF);
        border-radius: 999px;
    }
}

/* Hero mobile refinement */
@media (max-width: 768px) {
    .hero {
        background-position: center top;
        padding-top: 7rem;
    }

    .hero-content {
        text-align: center;
        align-items: center;
    }

    .cta-buttons {
        justify-content: center;
    }

    .stats-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

/* Gallery cards - stronger cinematic look */
.gallery-item {
    border-radius: 18px;
    overflow: hidden;
    background: radial-gradient(circle at top, rgba(0, 224, 255, 0.08), rgba(5, 5, 20, 0.98));
}

.gallery-item img {
    transform: scale(1.02);
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

/* Footer polish */
footer {
    background: radial-gradient(circle at top, #050510 0%, #020208 40%, #000000 100%);
    border-top: 1px solid rgba(0, 224, 255, 0.22);
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Back-to-top button */
.back-to-top {
    position: fixed;
    right: 1.8rem;
    bottom: 1.8rem;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(0, 224, 255, 0.6);
    background: radial-gradient(circle at top, rgba(0, 224, 255, 0.18), rgba(5,5,20,0.98));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top i {
    font-size: 1rem;
    color: var(--accent-color);
}

/* FAQ items subtle divider and padding */
.faq-item {
    border-bottom: 1px solid rgba(0, 224, 255, 0.15);
    padding-bottom: 0.75rem;
}

/* Rules container max-width for readability */
.rules-container,
.faq-container,
.discord-container,
.imprint-container {
    max-width: 1100px;
}
