:root {
    --color-brand-primary: #fc6b00;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    margin: 0;
    line-height: 1.5;
}

main.container {
    max-width: 1200px;
}

.navbar-gradient {
    padding: 12px 20px;
    background-color: var(--color-brand-primary);
    color: #fff;
}

.navbar-gradient .navbar-brand,
.navbar-gradient .nav-link {
    color: #fff;
}

.navbar-gradient .nav-link:hover,
.navbar-gradient .nav-link:focus {
    color: #f0f0f0;
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}

.navbar-gradient .navbar-brand:hover,
.navbar-gradient .navbar-brand:focus {
    color: #f0f0f0;
}

.nav-pill-desktop {
    padding: 6px 14px;
}

.brand-mark {
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-card {
    padding: 3rem 2rem;
    border-radius: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.hero-text-left,
.hero-text-right {
    max-width: 280px;
    font-size: 1rem;
}

.hero-image {
    max-height: 220px;
}

.info-section {
    border-radius: 24px;
    padding: 3rem;
}

.player-profile-card {
    border-radius: 24px;
    padding: 1.5rem;
}

.player-image {
    width: clamp(150px, 20vw, 200px);
    height: clamp(150px, 20vw, 200px);
    object-fit: cover;
    border-radius: 50%;
}

.social-btn {
    border-radius: 999px;
    padding-inline: 1.5rem;
}

.ranking-history-card,
.event-results-card,
.matches-card {
    border-radius: 24px;
    padding: 1.5rem;
}

.filters-container {
    border-radius: 16px;
    padding: 1.5rem;
}

.table-container {
    border-radius: 16px;
    overflow: hidden;
}

.table-container table {
    margin-bottom: 0;
}

.table thead {
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
}

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #fff;
}

.display-7 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 600;
}

.event-statistics {
    border-radius: 24px;
    padding: 2rem;
}

.chart-responsive {
    max-height: 400px;
    width: 100%;
}

.chart-compact {
    max-height: 200px;
    width: 100%;
}

.table-scroll-300 {
    max-height: 300px;
    overflow-y: auto;
}

.table-scroll-400 {
    max-height: 400px;
    overflow-y: auto;
}

.filter-scroll {
    max-height: 250px;
}

.table-compact-row {
    font-size: 0.8rem !important;
}

.stats-scroll {
    height: 800px;
    overflow: auto;
}

.list-tight {
    padding-left: 1em;
    margin: 0;
}

.sort-icon {
    display: inline-block;
    min-width: 1.25rem;
}

footer {
    text-align: center;
    padding: 2rem 0;
}

@media (max-width: 992px) {
    .hero-card {
        padding: 2.5rem 1.5rem;
        text-align: center;
    }

    .hero-text-left,
    .hero-text-right {
        max-width: none;
        margin-bottom: 1rem;
        text-align: center;
    }

    .navbar-gradient {
        padding: 10px 16px;
    }

    .table-container {
        overflow-x: auto;
    }
}

@media (max-width: 576px) {
    .hero-card {
        padding: 2rem 1.25rem;
    }

    .info-section {
        padding: 2rem 1.5rem !important;
    }

    .event-statistics {
        padding: 1.5rem;
    }
}

