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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background:
        linear-gradient(rgba(10,10,10,0.55), rgba(10,10,10,0.55)),
        url('../main_phone.png') center/cover fixed no-repeat;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: #FFDAB944;
    color: #fff;
}

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

/* ── Particles ── */
.bg-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

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

/* ── Header ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 10, 0.3);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 100%;
    gap: 24px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links a {
    color: #ddd;
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFDAB9;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: #FFDAB9;
}

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

/* ── Keyframes ── */
@keyframes fadeInUp {
    from { transform: translateY(40px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1);   opacity: 0.8; }
    50%      { transform: scale(1.3); opacity: 1; }
}

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 8px rgba(255,218,185,0.15); }
    50%      { box-shadow: 0 0 20px rgba(255,218,185,0.30); }
}

/* ── Scroll-reveal —─ */
.animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }
.animate-delay-6 { transition-delay: 0.6s; }

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero > .container {
    max-width: 700px;
}

.hero-welcome {
}

.hero-welcome-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFDAB9;
    background: rgba(255, 218, 185, 0.12);
    border: 1px solid rgba(255, 218, 185, 0.15);
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.6rem, 8vw, 5.5rem);
    font-weight: 900;
    color: #fff5ea;
    letter-spacing: 4px;
    margin-bottom: 12px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #ddd;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.btn-start {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 40px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
    color: #0a0a0a;
    background: linear-gradient(135deg, #FFDAB9, #f5c6a0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-start:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 218, 185, 0.3);
}

@keyframes dropIn {
    0%   { transform: translateY(-80px) scale(0.95); opacity: 0; }
    50%  { transform: translateY(8px) scale(1.01); opacity: 1; }
    70%  { transform: translateY(-3px) scale(0.99); }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

.server-info-section > .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 30px;
}

.server-info-section.animate {
    opacity: 0;
    transform: translateY(-80px);
    transition: none;
}

