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

:root {
    --bg: #060d1f;
    --fg: #e4e6eb;
    --card: #0c1628;
    --primary: #1d4ed8;
    --accent: #1d4ed8;
    --muted-fg: #929FB2;
    --border: #1e2d4a;
    --font-sans: 'Rajdhani', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    --grid-max: 1200px;
    --grid-px: 24px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--fg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

@media (min-width: 1024px) {
    html {
        scrollbar-width: thin;
        scrollbar-color: rgba(79, 133, 203, 0.3) transparent;
    }

    @supports (overflow: overlay) {
        html {
            overflow-y: overlay;
        }
    }

    html::-webkit-scrollbar {
        width: 6px;
        background: transparent;
    }

    html::-webkit-scrollbar-track {
        background: transparent;
    }

    html::-webkit-scrollbar-thumb {
        background: rgba(79, 133, 203, 0.25);
        border-radius: 3px;
    }

    html::-webkit-scrollbar-thumb:hover {
        background: rgba(79, 133, 203, 0.5);
    }
}

::selection {
    background-color: rgba(74, 122, 181, 0.3);
    color: #e4e6eb;
}

.grid-container {
    width: 100%;
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
}

.hero-fullscreen {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    padding-top: 64px;
    padding-bottom: 60px;
}

@media (max-height: 700px) {
    .hero-fullscreen {
        min-height: auto;
        height: auto;
        padding-top: 80px;
        padding-bottom: 80px;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: blur(1px);
}

/* На мобильных: картинка больше экрана, выравнивание по верху */
@media (max-width: 768px) {
    .hero-bg img {
        width: 100%;
        height: 140%;
        min-height: 140%;
        object-fit: cover;
        object-position: center top;
    }
}

@media (max-width: 480px) {
    .hero-bg img {
        height: 160%;
        min-height: 160%;
    }
}

@media (max-width: 380px) {
    .hero-bg img {
        height: 180%;
        min-height: 180%;
    }
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(4, 7, 16, 0.6);
}

.hero-gradient-bottom {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 40%;
    background: linear-gradient(to bottom, transparent 0%, var(--bg) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 0 16px;
    margin-top: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .hero-content {
        gap: 12px;
        padding: 0 12px;
    }
}

.hero-content h1 {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 2px 40px rgba(0,0,0,0.5);
    margin-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

@media (min-width: 400px) {
    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (min-width: 640px) {
    .hero-content h1 {
        font-size: 48px;
    }
}

@media (min-width: 768px) {
    .hero-content h1 {
        font-size: 64px;
    }
}

.hero-content h1 .primary {
    color: var(--primary);
}

.hero-content p {
    max-width: 520px;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.8);
    text-shadow: 0 1px 10px rgba(0,0,0,0.5);
    padding: 0 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (min-width: 640px) {
    .hero-content p {
        font-size: 18px;
        padding: 0 10px;
    }
}

.hero-timer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 8px 0 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 640px) {
    .hero-timer-section {
        gap: 10px;
        margin: 10px 0 20px;
    }
}

.hero-timer-heading {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: rgba(255,255,255,0.8);
    text-shadow: 0 1px 10px rgba(0,0,0,0.5);
    text-transform: none;
    letter-spacing: normal;
}

@media (min-width: 640px) {
    .hero-timer-heading {
        font-size: 22px;
    }
}

.hero-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

@media (min-width: 640px) {
    .hero-timer {
        gap: 12px;
    }
}

.hero-timer .flip-digit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.hero-timer .digit-box {
    position: relative;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: transform 0.3s;
}

@media (min-width: 640px) {
    .hero-timer .digit-box {
        width: 64px;
        height: 64px;
    }
}

@media (min-width: 768px) {
    .hero-timer .digit-box {
        width: 80px;
        height: 80px;
    }
}

.hero-timer .digit-box .split {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: rgba(255,255,255,0.08);
}

.hero-timer .digit-value {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 20px;
    color: #fff;
    font-variant-numeric: tabular-nums;
    transition: all 0.3s;
}

@media (min-width: 640px) {
    .hero-timer .digit-value {
        font-size: 30px;
    }
}

@media (min-width: 768px) {
    .hero-timer .digit-value {
        font-size: 40px;
    }
}

.hero-timer .digit-label {
    font-family: var(--font-mono);
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.5);
}

@media (min-width: 640px) {
    .hero-timer .digit-label {
        font-size: 11px;
    }
}

.hero-timer .timer-sep {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.hero-timer .timer-sep .dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    animation: pulse-dot 2s ease-in-out infinite;
}

@media (min-width: 640px) {
    .hero-timer .timer-sep .dot {
        width: 5px;
        height: 5px;
    }
}

.hero-timer .timer-sep .dot:nth-child(2) {
    animation-delay: 0.5s;
}

.hero-timer .timer-note {
    font-size: 11px;
    color: rgba(255,255,255,0.35);
}

.scroll-more {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    animation: scrollBounce 2s ease-in-out infinite;
    transition: opacity 0.3s;
}

.scroll-more:hover {
    opacity: 0.7;
}

.scroll-more-text {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}

.scroll-more-arrow {
    width: 24px;
    height: 24px;
    color: rgba(255,255,255,0.5);
}

@media (max-height: 640px) {
    .scroll-more {
        bottom: 20px;
    }
}

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

@keyframes pulse-dot {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.2s ease-out;
    width: 100%;
}

.header.scrolled {
    border-bottom: 1px solid rgba(30, 45, 69, 0.3);
    background: rgba(15, 23, 41, 0.2);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(24px);
}

.header-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 var(--grid-px);
}

@media (min-width: 1024px) {
    .header-inner {
        max-width: none;
        padding-left: 5vw;
        padding-right: 5vw;
    }
}

.logo-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
    text-decoration: none;
}

.logo-btn:hover {
    opacity: 0.8;
}

.logo-btn img {
    height: 32px;
    width: 32px;
    object-fit: contain;
}

.logo-text {
    font-family: 'Unbounded', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
}

.logo-text .primary {
    color: var(--primary);
}

.desktop-nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    align-items: center;
    gap: 4px;
}

