/* ============================================
 POLITMINE - Modern Design System 2025
 Mobile-First Responsive Framework
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap');
@import url('navigation.css');
@import url('profile.css');
@import url('admin.css');
@import url('tickets.css');
@import url('auth-modal.css');

/* @import url('christmas.css'); */ /* 🎄 Новогодняя тема 2025 - ОТКЛЮЧЕНА */

/* ============================================
 BASE STYLES (Mobile First)
============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #CC6B30;
    --dark: #0a0a0a;
    --accent: #FF8C42;
    --black: #0a0a0a;
    --bg-dark: #121212;
    --coral: #FF6B35;
    --gradient-primary: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, #FFB347 100%);
    --glass-dark: rgba(18, 18, 18, 0.9);
    --glass-border: rgba(255, 140, 66, 0.15);
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dark: rgba(255, 255, 255, 0.5);
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0a;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
    min-height: 100vh;
    width: 100%;
    padding-top: 0;
}

/* Professional font for headings and special elements */
h1, h2, h3,
.hero-title,
.section-title,
.card-title,
.nav-logo,
.stat-value,
.player-name,
.overlay-title {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(204, 107, 48, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 140, 66, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

.container-wide {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================================
 SPA CONTAINER
============================================ */

#app {
    position: relative;
    z-index: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    min-height: 100vh;
}

/* ============================================
 HERO SECTION - Mobile Optimized
============================================ */

.home-page {
    width: 100%;
    min-height: 100vh;
}

.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    margin-top: 0;
    margin-left: -16px;
    margin-right: -16px;
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    overflow: hidden;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}


.hero-with-bg {
    background-image: url('assets/home.png');
    background-repeat: no-repeat;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 12, 22, 0.55) 50%,
        rgba(204, 107, 48, 0.35) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 100;
    width: 100%;
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
    padding: 60px 16px 0;
}


.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    background: rgba(255, 140, 66, 0.15);
    border: 1px solid rgba(255, 140, 66, 0.3);
    border-radius: 50px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    animation: fadeInDown 0.6s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 140, 66, 0.7); }
    50% { box-shadow: 0 0 0 8px rgba(60, 243, 240, 0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 8vw, 56px);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-title-expressive {
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: center;
}

.title-word {
    display: block;
}

.title-word[data-word="2"] {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-subtitle-modern {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
    line-height: 1.6;
}

.highlight-text {
    color: var(--accent);
    font-weight: 700;
}

.server-ip {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 140, 66, 0.3);
    border-radius: 16px;
    padding: 18px 20px;
    margin: 0 auto 28px;
    transition: all 0.3s var(--ease);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.server-ip:active {
    transform: scale(0.96);
}

.server-ip-glass {
    position: relative;
    overflow: hidden;
}

.ip-label {
    font-size: 11px;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
}

.ip-value {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
    word-break: break-all;
    letter-spacing: 0.02em;
}

.ip-hint {
    font-size: 12px;
    color: var(--text-dark);
}

.icon-click {
    display: inline-block;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
    position: relative;
    z-index: 101;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s var(--ease);
    font-size: 16px;
    cursor: pointer;
    border: none;
    width: 100%;
    min-height: 54px;
    position: relative;
    z-index: 102;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--black);
    box-shadow: 0 8px 28px rgba(255, 140, 66, 0.4);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.btn-primary:active {
    transform: scale(0.95);
    box-shadow: 0 4px 14px rgba(255, 140, 66, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 140, 66, 0.5);
    color: var(--accent);
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.btn-secondary:active {
    background: rgba(255, 140, 66, 0.15);
    transform: scale(0.95);
}

.btn-icon {
    font-size: 18px;
    line-height: 1;
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    z-index: 1;
    pointer-events: none;
}

/* ============================================
 SECTIONS - Mobile Optimized
============================================ */

.about-section,
.features-section,
.start-section,
.info-section,
.faq-section,
.rules-highlight-section {
    padding: 40px 0;
    position: relative;
}

.section-title {
    font-size: clamp(26px, 8vw, 36px);
    font-weight: 900;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    text-align: center;
    letter-spacing: -0.5px;
}

.section-title-gradient::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.about-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.about-text strong {
    color: var(--accent);
    font-weight: 700;
}

/* Features Grid - Mobile */
.features-bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
}

.feature-card {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 24px;
    transition: all 0.3s var(--ease);
    -webkit-tap-highlight-color: transparent;
}

.feature-card:active {
    transform: scale(0.97);
    border-color: rgba(255, 140, 66, 0.4);
}

.feature-icon {
    font-size: 44px;
    margin-bottom: 16px;
    display: inline-block;
}

.icon-3d {
    display: inline-block;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Timeline - Mobile */
.timeline-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 28px;
}

.timeline-step {
    padding: 22px 18px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    -webkit-tap-highlight-color: transparent;
}

.step-number {
    display: none;
}

.step-content h3::before {
    content: attr(data-number) '. ';
    color: var(--accent);
    font-weight: 900;
    font-size: 18px;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.step-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Info Section - Mobile */
.info-asymmetric-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
}

.info-block {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 28px 20px;
    -webkit-tap-highlight-color: transparent;
}

.info-block-primary {
    border-left: 4px solid var(--accent);
}

.info-block-secondary {
    border-left: 4px solid var(--coral);
}

.info-block-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.info-block-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.info-block-content p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    padding: 12px 18px;
    background: rgba(255, 140, 66, 0.1);
    border: 1px solid rgba(255, 140, 66, 0.3);
    border-radius: 12px;
    font-size: 15px;
    -webkit-tap-highlight-color: transparent;
}

.arrow-icon {
    display: inline-block;
}

/* FAQ Grid - Mobile */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
}

