* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #070b14;
    font-family: 'Montserrat', sans-serif;
    color: #eef2ff;
    line-height: 1.5;
    overflow-x: hidden;
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 20% 30%, #0f172a, #02040a);
    z-index: 0;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, rgba(59,130,246,0.03) 0px, rgba(59,130,246,0.03) 2px, transparent 2px, transparent 8px);
    pointer-events: none;
}

.animated-bg::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 60%);
    animation: slowRotate 30s linear infinite;
    pointer-events: none;
}

@keyframes slowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.glow-orb {
    position: fixed;
    top: 20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
    filter: blur(80px);
    animation: float 12s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.glow-orb-left {
    left: -10%;
    top: 60%;
    background: radial-gradient(circle, rgba(96,165,250,0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -20px); }
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

.header {
    position: sticky;
    top: 0;
    background: rgba(7, 11, 20, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    z-index: 100;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo img {
    height: 50px;
    width: auto;
    transition: transform 0.2s;
}

.logo img:hover {
    transform: scale(0);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #cdd9f4;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #3b82f6;
}

.btn-primary {
    background: #3b82f6;
    border: none;
    padding: 10px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    color: white;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid #3b82f6;
    padding: 9px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    color: #3b82f6;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.btn-outline:hover {
    background: #3b82f6;
    color: #ffffff;
}

.hero {
    padding: 110px 0 80px;
}

.hero-tag {
    display: inline-block;
    background: rgba(59, 130, 246, 0.12);
    padding: 5px 14px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #90b4ff;
    margin-bottom: 28px;
    border-radius: 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    font-family: 'Montserrat', sans-serif;
}

.hero h1 span {
    color: #3b82f6;
}

.hero p {
    font-size: 1rem;
    color: #a0acd3;
    max-width: 560px;
    margin: 28px 0 0;
    line-height: 1.6;
}

.stats-row {
    display: flex;
    gap: 64px;
    margin-top: 80px;
    flex-wrap: wrap;
}

.stat-item h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

.stat-item p {
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: #8e9bc2;
    font-weight: 500;
}

.section-header {
    margin: 70px 0 32px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.section-header p {
    color: #8a98b9;
    margin-top: 8px;
    font-size: 0.9rem;
}

.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin: 45px 0 20px;
}

.tour-card {
    background: #10141f;
    border: 1px solid #22283a;
    border-radius: 20px;
    transition: all 0.25s ease;
    overflow: hidden;
}

.tour-card:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -15px rgba(0,0,0,0.4);
}

.tour-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(16,20,31,0.3), rgba(16,20,31,0.85));
    display: flex;
    align-items: center;
    justify-content: center;
}

.tour-image i {
    font-size: 3rem;
    color: #3b82f6;
    text-shadow: 0 0 10px rgba(59,130,246,0.5);
    z-index: 2;
}

.tour-content {
    padding: 28px;
}

.tour-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

.tour-meta {
    display: flex;
    gap: 20px;
    font-size: 0.7rem;
    color: #8f9dc7;
    margin: 14px 0 12px;
}

.tour-prize {
    font-size: 1.7rem;
    font-weight: 800;
    color: #facc15;
    margin: 14px 0 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin: 40px 0;
}

.feature-card {
    background: rgba(16, 20, 31, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid #22283a;
    border-radius: 20px;
    padding: 32px 24px;
    transition: all 0.25s;
    text-align: center;
}

.feature-card:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
}

.feature-card i {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.85rem;
    color: #9aa9c9;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.news-card {
    background: #10141f;
    border: 1px solid #22283a;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.25s;
}

.news-card:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
}

.news-image {
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: #1e293b;
}

.news-content {
    padding: 24px;
}

.news-date {
    font-size: 0.7rem;
    color: #8e9bc2;
    margin-bottom: 8px;
}

.news-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.news-content p {
    font-size: 0.8rem;
    color: #9aa9c9;
}

.info-panel {
    background: rgba(16, 20, 31, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 50px 45px;
    margin: 80px 0;
    border: 1px solid rgba(59,130,246,0.2);
}

.info-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: center;
}