@media (min-width: 1024px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    position: relative;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-sans);
    transition: color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: rgba(30, 45, 69, 0.5);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::before {
    transform: scaleX(1);
}

.forum-popup {
    position: absolute;
    left: 50%;
    top: 100%;
    margin-top: 12px;
    transform: translateX(-50%) translateY(-8px);
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s;
}

.forum-popup.open {
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
    opacity: 1;
}

.forum-popup-inner {
    width: 256px;
    padding: 20px;
    text-align: center;
    border-radius: 12px;
    border: 1px solid rgba(30, 45, 69, 0.4);
    background: rgba(20, 30, 51, 0.8);
    backdrop-filter: blur(24px);
    position: relative;
}

.popup-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(107, 122, 144, 0.6);
    transition: all 0.2s;
}

.popup-close:hover {
    background: rgba(30, 45, 69, 0.5);
    color: var(--fg);
}

.forum-label {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 8px;
}

.forum-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted-fg);
}

.hamburger {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.hamburger:hover {
    background: rgba(30, 45, 69, 0.5);
}

.hamburger span {
    display: block;
    width: 20px;
    height: 1px;
    border-radius: 1px;
    background: #fff;
    transition: all 0.3s;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-3.5px) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(15, 23, 41, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.menu-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.side-menu {
    position: fixed;
    right: 0;
    top: 0;
    z-index: 50;
    height: 100%;
    width: 288px;
    border-left: 1px solid rgba(30, 45, 69, 0.3);
    background: rgba(20, 30, 51, 0.9);
    backdrop-filter: blur(24px);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.side-menu.open {
    transform: translateX(0);
}

.side-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(30, 45, 69, 0.2);
    padding: 20px 24px;
}

.side-menu-label {
    font-family: var(--font-mono);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
}

.close-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--muted-fg);
    transition: all 0.2s;
}

.close-btn:hover {
    background: rgba(30, 45, 69, 0.5);
    color: var(--fg);
}

.side-menu nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
}

.menu-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--muted-fg);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    text-decoration: none;
    font-family: var(--font-sans);
    transition: color 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    overflow: hidden;
    z-index: 0;
}

.menu-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: rgba(30, 45, 69, 0.5);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.menu-item:hover {
    color: var(--fg);
}

.menu-item:hover::before {
    transform: scaleX(1);
}

.menu-item .chevron {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--primary);
}

.menu-divider {
    height: 1px;
    background: rgba(30, 45, 69, 0.2);
    margin: 12px 0;
}

.menu-section-label {
    padding: 0 16px;
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 4px;
}

@media (min-width: 1024px) {
    .mobile-only {
        display: none !important;
    }
}

.mobile-forum-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
}

.mobile-forum-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-forum-bg {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 41, 0.5);
    backdrop-filter: blur(4px);
}

.mobile-forum-card {
    position: relative;
    z-index: 10;
    width: 320px;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(30, 45, 69, 0.4);
    background: rgba(20, 30, 51, 0.9);
    backdrop-filter: blur(24px);
    text-align: center;
}

@media (min-width: 1024px) {
    .mobile-forum-overlay {
        display: none;
    }
}

#particle-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.main-content {
    position: relative;
    z-index: 10;
    padding: 64px 0 0;
}

@media (min-width: 1024px) {
    .main-content {
        padding: 80px 0 0;
    }
}