.faq-item {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 22px 18px;
    border-left: 3px solid transparent;
    -webkit-tap-highlight-color: transparent;
}

.faq-icon {
    font-size: 36px;
    margin-bottom: 12px;
    display: inline-block;
}

.faq-item h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.faq-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* Rules Section - Mobile */
.rules-highlight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 28px 0;
}

.rule-highlight-item {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 24px 20px;
    -webkit-tap-highlight-color: transparent;
}

.rule-highlight-icon {
    font-size: 40px;
    margin-bottom: 14px;
}

.rule-highlight-item h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text);
}

.rule-highlight-item ul {
    list-style: none;
    padding: 0;
}

.rule-highlight-item li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-muted);
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
}

.rule-highlight-item li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 16px;
}

.rule-forbidden {
    border-left: 4px solid #ff4444;
}

.rule-allowed {
    border-left: 4px solid #44ff44;
}

.rules-cta {
    text-align: center;
    margin-top: 28px;
}

/* ============================================
RULES PAGE 2025
============================================ */
.rules-page {
    color: var(--text);
}

.rules-hero {
    padding: 80px 0 40px;
    text-align: center;
}

.rules-quick-section,
.rules-section,
.rules-cta-section {
    padding: 40px 0;
}

.rules-section-header {
    text-align: center;
    margin-bottom: 22px;
}

.rules-section-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 6px;
    font-size: 12px;
}

.rules-section-subtitle {
    color: var(--text-muted);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.6;
}

.rule-card {
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 16px;
}

.rule-card-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.rule-number-pill {
    min-width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 140, 66, 0.1);
    border: 1px solid rgba(255, 140, 66, 0.3);
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 0.02em;
}

.rule-card-title {
    font-size: 18px;
    margin: 0 0 6px;
    color: var(--text);
}

.rule-card-desc {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
}

.rule-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    color: var(--accent);
    margin: 0 0 4px;
    font-size: 12px;
}

.rule-label.danger {
    color: #ff6b6b;
}

.rules-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.rule-badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.rule-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.rule-badge.allowed {
    background: rgba(68, 255, 102, 0.12);
    border-color: rgba(68, 255, 102, 0.35);
    color: #b7ffc8;
}

.rule-badge.forbidden {
    background: rgba(255, 68, 68, 0.12);
    border-color: rgba(255, 68, 68, 0.35);
    color: #ffc2c2;
}

.rule-penalty {
    margin-top: 14px;
    color: var(--coral);
    font-weight: 700;
}

.rule-penalty-inline {
    color: var(--coral);
    font-weight: 700;
}

.rule-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rule-list li {
    color: var(--text-muted);
    line-height: 1.6;
}

.rule-list li strong {
    color: var(--text);
}

