* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #142033;
    background: #f7f9fc;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e5edf5;
}

.header-inner {
    min-height: 78px;
    display: grid;
    grid-template-columns: 180px 1fr auto;
    align-items: center;
    gap: 20px;
}

.logo-wrap {
    display: flex;
    align-items: center;
    width: 180px;
    overflow: visible;
}

.logo {
    height: 54px;
    width: auto;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
}

.main-nav a {
    text-decoration: none;
    color: #334155;
    font-weight: 600;
}

.main-nav a:hover {
    color: #2563eb;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 14px;
    padding: 12px 18px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: 0.2s ease;
}

.btn-primary {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}

.btn-primary:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.btn-light {
    background: #fff;
    color: #0f172a;
    border-color: #dbe4f0;
}

.btn-light:hover {
    background: #f8fbff;
}

.btn-sm {
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 54px;
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.15), transparent 26%),
        linear-gradient(135deg, #0f172a 0%, #10244c 48%, #1d4ed8 100%);
    color: #fff;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: center;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.eyebrow {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 16px;
}

.hero-copy h1 {
    margin: 0 0 18px;
    font-size: clamp(2.3rem, 4vw, 4.2rem);
    line-height: 1.05;
}

.hero-copy p {
    margin: 0;
    max-width: 680px;
    color: rgba(255,255,255,0.9);
    font-size: 1.08rem;
    line-height: 1.7;
}

.hero-actions {
    margin-top: 24px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.welcome-note {
    margin-top: 18px !important;
    color: rgba(255,255,255,0.86) !important;
    font-weight: 600;
}

.hero-panel {
    display: flex;
    justify-content: center;
}

.hero-card {
    width: 100%;
    max-width: 460px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.18);
    backdrop-filter: blur(8px);
}

.hero-card-top {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.pill {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 700;
}

.pill-soft {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.12);
}

.hero-card h3 {
    margin: 0 0 14px;
    font-size: 1.35rem;
}

.hero-list {
    margin: 0;
    padding-left: 18px;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
}

.section {
    padding: 72px 0;
}

.section-alt {
    background: #eef4fb;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 28px;
}

.section-head.center {
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.section-kicker {
    background: #e9f0ff;
    color: #1d4ed8;
    margin-bottom: 10px;
}

.section-head h2,
.section-head.center h2 {
    margin: 0 0 10px;
    font-size: clamp(1.7rem, 2.4vw, 2.6rem);
    color: #0f172a;
}

.section-head p,
.section-head.center p {
    margin: 0;
    color: #55657b;
    line-height: 1.7;
}

.text-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: 700;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.tournament-card {
    background: #fff;
    border-radius: 22px;
    padding: 22px;
    border: 1px solid #e4ecf5;
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
}

.tournament-card.completed {
    background: #fcfdff;
}

.card-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.sport-tag,
.status-tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
}

.sport-tag {
    background: #eef4ff;
    color: #1d4ed8;
}

.status-tag {
    background: #ecfdf3;
    color: #166534;
}

.status-done {
    background: #f1f5f9;
    color: #334155;
}

.tournament-card h3 {
    margin: 0 0 14px;
    font-size: 1.28rem;
    color: #0f172a;
}

.meta-list {
    display: grid;
    gap: 10px;
    color: #55657b;
    line-height: 1.6;
}

.card-actions {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
}

.step-card {
    background: #fff;
    border-radius: 22px;
    padding: 24px;
    border: 1px solid #e4ecf5;
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.05);
}

.step-number {
    display: inline-flex;
    margin-bottom: 14px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #2563eb;
    background: #e9f0ff;
    border-radius: 999px;
    padding: 8px 11px;
}

.step-card h3 {
    margin: 0 0 10px;
}

.step-card p {
    margin: 0;
    color: #55657b;
    line-height: 1.7;
}

.cta-band {
    padding: 78px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1d4ed8 100%);
    color: #fff;
}

.cta-band-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.cta-band h2 {
    margin: 10px 0 10px;
    font-size: clamp(1.8rem, 2.6vw, 2.8rem);
}

.cta-band p {
    margin: 0;
    color: rgba(255,255,255,0.88);
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.site-footer {
    background: #0f172a;
    color: #c8d3e0;
    padding: 30px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-logo {
    height: 42px;
    width: auto;
    filter: brightness(1.06);
}

.footer-copy {
    margin: 10px 0 0;
    color: #c8d3e0;
}

.footer-links {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #dbe7f4;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

@media (max-width: 980px) {
    .hero-grid,
    .cards-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .section-head {
        flex-direction: column;
        align-items: start;
    }

    .header-inner {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 14px 0;
    }

    .main-nav {
        flex-wrap: wrap;
    }

    .header-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .logo-wrap {
        justify-content: center;
    }

    .hero {
        padding-top: 48px;
    }
}