.section-block {
    width: 100%;
    max-width: var(--grid-max);
    margin: 0 auto 80px;
    padding: 0 var(--grid-px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.fade-in {
    opacity: 0;
    transform: translateY(32px);
    transition: all 0.3s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-heading {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--primary);
    text-align: center;
}

@media (min-width: 640px) {
    .section-heading {
        font-size: 20px;
    }
}

.rounded-card {
    position: relative;
    width: 100%;
    background: rgba(20, 30, 51, 0.9);
    border: 1px solid rgba(30, 45, 69, 1);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
}

@media (min-width: 640px) {
    .rounded-card {
        border-radius: 10px;
        padding: 40px 48px;
    }
}

.rounded-card p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--muted-fg);
}

@media (min-width: 640px) {
    .rounded-card p {
        font-size: 16px;
    }
}

.servers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

@media (min-width: 768px) {
    .servers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.server-card {
    position: relative;
    background: rgba(20, 30, 51, 0.9);
    border: 1px solid rgba(30, 45, 69, 1);
    border-radius: 16px;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), border-color 0.5s cubic-bezier(0.4,0,0.2,1), box-shadow 0.5s cubic-bezier(0.4,0,0.2,1);
    cursor: default;
}

.server-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 17px;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 0;
}

.server-number {
    position: absolute;
    top: 12px;
    left: 14px;
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: rgba(107, 122, 144, 0.45);
    line-height: 1;
    z-index: 2;
    transition: color 0.5s;
}

.server-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    max-width: 190px;
    display: block;
    transition: filter 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1);
    filter: brightness(0.85) saturate(0.8);
}

.server-card:nth-child(1)::before {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.25), 0 0 60px rgba(139, 92, 246, 0.1);
}

.server-card:nth-child(1):hover {
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-4px);
}

.server-card:nth-child(1):hover::before {
    opacity: 1;
}

.server-card:nth-child(1):hover .server-logo {
    filter: brightness(1.1) saturate(1.2) drop-shadow(0 0 18px rgba(139, 92, 246, 0.6));
    transform: scale(1.04);
}

.server-card:nth-child(1) .server-progress-fill {
    background: rgba(139, 92, 246, 0.7);
}

.server-card:nth-child(2)::before {
    box-shadow: 0 0 30px rgba(212, 160, 23, 0.25), 0 0 60px rgba(212, 160, 23, 0.1);
}

.server-card:nth-child(2):hover {
    border-color: rgba(212, 160, 23, 0.5);
    transform: translateY(-4px);
}

.server-card:nth-child(2):hover::before {
    opacity: 1;
}

.server-card:nth-child(2):hover .server-logo {
    filter: brightness(1.1) saturate(1.2) drop-shadow(0 0 18px rgba(212, 160, 23, 0.6));
    transform: scale(1.04);
}

.server-card:nth-child(2) .server-progress-fill {
    background: rgba(212, 160, 23, 0.7);
}

.server-card:nth-child(3)::before {
    box-shadow: 0 0 30px rgba(220, 40, 40, 0.25), 0 0 60px rgba(220, 40, 40, 0.1);
}

.server-card:nth-child(3):hover {
    border-color: rgba(220, 40, 40, 0.5);
    transform: translateY(-4px);
}

.server-card:nth-child(3):hover::before {
    opacity: 1;
}

.server-card:nth-child(3):hover .server-logo {
    filter: brightness(1.1) saturate(1.2) drop-shadow(0 0 18px rgba(220, 40, 40, 0.6));
    transform: scale(1.04);
}

.server-card:nth-child(3) .server-progress-fill {
    background: rgba(220, 40, 40, 0.7);
}

.server-card-top {
    position: relative;
    padding: 28px 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    z-index: 1;
}

.server-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.server-status-badge.offline {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: rgba(239, 68, 68, 0.85);
}

.server-status-badge.online {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.25);
    color: rgba(74, 222, 128, 0.85);
}

.status-circle {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.server-status-badge.offline .status-circle {
    background: rgba(239, 68, 68, 0.8);
}

.server-status-badge.online .status-circle {
    background: rgba(74, 222, 128, 0.8);
}

.server-card-bottom {
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(30, 45, 69, 0.3);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1;
}

.server-players-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.server-players-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.server-players-icon {
    width: 16px;
    height: 16px;
    color: var(--muted-fg);
}

.server-players-count {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--fg);
}

.server-players-max {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--muted-fg);
}

.server-btn {
    padding: 8px 20px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid rgba(30, 45, 69, 0.5);
    background: rgba(30, 45, 69, 0.3);
    color: var(--muted-fg);
    cursor: not-allowed;
    transition: all 0.3s;
}

.server-progress-bar {
    width: 100%;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.05);
    overflow: hidden;
}

.server-progress-fill {
    height: 100%;
    border-radius: 2px;
    width: 0%;
    transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.samp-card {
    position: relative;
    width: 100%;
    background: rgba(20, 30, 51, 0.9);
    border: 1px solid rgba(30, 45, 69, 1);
    border-radius: 16px;
    padding: 32px 24px;
}

@media (min-width: 640px) {
    .samp-card {
        border-radius: 20px;
        padding: 40px 48px;
    }
}

.samp-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 24px;
}