.sub-list {
    list-style: disc;
    margin: 8px 0 0 18px;
    padding: 0;
    color: var(--text-muted);
    line-height: 1.5;
}

.rules-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 22px 20px;
}

.rules-cta-content h3 {
    margin: 0 0 6px;
}

.rules-cta-content p {
    margin: 0;
    color: var(--text-muted);
}

@media (min-width: 900px) {
    .rules-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rules-cta-card {
        padding: 26px 28px;
    }
}

/* ============================================
 FOOTER - Mobile Optimized
============================================ */

.home-footer {
    background: var(--gradient-primary);
    padding: 40px 0 30px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.footer-section {
    text-align: center;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-description {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-top: 12px;
}

.version-badge {
    display: inline-flex;
    padding: 8px 14px;
    background: rgba(255, 140, 66, 0.15);
    border: 1px solid rgba(255, 140, 66, 0.3);
    border-radius: 20px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    margin-top: 12px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}

.footer-links {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    -webkit-tap-highlight-color: transparent;
}

.footer-ip-block {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 18px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.footer-ip {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent);
    font-family: 'JetBrains Mono', monospace;
    word-break: break-all;
}

.footer-ip-hint {
    font-size: 12px;
    color: var(--text-dark);
    margin-top: 8px;
}

.footer-social {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 140, 66, 0.1);
    border: 1px solid rgba(255, 140, 66, 0.3);
    border-radius: 14px;
    font-size: 20px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: all 0.2s ease;
}

.social-link:active {
    background: rgba(255, 140, 66, 0.2);
    transform: scale(0.95);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 140, 66, 0.3), transparent);
    margin: 28px 0;
}

.footer-bottom {
    text-align: center;
}

.footer-copyright {
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.footer-credits {
    font-size: 14px;
    color: var(--text-muted);
}

/* ============================================
 COPY NOTIFICATION
============================================ */

.copy-notification {
    position: fixed;
    transform: translate(-50%, 0);
    background: var(--gradient-accent);
    color: var(--black);
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 8px 28px rgba(255, 140, 66, 0.5);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s var(--ease);
    pointer-events: none;
}

.copy-notification.show {
    opacity: 1;
    transform: translate(-50%, -10px);
}

/* ============================================
 ANIMATIONS
============================================ */

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease);
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
 TABLET (min-width: 640px)
============================================ */

@media (min-width: 640px) {
    .container {
        padding: 0 28px;
    }

    .container-wide {
        padding: 0 28px;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 14px;
    }
    
    .btn {
        width: auto;
        min-width: 160px;
        min-height: 52px;
    }
    
    .features-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .rules-highlight-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .about-section,
    .features-section,
    .start-section,
    .info-section,
    .faq-section,
    .rules-highlight-section {
        padding: 60px 0;
    }
}

/* ============================================
 DESKTOP (min-width: 769px)
============================================ */