.server-info-section.animate.visible {
    animation: dropIn 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.server-info-section .server-status,
.server-info-section .hero-players,
.server-info-section .server-ip,
.server-info-section .hero-info,
.server-info-section .hero-links {
    opacity: 0;
    transform: translateY(20px);
    animation: none !important;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.server-info-section.animate.visible .server-status,
.server-info-section.animate.visible .hero-players,
.server-info-section.animate.visible .server-ip,
.server-info-section.animate.visible .hero-info,
.server-info-section.animate.visible .hero-links {
    opacity: 1;
    transform: translateY(0);
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.status-dot.online {
    background: #4ade80;
    box-shadow: 0 0 8px #4ade8066;
    animation: pulse 2s ease-in-out infinite;
}

.status-dot.offline {
    background: #f87171;
    box-shadow: 0 0 8px #f8717166;
}

.server-ip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s both;
}

.ip-label {
    color: #ccc;
    font-size: 0.9rem;
}

.ip-address {
    display: inline-block;
    background: rgba(255, 218, 185, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 218, 185, 0.25);
    color: #FFDAB9;
    font-size: 1.1rem;
    font-family: monospace;
    user-select: all;
    cursor: pointer;
    transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ip-address:hover {
    border-color: #FFDAB966;
    transform: scale(1.03);
}



.hero-players {
    margin-bottom: 20px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.players-count {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 6px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #4ade80;
    font-size: 1rem;
    font-weight: 600;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.players-count:hover {
    border-color: #4ade8066;
    background: rgba(74,222,128,0.06);
}

.hero-info {
    display: flex;
    gap: 10px;
    justify-content: center;
    color: #bbb;
    font-size: 0.9rem;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s both;
}

.hero-info-sep {
    opacity: 0.3;
}

.hero-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s both;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
    opacity: 0.9;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-discord {
    background: rgba(88, 101, 242, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(88, 101, 242, 0.3);
    color: #fff;
}

.btn-telegram {
    background: rgba(38, 165, 228, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(38, 165, 228, 0.3);
    color: #fff;
}

.btn-discord::before {
    content: "💬";
}

.btn-telegram::before {
    content: "✈️";
}

.btn-apply {
    background: rgba(255, 218, 185, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 218, 185, 0.3);
    color: #FFDAB9;
}

/* ── Sections ── */
.section {
    padding: 100px 0;
    scroll-margin-top: 70px;
    position: relative;
    z-index: 1;
}

.section > .container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 60px 30px;
    transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section > .container:hover {
    border-color: rgba(255, 218, 185, 0.1);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #FFDAB9;
    margin-bottom: 30px;
    text-align: center;
    transition: letter-spacing 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title:hover {
    letter-spacing: 3px;
    color: #ffe4cc;
}

.section-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    color: #ddd;
    font-size: 1.1rem;
}

/* ── Features ── */
.features {
    background: transparent;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 218, 185, 0.3);
    box-shadow: 0 12px 40px rgba(255, 218, 185, 0.06);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    line-height: 1;
    animation: softFloat 4s ease-in-out infinite;
}

.feature-card:nth-child(2) .feature-icon { animation-delay: 0.5s; }
.feature-card:nth-child(3) .feature-icon { animation-delay: 1s; }
.feature-card:nth-child(4) .feature-icon { animation-delay: 1.5s; }

.feature-card:hover .feature-icon {
    animation: none;
    transform: scale(1.2);
}

.mc-icon {
    width: 48px;
    height: 48px;
    image-rendering: pixelated;
    display: block;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.feature-card p {
    font-size: 0.9rem;
    color: #bbb;
}

/* ── Rules ── */
.rules-list {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
}

.rules-list li {
    padding: 12px 20px;
    margin-bottom: 10px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 10px;
    border-left: 3px solid #FFDAB9;
    color: #eee;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.rules-list li:hover {
    transform: translateX(6px);
    border-left-color: #FFDAB9;
    background: rgba(255, 255, 255, 0.08);
}

.rules-list li::before {
    content: "•";
    color: #FFDAB9;
    margin-right: 10px;
}

.rules-more {
    text-align: center;
    margin-top: 30px;
}

.btn-rules {
    background: rgba(255, 218, 185, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 218, 185, 0.2);
    color: #FFDAB9;
}

.btn-rules:hover {
    background: rgba(255, 218, 185, 0.25);
    border-color: rgba(255, 218, 185, 0.35);
}

/* ── Admins ── */
.admins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.admin-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 218, 185, 0.3);
    box-shadow: 0 12px 40px rgba(255, 218, 185, 0.06);
}

.admin-card .admin-head {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
                border-color 0.3s ease;
}

.admin-card:hover .admin-head {
    transform: scale(1.08) rotate(-3deg);
    border-color: #FFDAB966;
}

.admin-avatar {
    font-size: 3rem;
    margin-bottom: 10px;
}

.admin-head {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
    image-rendering: pixelated;
    border: 2px solid #FFDAB933;
}

.admin-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}

.admin-name {
    color: #FFDAB9;
    font-size: 0.9rem;
}

.admin-role {
    color: #FFDAB9;
    font-size: 0.85rem;
}

/* ── Footer ── */
.footer {
    border-top: 1px solid #ffffff0a;
    padding: 30px 0;
    transition: border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.footer:hover {
    border-top-color: #FFDAB922;
}

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

.footer-text {
    color: #aaa;
    font-size: 0.9rem;
}

.footer-disclaimer {
    color: #888;
    font-size: 0.8rem;
}

/* ── Easter egg ── */
.easter-egg {
    position: fixed;
    bottom: 12px;
    right: 16px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    z-index: 9999;
    cursor: pointer;
    transition: color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.5px;
}

.easter-egg:hover {
    color: rgba(255, 255, 255, 0.3);
}

/* ── Snake game ── */
.snake-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.snake-overlay.open {
    display: flex;
}

.snake-modal {
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    max-width: 360px;
    width: 90%;
    position: relative;
}

.snake-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    color: #888;
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}

.snake-close:hover {
    color: #fff;
}

.snake-title {
    color: #FFDAB9;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.snake-score {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 12px;
}

#snakeCanvas {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: block;
    margin: 0 auto;
    background: #0d0d0d;
}

.snake-hint {
    color: #666;
    font-size: 0.8rem;
    margin: 10px 0;
}

.snake-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 10px 0;
}

.snake-controls > div {
    display: flex;
    gap: 6px;
}

.snake-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: #aaa;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    transition: background 0.15s;
}

.snake-btn:active {
    background: rgba(255, 218, 185, 0.2);
    color: #FFDAB9;
}

@media (min-width: 769px) {
    .snake-controls {
        display: none;
    }
}

.snake-restart {
    padding: 8px 24px;
    border-radius: 8px;
    border: 1px solid rgba(255, 218, 185, 0.2);
    background: rgba(255, 218, 185, 0.1);
    color: #FFDAB9;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.snake-restart:hover {
    background: rgba(255, 218, 185, 0.2);
}

/* ── Nav logo & toggle ── */
.nav-logo {
    display: none;
    font-size: 1.1rem;
    font-weight: 800;
    color: #FFDAB9;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #ddd;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px 8px;
    position: relative;
    z-index: 201;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .nav {
        justify-content: space-between;
        height: 56px;
    }

    .nav-logo {
        display: inline-block;
    }

    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        margin: 0;
        padding: 0;
        background: rgba(8, 8, 8, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        z-index: 200;
    }

    .nav-links.open {
        display: flex;
        animation: fadeIn 0.25s ease;
    }

    .nav-links li {
        list-style: none;
    }

    .nav-links a {
        font-size: 1.2rem;
        color: #ccc;
        text-decoration: none;
    }

    .nav-links a.active {
        color: #FFDAB9;
    }

    .hero > .container {
        padding: 40px 20px;
        max-width: 100%;
    }

    .hero-welcome-badge {
        font-size: 0.75rem;
        padding: 4px 14px;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3.5rem);
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-start {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .section {
        padding: 60px 0;
    }

    .section > .container {
        padding: 30px 16px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-text {
        font-size: 0.95rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .feature-card {
        padding: 24px;
    }

    .admins-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .server-info-section > .container {
        padding: 24px 16px;
    }

    .server-ip {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-info {
        flex-wrap: wrap;
    }

    .hero-links {
        flex-wrap: wrap;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .rules-list li {
        font-size: 0.9rem;
        padding: 10px 16px;
    }

    .rules-block {
        padding: 20px;
    }

    .players-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .player-card {
        padding: 14px;
    }

    .player-card .player-head {
        width: 48px;
        height: 48px;
    }

    .players-stats {
        gap: 10px;
    }

    .stat-card {
        padding: 14px 20px;
        min-width: 100px;
    }

    .stat-card .stat-value {
        font-size: 1.4rem;
    }

    .chart-wrap {
        height: 160px;
        padding: 12px;
    }

    .apply-page {
        padding-top: 80px;
    }

    .download-card {
        padding: 30px 20px;
    }

    .download-card h2 {
        font-size: 1.2rem;
    }

    .download-icon {
        font-size: 3rem;
    }

    .btn-download {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    #cursor-glow {
        display: none;
    }

    .easter-egg {
        bottom: 8px;
        right: 10px;
        font-size: 0.6rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.6rem, 8vw, 2.4rem);
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .btn-start {
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .players-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }

    .player-card .player-head {
        width: 40px;
        height: 40px;
    }

    .player-card .player-name {
        font-size: 0.85rem;
    }

    .stat-card {
        min-width: 80px;
        padding: 10px 14px;
    }

    .stat-card .stat-value {
        font-size: 1.2rem;
    }

    .apply-form input,
    .apply-form textarea {
        padding: 10px 14px;
        font-size: 0.85rem;
    }
}

/* ── Cursor glow ── */
#cursor-glow {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,218,185,0.04) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: opacity 0.4s ease;
}