.samp-tab {
    position: relative;
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--muted-fg);
    background: rgba(30, 45, 69, 0.3);
    border: 1px solid rgba(30, 45, 69, 0.4);
    cursor: pointer;
    overflow: hidden;
}

.samp-tab::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(79, 133, 203, 0.15), rgba(33, 84, 144, 0.15));
    opacity: 0;
    transition: opacity 0.4s;
}

.samp-tab:hover {
    color: var(--fg);
}

.samp-tab:hover::before {
    opacity: 0;
}

.samp-tab.active {
    color: #fff;
    background: rgba(79, 133, 203, 0.2);
    border-color: rgba(79, 133, 203, 0.5);
    box-shadow: 0 0 20px rgba(79, 133, 203, 0.15);
}

.samp-tab.active::before {
    opacity: 1;
}

.samp-content {
    text-align: center;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.samp-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--muted-fg);
    max-width: 700px;
}

@media (min-width: 640px) {
    .samp-content p {
        font-size: 16px;
    }
}

.typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: var(--primary);
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: blink-cursor 1s step-end infinite;
}

@keyframes blink-cursor {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

.dev-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

.carousel-track {
    display: flex;
    position: relative;
    left: 50%;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    width: max-content;
}

.carousel-track.grabbing {
    cursor: grabbing;
    transition: none;
}

.carousel-slide {
    width: 200px;
    height: 200px;
    flex: 0 0 200px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 0 5px;
    box-sizing: content-box;
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0.3;
    filter: brightness(0.5) saturate(0.5);
    overflow: visible;
    cursor: pointer;
}

@media (min-width: 640px) {
    .carousel-slide {
        width: 200px;
        height: 200px;
        flex: 0 0 200px;
        padding: 0 10px;
    }
}

@media (min-width: 900px) {
    .carousel-slide {
        width: 214px;
        height: 250px;
        flex: 0 0 214px;
        padding: 0 10px;
    }
}

.carousel-slide.active {
    opacity: 1;
    filter: brightness(1) saturate(1);
}

.carousel-slide.near {
    opacity: 0.55;
    filter: brightness(0.75) saturate(0.7);
}

.stage-card {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    border: 1px solid rgba(30, 45, 69, 0.5);
    background: rgba(14, 22, 40, 0.97);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.5s, box-shadow 0.5s, transform 0.5s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.stage-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.18;
    transition: opacity 0.5s;
    z-index: 0;
}

.carousel-slide.active .stage-card-bg,
.stage-card:hover .stage-card-bg {
    opacity: 0.32;
}

.stage-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(6,13,31,0.35) 0%, rgba(6,13,31,0.85) 60%, rgba(6,13,31,0.98) 100%);
    z-index: 0;
}

.stage-card-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 10px 10px 0;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .stage-card-top-row {
        padding: 14px 14px 0;
    }
}

@media (min-width: 900px) {
    .stage-card-top-row {
        padding: 16px 16px 0;
    }
}

.stage-card-bottom {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 0 10px 10px;
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .stage-card-bottom {
        gap: 7px;
        padding: 0 14px 14px;
    }
}

@media (min-width: 900px) {
    .stage-card-bottom {
        gap: 8px;
        padding: 0 16px 16px;
    }
}

.stage-card[data-status="done"] {
    border-color: rgba(74, 222, 128, 0.2);
}

.stage-card[data-status="current"] {
    border-color: rgba(79, 133, 203, 0.35);
}

.stage-card[data-status="upcoming"] {
    border-color: rgba(107, 122, 144, 0.15);
}

.carousel-slide.active .stage-card[data-status="done"] {
    border-color: rgba(74, 222, 128, 0.4);
    box-shadow: 0 0 40px rgba(74, 222, 128, 0.1), 0 4px 20px rgba(0,0,0,0.4);
}

.carousel-slide.active .stage-card[data-status="current"] {
    border-color: rgba(79, 133, 203, 0.5);
    box-shadow: 0 0 50px rgba(79, 133, 203, 0.15), 0 4px 20px rgba(0,0,0,0.4);
}

.carousel-slide.active .stage-card[data-status="upcoming"] {
    border-color: rgba(107, 122, 144, 0.25);
    box-shadow: 0 0 30px rgba(107, 122, 144, 0.06), 0 4px 20px rgba(0,0,0,0.4);
}

@media (hover: hover) {
    .stage-card:hover {
        transform: scale(1.06);
    }
}

.stage-card-number {
    font-family: var(--font-mono);
    font-size: 8px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .stage-card-number {
        font-size: 10px;
    }
}

@media (min-width: 900px) {
    .stage-card-number {
        font-size: 11px;
    }
}

.stage-card[data-status="done"] .stage-card-number {
    color: rgba(74, 222, 128, 0.5);
}

.stage-card[data-status="upcoming"] .stage-card-number {
    color: rgba(107, 122, 144, 0.35);
}