@media (min-width: 769px) {
    body {
        padding-top: 72px;
    }
    
    .container {
        max-width: 1200px;
        padding: 0 40px;
    }
    
    .container-wide {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .hero-section {
        padding: 0 40px 120px;
        margin-top: -72px;
        background-attachment: fixed;
    }

    .hero-content {
        padding-top: 140px;
    }

    .hero-title {
        font-size: clamp(42px, 5vw, 72px);
    }
    
    .hero-subtitle {
        font-size: clamp(16px, 1.5vw, 20px);
        margin-bottom: 32px;
    }

    .btn {
        min-height: 48px;
        font-size: 15px;
        padding: 16px 28px;
    }
    
    .hero-buttons {
        margin-bottom: 140px;
    }
    
    .scroll-indicator {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        bottom: 30px;
        z-index: 1;
        opacity: 0.6;
    }
    
    @media (max-height: 850px) {
        .scroll-indicator {
            display: none !important;
        }
    }
    
    .scroll-mouse {
        width: 26px;
        height: 40px;
        border: 2px solid var(--accent);
        border-radius: 13px;
        position: relative;
    }
    
    .scroll-wheel {
        width: 4px;
        height: 8px;
        background: var(--accent);
        border-radius: 2px;
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        animation: scrollDown 2s ease-in-out infinite;
    }
    
    @keyframes scrollDown {
        0%, 100% { transform: translateX(-50%) translateY(0); }
        50% { transform: translateX(-50%) translateY(12px); }
    }
    
    .scroll-text {
        font-size: 11px;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 2px;
    }
    
    .about-section,
    .features-section,
    .start-section,
    .info-section,
    .faq-section,
    .rules-highlight-section {
        padding: 100px 0;
    }
    
    .section-title {
        font-size: clamp(32px, 5vw, 52px);
        margin-bottom: 32px;
    }
    
    .features-bento-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    
    .feature-card {
        padding: 36px;
    }
    
    .feature-card:hover {
        transform: translateY(-8px);
        border-color: rgba(255, 140, 66, 0.5);
        box-shadow: 0 20px 60px rgba(255, 140, 66, 0.2);
    }
    
    .timeline-steps {
        padding-left: 140px;
        border-left: 2px solid rgba(255, 140, 66, 0.2);
    }
    
    .timeline-step {
        padding: 28px 36px;
    }
    
    .timeline-step::before {
        content: '';
        position: absolute;
        left: -142px;
        top: 50%;
        transform: translateY(-50%);
        width: 12px;
        height: 12px;
        background: var(--accent);
        border-radius: 50%;
        border: 3px solid var(--black);
        box-shadow: 0 0 20px rgba(255, 140, 66, 0.8);
    }
    
    .step-number {
        display: block;
        position: absolute;
        left: -220px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 52px;
        font-weight: 900;
        color: rgba(255, 140, 66, 0.1);
        line-height: 1;
        width: 70px;
        text-align: right;
    }
    
    .step-content h3::before {
        content: '';
    }
    
    .timeline-step:hover {
        transform: translateX(12px);
    }
    
    .info-asymmetric-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 24px;
    }
    
    .info-block {
        padding: 40px;
    }
    
    .info-block:hover {
        transform: translateY(-6px);
    }
    
    .faq-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 24px;
    }
    
    .faq-item:hover {
        transform: translateY(-4px);
        border-left-color: var(--accent);
    }
    
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
        text-align: left;
        gap: 40px;
    }
    
    .footer-section {
        text-align: left;
    }
    
    .footer-links {
        align-items: flex-start;
    }
    
    .footer-social {
        justify-content: flex-start;
    }
    
    .footer-bottom {
        display: flex;
        justify-content: space-between;
        text-align: left;
    }
}

/* ============================================
 LARGE DESKTOP (min-width: 1440px)
============================================ */

@media (min-width: 1440px) {
    .container {
        max-width: 1300px;
    }
    
    .container-wide {
        max-width: 1500px;
    }
}

/* ============================================
 SCROLLBAR
============================================ */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-accent);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
}

/* ============================================
 ACCESSIBILITY & MOBILE OPTIMIZATION
============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* iOS Safe Area Support */
@supports (-webkit-touch-callout: none) {
    body {
        padding-top: max(0px, calc(0px + env(safe-area-inset-top)));
    }

    .hero-section {
        margin-top: -64px;
    }
}

/* Touch-Friendly Adjustments */
@media (hover: none) and (pointer: coarse) {
    .btn,
    .feature-card,
    .faq-item,
    .info-block,
    .social-link {
        min-height: 52px;
        font-size: 16px;
    }

    .server-ip {
        padding: 20px 22px;
    }
}

/* ============================================
 LIVE ONLINE BADGE (Hero)
============================================ */

.hero-online-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(76, 175, 80, 0.15);
    border: 1px solid rgba(76, 175, 80, 0.4);
    border-radius: 50px;
    margin-bottom: 16px;
    animation: fadeInDown 0.6s ease-out;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.online-dot {
    width: 6px;
    height: 6px;
    background: #4CAF50;
    border-radius: 50%;
    animation: pulse-green 2s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.6);
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 10px rgba(76, 175, 80, 0.6); transform: scale(1); }
    50% { box-shadow: 0 0 20px rgba(76, 175, 80, 0.9); transform: scale(1.1); }
}

.online-count {
    font-size: 11px;
    font-weight: 800;
    color: #4CAF50;
}

.online-text {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 800;
}

/* ============================================
 SERVER STATS SECTION
============================================ */

.server-stats-section {
    padding: 40px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 140, 66, 0.03) 50%, transparent 100%);
}

