:root {
    --primary-color: #1e88e5;
    --secondary-color: #0d47a1;
    --accent-color: #ffca28;
    --bg-light: #f0f8ff;
    --text-main: #334155;
    --text-muted: #64748b;
    --white: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--secondary-color);
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
}

.right-col {
    background-color: var(--bg-light);
    min-height: 100vh;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0 5rem;
    text-align: center;
    background: radial-gradient(circle at 90% 10%, rgba(30, 136, 229, 0.08), transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(13, 71, 161, 0.05), transparent 40%);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Reusable Components */
.card-premium {
    background: var(--white);
    border-radius: 24px;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Action Area */
.btn-action {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1.1rem 2.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(30, 136, 229, 0.25);
    display: inline-block;
    text-decoration: none;
}

.btn-action:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(13, 71, 161, 0.3);
    color: white;
}

/* Ranking Table Section */
.ranking-table-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.ranking-table {
    margin-bottom: 0;
}

.ranking-table thead {
    background: rgba(30, 136, 229, 0.05);
}

.ranking-table th {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 1.25rem 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.02);
}

.ranking-table td {
    padding: 1.25rem 1rem;
    vertical-align: middle;
    color: var(--text-main);
}

.rank-badge {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.rank-1 {
    background: #fef3c7;
    color: #92400e;
    box-shadow: 0 4px 10px rgba(251, 191, 36, 0.3);
}

.rank-2 {
    background: #f1f5f9;
    color: #475569;
}

.rank-3 {
    background: #ffedd5;
    color: #9a3412;
}

.player-avatar-sm {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    background: #e2e8f0;
}

/* Feature Grid */
.feature-icon {
    width: 65px;
    height: 65px;
    background-color: rgba(30, 136, 229, 0.08);
    color: var(--primary-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background-color: var(--primary-color);
    color: white;
    transform: rotate(10deg) scale(1.1);
}

/* General Layout */
.section-tag {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.75rem;
}

.ranking-preview {
    background: var(--secondary-color);
    color: white;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(13, 71, 161, 0.15);
}

.ranking-preview h3,
.ranking-preview p {
    color: white;
}

.nav-link {
    color: var(--text-main) !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Animations */
.animate-slide-up {
    animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.input-rounded {
    border-radius: 25px !important;
    padding: 0.85rem 1.35rem !important;
    border: 1px solid #e2e8f0 !important;
}

.input-rounded:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.1) !important;
}

/* Custom Searchable Select */
.custom-search-select {
    position: relative;
    cursor: pointer;
}

.select-trigger {
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.35rem;
    border: 1px solid #e2e8f0;
    border-radius: 25px;
    transition: all 0.2s ease;
}

.select-trigger:hover {
    border-color: var(--primary-color);
}

.select-trigger.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.1);
}

.select-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    display: none;
    overflow: hidden;
    border: 1px solid #f1f5f9;
    animation: fadeInScale 0.2s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.search-box {
    padding: 12px 15px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    background: #f8fafc;
}

.search-box i {
    color: var(--text-muted);
    margin-right: 10px;
}

.search-box input {
    border: none;
    outline: none;
    width: 100%;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text-main);
}

.options-list {
    max-height: 280px;
    overflow-y: auto;
}

.option-item {
    padding: 12px 20px;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.option-item:hover {
    background: #f0f7ff;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

.option-item.selected {
    background: #eef2ff;
    color: var(--secondary-color);
    font-weight: 600;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Scrollbar styling */
.options-list::-webkit-scrollbar {
    width: 6px;
}

.options-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.options-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.options-list::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}