.stage-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .stage-card-icon {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
}

@media (min-width: 900px) {
    .stage-card-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }
}

.stage-card[data-status="done"] .stage-card-icon {
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.25);
    color: rgba(74, 222, 128, 0.8);
}

.stage-card[data-status="current"] .stage-card-icon {
    background: rgba(79, 133, 203, 0.12);
    border: 1px solid rgba(79, 133, 203, 0.3);
    color: var(--primary);
}

.stage-card[data-status="upcoming"] .stage-card-icon {
    background: rgba(107, 122, 144, 0.08);
    border: 1px solid rgba(107, 122, 144, 0.18);
    color: rgba(107, 122, 144, 0.5);
}

.carousel-slide.active .stage-card[data-status="done"] .stage-card-icon {
    background: rgba(74, 222, 128, 0.18);
    border-color: rgba(74, 222, 128, 0.4);
    box-shadow: 0 0 16px rgba(74, 222, 128, 0.12);
}

.carousel-slide.active .stage-card[data-status="current"] .stage-card-icon {
    background: rgba(79, 133, 203, 0.2);
    border-color: rgba(79, 133, 203, 0.45);
    box-shadow: 0 0 20px rgba(79, 133, 203, 0.18);
}

.carousel-slide.active .stage-card[data-status="upcoming"] .stage-card-icon {
    background: rgba(107, 122, 144, 0.14);
    border-color: rgba(107, 122, 144, 0.28);
    color: rgba(107, 122, 144, 0.65);
}

.stage-card-icon svg {
    width: 16px;
    height: 16px;
}

@media (min-width: 640px) {
    .stage-card-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (min-width: 900px) {
    .stage-card-icon svg {
        width: 24px;
        height: 24px;
    }
}

.stage-card-name {
    font-family: 'Unbounded', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--fg);
    position: relative;
    z-index: 1;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .stage-card-name {
        font-size: 13px;
    }
}

@media (min-width: 900px) {
    .stage-card-name {
        font-size: 15px;
    }
}

.stage-card-name.done {
    color: rgba(74, 222, 128, 0.9);
}

.stage-card-name.current {
    color: #fff;
}

.stage-card-name.upcoming {
    color: rgba(107, 122, 144, 0.6);
}

.stage-card-name.current .pulse-anim {
    position: absolute;
    inset: 0;
    animation: text-pulse 2s ease-in-out infinite;
    color: var(--primary);
}

@keyframes text-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.stage-card-desc {
    font-size: 9px;
    line-height: 1.4;
    color: rgba(146,159,178,0.7);
    position: relative;
    z-index: 1;
}

@media (min-width: 640px) {
    .stage-card-desc {
        font-size: 11px;
    }
}

@media (min-width: 900px) {
    .stage-card-desc {
        font-size: 12px;
    }
}

.stage-card-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 7px;
    border-radius: 20px;
    font-family: var(--font-mono);
    font-size: 7px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .stage-card-badge {
        font-size: 9px;
        padding: 3px 8px;
    }
}

@media (min-width: 900px) {
    .stage-card-badge {
        font-size: 10px;
        padding: 4px 10px;
    }
}

.stage-card-badge.done {
    background: rgba(74, 222, 128, 0.1);
    color: rgba(74, 222, 128, 0.8);
    border: 1px solid rgba(74, 222, 128, 0.2);
}

.stage-card-badge.current {
    background: rgba(79, 133, 203, 0.1);
    color: rgba(79, 133, 203, 0.9);
    border: 1px solid rgba(79, 133, 203, 0.3);
}

.stage-card-badge.upcoming {
    background: rgba(107, 122, 144, 0.08);
    color: rgba(107, 122, 144, 0.45);
    border: 1px solid rgba(107, 122, 144, 0.12);
}

.stage-card-badge .badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.stage-card-badge.done .badge-dot {
    background: rgba(74, 222, 128, 0.8);
}

.stage-card-badge.current .badge-dot {
    background: var(--primary);
    animation: pulse-dot 2s ease-in-out infinite;
}

.stage-card-badge.upcoming .badge-dot {
    background: rgba(107, 122, 144, 0.35);
}

.stage-card-progress {
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.06);
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.stage-card-progress-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.stage-card[data-status="done"] .stage-card-progress-fill {
    background: rgba(74, 222, 128, 0.6);
}

.stage-card[data-status="current"] .stage-card-progress-fill {
    background: linear-gradient(90deg, var(--primary), rgba(79, 133, 203, 0.3));
}

.stage-card[data-status="upcoming"] .stage-card-progress-fill {
    background: rgba(107, 122, 144, 0.3);
}

.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(79, 133, 203, 0.25);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.4s;
}

.carousel-dot.active {
    width: 22px;
    border-radius: 3px;
    background: var(--primary);
}

.status-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid rgba(30, 45, 69, 0.5);
    background: rgba(20, 30, 51, 0.5);
    opacity: 0;
    transform: translateY(12px);
    transition: all 0.7s ease-out;
}

