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

:root {
    --bg-primary: #0d1117;
    --bg-secondary: #161b22;
    --bg-tertiary: #21262d;
    --bg-card: #161b22;
    --bg-elevated: #1c2128;
    --accent-gold: #f0ad4e;
    --accent-gold-hover: #ec971f;
    --accent-blue: #58a6ff;
    --accent-green: #3fb950;
    --accent-purple: #bc8cff;
    --text-primary: #c9d1d9;
    --text-secondary: #8b949e;
    --text-muted: #6e7681;
    --text-white: #ffffff;
    --border-default: #30363d;
    --border-muted: #21262d;
    --gradient-gold: linear-gradient(135deg, #f0ad4e 0%, #ec971f 100%);
    --gradient-purple: linear-gradient(135deg, #bc8cff 0%, #8957e5 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 3px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 6px 24px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px rgba(240, 173, 78, 0.3);
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.construction-notice {
    position: fixed;
    top: 65px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f0ad4e 0%, #ec971f 100%);
    color: #0d1117;
    padding: 12px 32px;
    border-radius: 6px;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-md);
    animation: slideDown 0.4s ease;
}

.construction-notice i {
    font-size: 18px;
    animation: rotate 2s linear infinite;
}

@keyframes slideDown {
    from {
        top: -100px;
        opacity: 0;
    }

    to {
        top: 65px;
        opacity: 1;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-default);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 28px;
    color: var(--accent-gold);
}

.logo-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.5px;
}

.logo-text .subtitle {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
    font-weight: 500;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.nav-link.active {
    color: var(--text-white);
    background: var(--bg-tertiary);
}

.nav-link i {
    font-size: 16px;
}

.btn-download-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-gold);
    color: var(--bg-primary);
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.btn-download-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    filter: blur(1px) brightness(0.3);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.92) 0%, rgba(22, 27, 34, 0.88) 100%);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-default);
    color: var(--accent-gold);
    padding: 8px 20px;
    border-radius: 24px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 32px;
    animation: fadeInDown 0.6s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.title-line {
    display: block;
    animation: fadeInUp 0.6s ease;
}

.title-line:first-child {
    color: var(--text-white);
    animation-delay: 0.1s;
    opacity: 0;
    animation-fill-mode: forwards;
}

.title-line.highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.2s;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 400;
    animation: fadeIn 0.6s ease 0.4s backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-stats-inline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-bottom: 48px;
    animation: fadeIn 0.6s ease 0.5s backwards;
    background: linear-gradient(145deg, #1a1f2e 0%, #151921 100%);
    border: 1px solid var(--border-default);
    border-radius: 16px;
    padding: 32px 56px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 60px rgba(255, 215, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

@keyframes shine {
    0% {
        left: -50%;
    }

    100% {
        left: 150%;
    }
}

.hero-stats-inline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%,
            rgba(255, 215, 0, 0.12) 0%,
            transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-stats-inline:hover::after {
    opacity: 1;
}

.hero-stats-inline:hover {
    background: #1a1d26;
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.8),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 80px rgba(255, 215, 0, 0.2);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-stats-inline {
        flex-direction: column;
        gap: 24px;
        padding: 28px 32px;
    }
}

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

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 4px;
}

.stat-text {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.status-online {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 1;
        filter: brightness(1);
    }

    50% {
        opacity: 0.85;
        filter: brightness(1.2);
    }
}

.stat-divider {
    font-size: 20px;
    color: var(--border-default);
    opacity: 0.5;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 0.6s ease 0.6s backwards;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
}

.btn-hero.primary {
    background: var(--gradient-gold);
    color: var(--bg-primary);
    box-shadow: var(--shadow-sm);
}

.btn-hero.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-hero.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.btn-hero.secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-gold);
}

.top-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-icon {
    font-size: 48px;
    margin-bottom: 16px;
    color: var(--accent-gold);
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
}

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

.top-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    padding: 24px;
    transition: all 0.2s ease;
}

.top-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-md);
}

.rank-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    min-width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 1px solid var(--border-default);
}

.rank-badge.gold {
    background: linear-gradient(135deg, #ffd700 15%, #f0ad4e 100%);
    color: var(--bg-primary);
    border-color: #ffd700;
    box-shadow: 0 0 16px rgba(255, 215, 0, 0.3);
}

.rank-badge.silver {
    background: linear-gradient(135deg, #e8e8e8 15%, #c0c0c0 100%);
    color: var(--bg-primary);
    border-color: #e8e8e8;
    box-shadow: 0 0 16px rgba(192, 192, 192, 0.3);
}

.rank-badge.bronze {
    background: linear-gradient(135deg, #e89f65 15%, #cd7f32 100%);
    color: var(--bg-primary);
    border-color: #e89f65;
    box-shadow: 0 0 16px rgba(205, 127, 50, 0.3);
}

.crown {
    position: absolute;
    top: -12px;
    right: 8px;
    font-size: 20px;
}

.card-content {
    position: relative;
}

.player-name,
.clan-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-white);
}

.player-rank,
.clan-leader {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.rank-image {
    width: 32px;
    height: 32px;
}

.player-stats {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-muted);
}

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

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-default);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    margin: 0 auto;
    display: flex;
    width: fit-content;
}

.view-all-btn:hover {
    background: var(--bg-elevated);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.features-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

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

.feature-box {
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.2s ease;
}

.feature-box:hover {
    transform: translateY(-4px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
    color: var(--accent-gold);
}

.feature-box h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-white);
}

.feature-box p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.cta-section {
    padding: 80px 0;
    text-align: center;
    background: var(--bg-secondary);
}

.cta-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-gold);
    color: var(--bg-primary);
    padding: 16px 48px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-default);
    padding: 48px 0 24px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-muted);
}

.footer-logo h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 13px;
    margin: 4px 0;
}

.disclaimer {
    font-size: 12px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .construction-notice {
        font-size: 12px;
        padding: 10px 20px;
        top: 60px;
        left: 12px;
        right: 12px;
        transform: none;
        width: auto;
    }

    .navbar .container {
        flex-direction: column;
        gap: 12px;
        padding: 12px 16px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
    }

    .hero {
        min-height: 100vh;
        padding: 140px 16px 60px;
    }

    .hero-stats-inline {
        flex-direction: column;
        gap: 16px;
        padding: 20px 24px;
    }

    .stat-divider {
        display: none;
    }

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

    .top-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .nav-link span {
        display: none;
    }

    .nav-link {
        padding: 8px 12px;
    }

    .btn-download-nav span {
        display: none;
    }

    .player-stats {
        flex-direction: column;
        gap: 12px;
    }
}