.rank-table {
    background: rgba(16, 20, 31, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid #22283a;
    border-radius: 24px;
    overflow: hidden;
    margin: 20px 0 50px;
}

.ranking-header {
    display: grid;
    grid-template-columns: 70px 1fr 120px 100px 100px;
    background: #0a0e18;
    padding: 16px 24px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8e9bc2;
    border-bottom: 1px solid #1f2538;
}

.ranking-row {
    display: grid;
    grid-template-columns: 70px 1fr 120px 100px 100px;
    padding: 16px 24px;
    border-bottom: 1px solid #1a2035;
    transition: background 0.2s;
    align-items: center;
}

.ranking-row:hover {
    background: rgba(59, 130, 246, 0.05);
}

.rank-number {
    font-weight: 800;
    color: #3b82f6;
    font-size: 1.1rem;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.team-icon {
    width: 36px;
    height: 36px;
    background: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #3b82f6;
}

.team-name {
    font-weight: 700;
}

.elo-points {
    font-weight: 700;
    color: #facc15;
}

.prize-money {
    font-weight: 600;
    color: #a0acd3;
}

.trend-up {
    color: #22c55e;
}

.trend-down {
    color: #ef4444;
}

.ranking-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 30px 0 40px;
    border-bottom: 1px solid #1f2538;
    padding-bottom: 20px;
}

.filter-btn {
    background: transparent;
    border: 1px solid #2a3148;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #cdd9f4;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Montserrat', sans-serif;
}

.filter-btn.active {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
}

.filter-btn:hover:not(.active) {
    border-color: #3b82f6;
    color: #3b82f6;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin: 40px 0 60px;
}

.about-card {
    background: rgba(16, 20, 31, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid #22283a;
    border-radius: 24px;
    padding: 32px;
    transition: all 0.25s;
}

.about-card:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
}

.about-card i {
    font-size: 2.8rem;
    color: #3b82f6;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-card p {
    color: #9aa9c9;
    line-height: 1.6;
}

.stats-banner {
    background: rgba(16, 20, 31, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid #2a3148;
    border-radius: 28px;
    padding: 50px 40px;
    margin: 50px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 40px;
    text-align: center;
}

.stats-banner .stat {
    min-width: 140px;
}

.stats-banner h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3b82f6;
}

.stats-banner p {
    font-size: 0.8rem;
    color: #8e9bc2;
    margin-top: 8px;
}

.mission-box {
    background: linear-gradient(135deg, #0f172a, #02040a);
    border: 1px solid #3b82f6;
    border-radius: 28px;
    padding: 50px 45px;
    margin: 60px 0;
    text-align: center;
}

.mission-box h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.mission-box p {
    color: #b0bbdf;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin: 50px 0 70px;
}

.partner {
    background: rgba(16, 20, 31, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid #2a3148;
    border-radius: 20px;
    padding: 20px 40px;
    font-weight: 700;
    color: #cdd9f4;
    transition: all 0.2s;
}

.partner:hover {
    border-color: #3b82f6;
    transform: scale(1.02);
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin: 50px 0 70px;
}

.contact-form {
    flex: 1.2;
    background: rgba(16, 20, 31, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid #22283a;
    border-radius: 28px;
    padding: 40px;
}

.contact-form h3 {
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input, .input-group textarea {
    width: 100%;
    background: #0f1420;
    border: 1px solid #2a3148;
    border-radius: 12px;
    padding: 14px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: #eef2ff;
    transition: border 0.2s;
}

.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.input-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    flex: 0.8;
    background: rgba(16, 20, 31, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid #22283a;
    border-radius: 28px;
    padding: 40px;
}

.contact-info h3 {
    font-size: 1.6rem;
    margin-bottom: 28px;
}

.info-block {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.info-block i {
    width: 44px;
    height: 44px;
    background: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #3b82f6;
}

.info-block div p:first-child {
    font-weight: 700;
    margin-bottom: 4px;
}

.info-block div p:last-child, .info-block div a {
    color: #9aa9c9;
    text-decoration: none;
    font-size: 0.85rem;
}

.info-block div a:hover {
    color: #3b82f6;
}

.social-contact {
    margin-top: 32px;
    display: flex;
    gap: 24px;
}

.social-contact i {
    font-size: 1.6rem;
    color: #8e9bc2;
    transition: color 0.2s;
    cursor: pointer;
}

.social-contact i:hover {
    color: #3b82f6;
}

.map-placeholder {
    width: 100%;
    height: 280px;
    background: #0f1420;
    border: 1px solid #2a3148;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0 50px;
    color: #8e9bc2;
    font-size: 0.9rem;
}

.cta-block {
    background: rgba(16, 20, 31, 0.7);
    backdrop-filter: blur(8px);
    border: 1px solid #2a3148;
    border-radius: 28px;
    padding: 65px 40px;
    text-align: center;
    margin: 80px 0;
    transition: border 0.2s;
}

.cta-block:hover {
    border-color: #3b82f6;
}

.footer {
    border-top: 1px solid #1e2438;
    padding: 65px 0 45px;
    margin-top: 40px;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 60px;
}

.social-icons i {
    font-size: 1.3rem;
    margin-right: 28px;
    color: #8e9bc2;
    transition: color 0.2s;
    cursor: pointer;
}

.social-icons i:hover {
    color: #3b82f6;
}

.tournaments-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin: 30px 0 50px;
}

@media (max-width: 860px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none;
    }
    .mobile-menu-icon {
        display: block;
        font-size: 1.5rem;
        color: #ffffff;
        cursor: pointer;
    }
    .container {
        padding: 0 20px;
    }
    .ranking-header, .ranking-row {
        grid-template-columns: 50px 1fr 80px 70px 70px;
        gap: 8px;
        font-size: 0.7rem;
        padding: 12px 16px;
    }
    .team-icon {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    .stats-banner {
        flex-direction: column;
        align-items: center;
    }
    .contact-wrapper {
        flex-direction: column;
    }
}

.mobile-menu-icon {
    display: none;
}

.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    background: #10141f;
    padding: 28px;
    gap: 22px;
    border: 1px solid #3b82f6;
    border-radius: 20px;
    z-index: 99;
}