.status-badge.visible {
    opacity: 1;
    transform: translateY(0);
}

.status-dot-wrap {
    position: relative;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.status-dot-ping {
    position: absolute;
    inset: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.status-label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--muted-fg);
}

@media (min-width: 640px) {
    .status-label {
        font-size: 14px;
    }
}

.status-sep {
    width: 1px;
    height: 12px;
    background: rgba(30, 45, 69, 0.5);
}

.status-percent {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--primary);
}

@media (min-width: 640px) {
    .status-percent {
        font-size: 14px;
    }
}

.site-footer {
    position: relative;
    z-index: 10;
    border-top: 1px solid rgba(30, 45, 69, 0.3);
    background: rgba(10, 15, 28, 0.8);
    backdrop-filter: blur(12px);
    padding: 48px 0 0;
}

.footer-inner {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 0 var(--grid-px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 768px) {
    .footer-inner {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        gap: 32px;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.footer-brand-logo img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-brand-logo span {
    font-family: 'Unbounded', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
}

.footer-brand-logo .primary {
    color: var(--primary);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--muted-fg);
    max-width: 300px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(30, 45, 69, 0.5);
    background: rgba(20, 30, 51, 0.5);
    color: var(--muted-fg);
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social-link:hover {
    border-color: rgba(79, 133, 203, 0.4);
    background: rgba(30, 45, 69, 0.5);
    color: #fff;
    transform: translateY(-2px);
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--fg);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--muted-fg);
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-col ul li a:hover {
    color: var(--fg);
}

.footer-col ul li a .arrow {
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--primary);
}

.footer-bottom {
    max-width: var(--grid-max);
    margin: 0 auto;
    padding: 24px var(--grid-px);
    margin-top: 40px;
    border-top: 1px solid rgba(30, 45, 69, 0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: rgba(107, 122, 144, 0.5);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-legal a {
    font-size: 12px;
    color: rgba(107, 122, 144, 0.4);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--muted-fg);
}

img {
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
    user-drag: none;
    draggable: false;
}

.hero-bg img {
    pointer-events: none;
}

.logo-btn img,
.server-logo,
.footer-brand-logo img {
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
    user-drag: none;
}

.hero-launch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font-family: 'Unbounded', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 0 0 rgba(29, 78, 216, 0), 0 4px 20px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
    z-index: 10;
    animation: btn-idle-pulse 3s ease-in-out infinite;
    min-width: 0;
    max-width: calc(100vw - 32px);
    white-space: nowrap;
}

@media (min-width: 400px) {
    .hero-launch-btn {
        padding: 16px 32px;
        font-size: 13px;
        gap: 10px;
        letter-spacing: 0.1em;
    }
}

@keyframes btn-idle-pulse {
    0%, 100% { box-shadow: 0 0 18px rgba(29,78,216,0.45), 0 4px 20px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.15); }
    50% { box-shadow: 0 0 40px rgba(29,78,216,0.75), 0 4px 20px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.15); }
}

.hero-launch-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
    z-index: 1;
    transition: left 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.hero-launch-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border-top: 1px solid rgba(255,255,255,0.18);
    pointer-events: none;
    z-index: 2;
    background: none;
}

.hero-launch-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 0 55px rgba(29, 78, 216, 0.85), 0 12px 30px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
    animation: none;
}

.hero-launch-btn:hover::before {
    left: 130%;
}

.hero-launch-btn:active {
    transform: translateY(-1px) scale(0.98);
    transition-duration: 0.1s;
}

.hero-launch-btn svg {
    position: relative;
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-launch-btn:hover svg {
    transform: rotate(-15deg) scale(1.15);
}

.hero-launch-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    width: 100%;
    max-width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

@media (min-width: 640px) {
    .hero-launch-wrap {
        gap: 16px;
        margin-top: 10px;
        padding: 0;
    }
}

.hero-sub-count {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    color: rgba(160, 190, 230, 0.55);
}

@media (min-width: 400px) {
    .hero-sub-count {
        font-size: 13px;
    }
}

.hero-sub-count svg {
    opacity: 0.7;
}

.notify-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 380px;
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(30, 45, 69, 0.5);
    width: 100%;
}

@media (min-width: 768px) {
    .notify-card {
        min-height: 420px;
    }
}

.notify-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 0;
}

.notify-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(6, 10, 22, 0.97) 0%, rgba(6, 10, 22, 0.9) 40%, rgba(6, 10, 22, 0.55) 70%, rgba(6, 10, 22, 0.25) 100%);
    z-index: 1;
}

.notify-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 40px 32px;
    width: 100%;
}

@media (min-width: 768px) {
    .notify-content {
        padding: 56px 56px;
        max-width: 65%;
    }
}

.notify-text-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.notify-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary);
}