.server-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.server-stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.server-stat-card:active {
    transform: scale(0.97);
}

.server-stat-card.stat-online {
    border-color: rgba(76, 175, 80, 0.4);
    background: rgba(76, 175, 80, 0.08);
}

.server-stat-card.stat-online .stat-number {
    color: #4CAF50;
}

.stat-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(76, 175, 80, 0.15), transparent 70%);
    pointer-events: none;
}

.stat-icon-large {
    font-size: 2rem;
}

.stat-data {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent);
    line-height: 1.1;
}

.server-stat-card .stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Online Players Section - дополнительные стили */
.online-players-list {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.online-players-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.online-players-header h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.online-refresh {
    font-size: 0.85rem;
    color: var(--accent);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 140, 66, 0.1);
    border: 1px solid rgba(255, 140, 66, 0.2);
    transition: all 0.2s ease;
}

.online-refresh:active {
    transform: scale(0.95);
}

.online-players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
}

.online-player-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

.online-player-card:active {
    transform: scale(0.95);
}

.online-player-card.online {
    border-color: rgba(76, 175, 80, 0.3);
    background: rgba(76, 175, 80, 0.05);
}

.online-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: #4CAF50;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(76, 175, 80, 0.6);
}

.online-player-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.online-player-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.online-player-time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.online-empty, .online-loading {
    text-align: center;
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.online-empty-note {
    text-align: center;
    padding: 8px 0 16px;
    color: var(--text-dark);
    font-size: 0.85rem;
}

/* Tablet */
@media (min-width: 640px) {
    .server-stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    
    .server-stat-card {
        padding: 24px 20px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .online-players-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

/* Desktop */
@media (min-width: 769px) {
    .server-stats-section {
        padding: 60px 0;
    }
    
    .server-stat-card {
        flex-direction: row;
        gap: 16px;
        padding: 28px 24px;
        text-align: left;
    }
    
    .server-stat-card:hover {
        transform: translateY(-4px);
        border-color: rgba(255, 140, 66, 0.3);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    }
    
    .stat-data {
        align-items: flex-start;
    }
    
    .stat-icon-large {
        font-size: 2.5rem;
    }
    
    .online-players-section {
        padding: 28px;
    }
    
    .online-player-card:hover {
        transform: translateY(-2px);
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 140, 66, 0.2);
    }
    
    .online-refresh:hover {
        background: rgba(255, 140, 66, 0.2);
    }
}

/* ============================================
   WARNING BANNER (Minimap)
============================================ */
.warning-banner {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.15) 0%, rgba(255, 100, 50, 0.1) 100%);
    border: 1px solid rgba(255, 68, 68, 0.35);
    border-radius: 16px;
    padding: 20px;
    margin: 24px 0;
}

.warning-icon {
    font-size: 2rem;
    flex-shrink: 0;
    animation: shake 3s ease-in-out infinite;
}

@keyframes shake {
    0%, 90%, 100% { transform: rotate(0); }
    92%, 96% { transform: rotate(-5deg); }
    94%, 98% { transform: rotate(5deg); }
}

.warning-content {
    flex: 1;
}

.warning-content strong {
    display: block;
    font-size: 1.1rem;
    color: #ff6b6b;
    margin-bottom: 6px;
}

.warning-content p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ============================================
   TOP PLAYERS SECTION
============================================ */
.players-sections-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 24px;
    align-items: stretch;
}

@media (min-width: 769px) {
    .players-sections-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.top-players-section,
.online-players-section {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 140, 66, 0.12);
    border-radius: 20px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.section-header-mini {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 140, 66, 0.1);
}

