:root {
    --bg-dark: #07070b;
    --bg-card: #12121a;
    --primary: #2fb7ff; 
    --primary-glow: rgba(0, 242, 255, 0.4);
    --secondary: #ffffff;
    --text-muted: #a0a0b0;
    --gradient-overlay: linear-gradient(180deg, rgba(7,7,11,0.8) 0%, rgba(7,7,11,1) 100%);
    --font-main: 'Outfit', sans-serif;
    --danger: #ff4d4d;
    --success: #19d66b;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--secondary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.fineprint {
    margin-top: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.fineprint code {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 2px 6px;
    border-radius: 8px;
}

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


.text-accent {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 15px var(--primary-glow);
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary);
    box-shadow: 0 0 25px var(--primary-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--secondary);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}


.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    background: rgba(7, 7, 11, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
    opacity: 0.8;
}

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

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

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

.nav-btn {
    padding: 10px 24px;
    background: var(--primary);
    color: #000;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px var(--primary-glow);
}

.nav-btn:hover {
    background: transparent;
    color: var(--primary);
    box-shadow: 0 0 25px var(--primary-glow);
    transform: translateY(-2px);
}

.hamburger {
    position: absolute;
    right: 20px;
    display: none;
    cursor: pointer;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary);
    margin: 5px auto;
    transition: all 0.3s ease;
}


.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('cold.png') no-repeat center center/cover;
    margin-bottom: 50px;
}


.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 242, 255, 0.1) 0%, rgba(7, 7, 11, 0) 50%), var(--bg-dark);
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 50% 35%, rgba(47, 183, 255, 0.22) 0%, rgba(7,7,11,0) 55%),
        linear-gradient(0deg, var(--bg-dark) 18%, rgba(7, 7, 11, 0.55) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero h1 {
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 10px;
    position: relative;
    color: #fff;
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 30px;
}


.server-status-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}

.server-status-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--text-muted);
    box-shadow: 0 0 10px rgba(160,160,176,0.35);
    animation: pulse 2s infinite;
}

.status-indicator.online {
    background-color: var(--success);
    box-shadow: 0 0 10px rgba(25, 214, 107, 0.8);
}

.status-indicator.offline {
    background-color: var(--danger);
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.75);
    animation: none;
}

.server-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    width: min(740px, 100%);
    margin-bottom: 10px;
}

.pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--secondary);
    border-radius: 16px;
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
    display: grid;
    grid-template-columns: 22px 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.45);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.pill i {
    grid-row: 1 / span 2;
    align-self: center;
    color: var(--primary);
    font-size: 1.05rem;
}

.pill:hover {
    transform: translateY(-2px);
    border-color: rgba(47, 183, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
}

.pill-sub {
    grid-column: 2;
    font-size: 0.9rem;
    color: var(--text-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pill-secondary i {
    color: #fff;
}


.about {
    padding: 100px 0 30px;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: stretch;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 34px 28px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}

.about-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--text-muted);
    font-size: 1.02rem;
}

.about-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(47, 183, 255, 0.08);
    border: 1px solid rgba(47, 183, 255, 0.18);
    color: rgba(255,255,255,0.92);
    font-weight: 600;
    font-size: 0.9rem;
}

.badge i {
    color: var(--primary);
}

.quick-links {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.quick-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    text-decoration: none;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.quick-link i {
    color: var(--primary);
}

.quick-link:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,0.06);
    border-color: rgba(47, 183, 255, 0.25);
}


.shop {
    padding: 90px 0 60px;
    position: relative;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.shop-card {
    background: linear-gradient(140deg, rgba(47, 183, 255, 0.06) 0%, rgba(18, 18, 26, 0.95) 50%, rgba(47, 183, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    position: relative;
    overflow: hidden;
    min-height: 260px;
}

.shop-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 25% 20%, rgba(47, 183, 255, 0.18) 0%, rgba(7,7,11,0) 55%);
    pointer-events: none;
}

.shop-card.featured {
    border-color: rgba(47, 183, 255, 0.28);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

.shop-card-top h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.shop-card-top p {
    color: var(--text-muted);
    line-height: 1.55;
}

.shop-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(47, 183, 255, 0.16);
    border: 1px solid rgba(47, 183, 255, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
    font-size: 1.3rem;
    box-shadow: 0 10px 25px rgba(47, 183, 255, 0.15);
}

.shop-card:hover {
    transform: translateY(-6px);
    border-color: rgba(47, 183, 255, 0.32);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
}

.status-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.status-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.player-count {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
}


.features {
    padding: 100px 0;
    position: relative;
}

section {
    scroll-margin-top: 110px;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-title .line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 10px var(--primary);
}

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

.feature-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 242, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 0%, rgba(0, 242, 255, 0.03) 100%);
    pointer-events: none;
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(0, 242, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 1.8rem;
    transition: all 0.3s;
}

.feature-card:hover .icon-box {
    background: var(--primary);
    color: #000;
    box-shadow: 0 0 20px var(--primary-glow);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}


.shop-banner {
    background: linear-gradient(90deg, #12121a 0%, rgba(47, 183, 255, 0.06) 100%);
    padding: 60px 0;
    margin: 70px 0 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 22px;
}

.shop-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 0 30px;
}

.shop-text h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.shop-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Team Section */
.team {
    padding: 100px 0;
    background: rgba(7, 7, 11, 0.4);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(0, 242, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.team-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 242, 255, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.team-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(0, 242, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
    transition: all 0.3s ease;
}

.team-card:hover .team-avatar {
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
    transform: scale(1.05);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--secondary);
}

.team-role {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

footer {
    padding: 50px 0;
    background: #050508;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.footer-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0;
}

.footer-logo h2 {
    margin: 0;
    font-size: 1.5rem;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.95rem;
    white-space: nowrap;
}

.footer-sign {
    margin: 0;
    color: rgba(255,255,255,0.72);
    font-size: 0.9rem;
}

.footer-sign strong {
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
    font-weight: 900;
}



#preloader {
    position: fixed;
    inset: 0;
    background: #050508;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 3000;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
    animation: bounce 0.9s infinite ease-in-out;
}

.loader-dot:nth-child(2) { animation-delay: 0.15s; }
.loader-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes bounce {
    0%, 80%, 100% { transform: scale(0); opacity: 0.4; }
    40% { transform: scale(1); opacity: 1; }
}


#snow-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 78%, rgba(0,0,0,0) 92%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 78%, rgba(0,0,0,0) 92%, rgba(0,0,0,0) 100%);
}

.footer-logo h2 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-socials a:hover {
    background: var(--primary);
    color: #000;
    transform: translateY(-3px);
}


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


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

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: #07070b;
        width: 100%;
        height: 100%;
        justify-content: center;
        transition: 0.3s;
        z-index: 1000;
    }
    
    .nav-links.active {
        left: 0;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
    
    .server-quick-actions {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .shop-grid {
        grid-template-columns: 1fr;
    }

    .shop-content {
        flex-direction: column;
        text-align: center;
        padding: 0 18px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