.notify-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(28px, 5vw, 52px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.notify-title span {
    color: var(--primary);
}

.notify-desc {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(228, 230, 235, 0.7);
    max-width: 480px;
}

.notify-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.notify-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(228, 230, 235, 0.8);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.notify-num {
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
    min-width: 26px;
}

.notify-form-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 4px;
}

.notify-input-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.notify-input {
    flex: 1;
    min-width: 200px;
    padding: 13px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(90, 140, 220, 0.25);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s, box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.notify-input::placeholder {
    color: rgba(255,255,255,0.3);
}

.notify-input:focus {
    border-color: rgba(29, 78, 216, 0.6);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(29,78,216,0.15), 0 0 20px rgba(29,78,216,0.2);
    transform: scale(1.01);
}

.notify-submit-btn {
    padding: 13px 28px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 24px rgba(29, 78, 216, 0.4);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.notify-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%);
    z-index: 1;
    transition: left 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.notify-submit-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 45px rgba(29,78,216,0.65), 0 8px 20px rgba(0,0,0,0.3);
}

.notify-submit-btn:hover::before {
    left: 130%;
}

.notify-submit-btn:active {
    transform: translateY(0) scale(0.97);
}

.notify-feedback {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.1em;
    min-height: 20px;
    transition: all 0.3s;
}

.notify-feedback.error {
    color: rgba(248, 113, 113, 0.9);
}

.notify-feedback.success {
    color: rgba(74, 222, 128, 0.9);
}

.notify-counter-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 30px;
    padding: 6px 14px 6px 10px;
}

.notify-counter-num {
    font-family: 'Unbounded', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.notify-counter-label {
    font-family: var(--font-sans);
    font-size: 13px;
    color: rgba(200, 215, 235, 0.65);
    font-weight: 500;
}

.notify-counter-row svg {
    color: rgba(200, 215, 235, 0.5);
    flex-shrink: 0;
}

.socials-row {
    background: rgba(8, 13, 28, 0.92);
    border: 1px solid rgba(30, 45, 80, 0.7);
    border-radius: 20px;
    padding: 28px 36px;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.socials-row::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 60%);
    border-radius: 2px 2px 0 0;
}

.socials-row-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #e8f0ff;
    white-space: nowrap;
    flex-shrink: 0;
}

.socials-row-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.social-large {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(15, 23, 41, 0.7);
    border: 1.5px solid rgba(90, 140, 220, 0.35);
    border-radius: 14px;
    color: #e8f0ff;
    text-decoration: none;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}

.social-large:hover {
    transform: translateY(-6px) scale(1.1);
    border-color: #5a8cdc;
    box-shadow: 0 0 22px rgba(90, 140, 220, 0.55);
    background: rgba(90, 140, 220, 0.12);
}

.social-large svg {
    width: 30px;
    height: 30px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-large:hover svg {
    transform: scale(1.15);
}

@media (max-width: 600px) {
    .socials-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

.section-heading {
    font-family: 'Unbounded', sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    color: #fff !important;
    text-align: left !important;
    width: 100% !important;
    position: relative !important;
    padding-left: 16px !important;
    margin-bottom: 4px !important;
}

.section-heading::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--primary);
    border-radius: 2px;
}

@media (min-width: 640px) {
    .section-heading {
        font-size: 26px !important;
    }
}

.rounded-card {
    position: relative !important;
    width: 100% !important;
    background: rgba(10, 15, 30, 0.85) !important;
    border: 1px solid rgba(30, 45, 80, 0.8) !important;
    border-radius: 20px !important;
    padding: 40px 36px !important;
    overflow: hidden !important;
    text-align: left !important;
}

.rounded-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 80%);
    border-radius: 2px 2px 0 0;
}

.rounded-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(29,78,216,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.rounded-card p {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: rgba(180, 195, 220, 0.85) !important;
    max-width: 820px !important;
}

@media (min-width: 640px) {
    .rounded-card p {
        font-size: 16px !important;
    }
}

.servers-grid {
    gap: 16px !important;
}

.server-card {
    background: rgba(8, 13, 28, 0.92) !important;
    border: 1px solid rgba(30, 45, 80, 0.7) !important;
    border-radius: 20px !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s, box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.server-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 2px 2px 0 0;
    opacity: 0.6;
    transition: opacity 0.4s;
}

.server-card:nth-child(1)::after {
    background: linear-gradient(90deg, rgba(139,92,246,0.8), transparent);
}

.server-card:nth-child(2)::after {
    background: linear-gradient(90deg, rgba(212,160,23,0.8), transparent);
}

.server-card:nth-child(3)::after {
    background: linear-gradient(90deg, rgba(220,40,40,0.8), transparent);
}

.server-card:hover::after {
    opacity: 1;
}

.server-card-top {
    background: rgba(15, 22, 44, 0.6) !important;
    border-bottom: 1px solid rgba(30, 45, 80, 0.3) !important;
    padding: 32px 28px 24px !important;
}

.server-card-bottom {
    padding: 20px 28px 28px !important;
    border-top: none !important;
}

.server-btn {
    border-radius: 10px !important;
    font-family: 'Unbounded', sans-serif !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    padding: 9px 18px !important;
    border-color: rgba(30, 45, 80, 0.6) !important;
    background: rgba(20, 30, 60, 0.5) !important;
    transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s, color 0.3s, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.server-btn:hover:not([disabled]) {
    transform: scale(1.06) !important;
    background: rgba(29,78,216,0.2) !important;
    border-color: rgba(29,78,216,0.5) !important;
    color: #fff !important;
    cursor: pointer !important;
}

.server-progress-bar {
    height: 3px !important;
    background: rgba(255,255,255,0.04) !important;
    border-radius: 3px !important;
}

.server-logo {
    transition: filter 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.server-card:hover .server-logo {
    transform: scale(1.06) translateY(-2px) !important;
}

.samp-card {
    background: rgba(8, 13, 28, 0.92) !important;
    border: 1px solid rgba(30, 45, 80, 0.7) !important;
    border-radius: 20px !important;
    position: relative !important;
    overflow: hidden !important;
}

.samp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary) 0%, transparent 70%);
    border-radius: 2px 2px 0 0;
}