@media (min-width: 500px) {
    .section-header-mini {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.section-header-mini h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
}

.top-tabs {
    display: flex;
    gap: 8px;
}

.top-tab {
    background: rgba(255, 140, 66, 0.1);
    border: 1px solid rgba(255, 140, 66, 0.2);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.top-tab:hover {
    background: rgba(255, 140, 66, 0.15);
}

.top-tab.active {
    background: var(--gradient-accent);
    color: var(--black);
    font-weight: 700;
    border-color: transparent;
}

.top-players-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.top-player-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 14px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
}

.top-player-item:hover {
    background: rgba(255, 140, 66, 0.1);
    border-color: rgba(255, 140, 66, 0.2);
    transform: translateX(4px);
}

.top-rank {
    font-size: 1.2rem;
    min-width: 32px;
    text-align: center;
}

.top-avatar {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
}

.top-nick {
    flex: 1;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-value {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 700;
}

/* Stats grid for 3 columns */
.server-stats-grid.stats-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 640px) {
    .server-stats-grid.stats-3 {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BUTTON ICON FIX
============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-icon {
    font-size: 1.1em;
    line-height: 1;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-text {
    white-space: nowrap;
}

/* ============================================
   MAP PAGE
============================================ */
.map-page {
    min-height: 100vh;
    padding: 80px 0 40px;
}

.map-hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(20, 14, 10, 0.9) 0%, rgba(30, 18, 12, 0.9) 100%);
    border-bottom: 1px solid rgba(255, 140, 66, 0.15);
}

.map-hero h1 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 900;
    margin-bottom: 10px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.map-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.map-container {
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.map-auth-check,
.map-access-denied,
.map-login-required {
    text-align: center;
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 140, 66, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(20px);
}

.map-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    color: var(--text-muted);
}

.access-denied-icon,
.login-icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

.map-access-denied h2,
.map-login-required h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: var(--text);
}

.map-access-denied p,
.map-login-required p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.access-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 20px 0;
}

.access-list li {
    display: flex;
}

.rank-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.rank-badge.sponsor {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: white;
}

.rank-badge.magnat {
    background: linear-gradient(135deg, #FFD700, #FFA000);
    color: #333;
}

.rank-badge.youtube {
    background: linear-gradient(135deg, #FF0000, #CC0000);
    color: white;
}

.rank-badge.staff {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.access-note {
    margin-top: 20px;
}

.access-note a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

.access-note a:hover {
    text-decoration: underline;
}

.access-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

.map-frame-container {
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 140, 66, 0.15);
    border-radius: 16px;
    overflow: hidden;
}

.dynmap-frame {
    width: 100%;
    height: calc(100vh - 280px);
    min-height: 500px;
    border: none;
    display: block;
}

.map-controls {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
}

.map-control-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 140, 66, 0.3);
    background: rgba(0, 0, 0, 0.7);
    color: var(--accent);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
}

.map-control-btn:hover {
    background: rgba(255, 140, 66, 0.2);
    transform: scale(1.05);
}

.hidden {
    display: none !important;
}

/* ============================================
   MOBILE AVATAR FIX
============================================ */
.online-player-avatar,
.top-avatar,
.player-avatar-sm,
.staff-avatar {
    image-rendering: pixelated;
    image-rendering: -webkit-crisp-edges;
    background: rgba(255, 140, 66, 0.1);
    object-fit: cover;
}

/* Fallback для сломанных картинок */
img[src*="mc-heads.net"]::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent), #FFB347);
}

/* Улучшенная загрузка картинок */
img.lazy-avatar {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.lazy-avatar.loaded {
    opacity: 1;
}

/* ============================================
   GLOBAL MOBILE IMPROVEMENTS
============================================ */
@media (max-width: 480px) {
    .container,
    .container-wide {
        padding: 0 12px;
    }

    /* Hero section mobile */
    .hero-section {
        padding: 70px 0 40px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    /* Section headers */
    .section-header h2 {
        font-size: 1.3rem;
    }

    .section-header p {
        font-size: 0.85rem;
    }

    /* Cards general */
    .card,
    .feature-card,
    .info-card {
        padding: 16px;
        border-radius: 14px;
    }

    /* Buttons */
    .btn,
    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    /* Online players */
    .online-section {
        padding: 30px 0;
    }

    .online-grid {
        gap: 8px;
    }

    .online-player-card {
        padding: 10px;
    }

    .online-player-avatar {
        width: 36px;
        height: 36px;
    }

    .online-player-name {
        font-size: 0.8rem;
    }

    /* Server stats */
    .server-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .server-stat-card {
        padding: 14px;
    }

    .server-stat-value {
        font-size: 1.4rem;
    }

    .server-stat-label {
        font-size: 0.7rem;
    }

    /* Footer */
    footer {
        padding: 30px 12px;
    }

    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 360px) {
    .container,
    .container-wide {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .server-stats-grid {
        grid-template-columns: 1fr;
    }
}