.samp-tab {
    font-family: 'Rajdhani', sans-serif !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    background: rgba(15, 22, 44, 0.6) !important;
    border: 1px solid rgba(30, 45, 80, 0.5) !important;
    transition: background 0.2s, color 0.2s !important;
}

.samp-tab.active {
    background: rgba(29, 78, 216, 0.18) !important;
    border-color: rgba(29, 78, 216, 0.5) !important;
    box-shadow: 0 0 24px rgba(29, 78, 216, 0.15) !important;
}

.samp-tab:hover:not(.active) {
    transform: none !important;
    border-color: inherit !important;
    box-shadow: none !important;
}

.footer-social-link {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s, background 0.3s, color 0.3s !important;
}

.footer-social-link:hover {
    transform: translateY(-4px) scale(1.08) !important;
}

.menu-item {
    transition: color 0.3s, background 0.3s, padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.menu-item:hover {
    padding-left: 22px !important;
}

.carousel-dot {
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s, border-radius 0.4s !important;
}

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-more {
    animation: scroll-float 2.4s ease-in-out infinite !important;
}

@keyframes scroll-float {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 0.7;
    }
    50% {
        transform: translateX(-50%) translateY(10px);
        opacity: 1;
    }
}

button:focus,
button:focus-visible,
.rounded-card:focus,
.notify-card:focus,
.samp-card:focus,
.samp-tab:focus,
.samp-tab:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}

.rounded-card {
    transition: none !important;
    cursor: default !important;
}

.rounded-card:hover {
    border-color: rgba(30, 45, 80, 0.8) !important;
    box-shadow: none !important;
    transform: none !important;
}

.notify-card {
    transition: none !important;
    cursor: default !important;
}

.notify-card:hover {
    border-color: rgba(30, 45, 69, 0.5) !important;
    box-shadow: none !important;
    transform: none !important;
}

.notify-card:hover .notify-bg {
    opacity: 0.35 !important;
    transform: none !important;
}

.notify-bg {
    transition: none !important;
}

.samp-card {
    transition: none !important;
    cursor: default !important;
}

.samp-card:hover {
    border-color: rgba(30, 45, 80, 0.7) !important;
    box-shadow: none !important;
    transform: none !important;
}

.flip-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.flip-card-wrap {
    position: relative;
    width: 88px;
    height: 88px;
    overflow: hidden;
    background: #0d1a2e;
    border: 1px solid rgba(90, 140, 220, 0.25);
    border-radius: 8px;
}

@media (max-width: 480px) {
    .flip-card-wrap {
        width: 62px !important;
        height: 72px !important;
    }
}

.slide-digit {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.6rem;
    font-weight: 700;
    color: #e8f0ff;
    user-select: none;
    will-change: transform, opacity;
}

@media (max-width: 480px) {
    .slide-digit {
        font-size: 2.1rem !important;
    }
}

.slide-digit.cur {
    transform: translateY(0);
    opacity: 1;
}

.slide-digit.cur.exit {
    animation: exitDown 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.slide-digit.next {
    transform: translateY(-100%);
    opacity: 0;
}

.slide-digit.next.enter {
    animation: enterFromTop 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes exitDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

@keyframes enterFromTop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.flip-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: rgba(160, 190, 230, 0.55);
    text-transform: uppercase;
}

@media (max-width: 480px) {
    .flip-label {
        font-size: 0.68rem !important;
    }
}

.flip-sep {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
    opacity: 0.4;
}

@media (max-width: 480px) {
    .flip-sep {
        margin-bottom: 18px;
    }
}

.flip-sep span {
    width: 5px;
    height: 5px;
    background: #5a8cdc;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
    display: block;
}
