.classifiche-storiche-page {
    padding-top: 80px;
}

/* Hero Section */
.hero-classifiche {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
                url('../images/464939088_10234948141833388_555340795505353003_n.jpg') center/cover;
    color: var(--white);
    padding: 120px 0;
    text-align: center;
    position: relative;
}

.hero-classifiche h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-classifiche p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Archivio Section */
.archivio {
    padding: 80px 0;
    background: var(--light-gray);
}

/* Year Selector Styling */
.year-selector {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.anno-select {
    appearance: none;
    padding: 15px 60px 15px 30px;
    font-size: 1.3rem;
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    background: var(--white);
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
    font-weight: 500;
    color: var(--secondary-color);
}

.year-selector::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.anno-select:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.anno-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Tabs Styling */
.classifiche-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.tab-btn {
    padding: 12px 25px;
    border: none;
    background: var(--white);
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--secondary-color);
    border: 2px solid transparent;
}

.tab-btn:hover {
    background: var(--light-gray);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(233, 188, 0, 0.3);
}

/* Content Styling */
.classifiche-content {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin: 0 auto;
    max-width: 900px;
}

.classifica-header {
    margin-bottom: 30px;
    text-align: center;
}

.classifica-header h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 10px;
}

/* Table Styling */
.classifica-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 20px;
}

.classifica-table th,
.classifica-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.classifica-table th {
    background: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.classifica-table th:first-child {
    border-top-left-radius: 10px;
}

.classifica-table th:last-child {
    border-top-right-radius: 10px;
}

.classifica-table tr:hover {
    background: var(--light-gray);
}

.classifica-table td:first-child {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Error Message Styling */
.error-message {
    padding: 20px;
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    margin: 20px 0;
    color: #856404;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-classifiche h1 {
        font-size: 2.5rem;
    }

    .hero-classifiche p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .anno-select {
        padding: 12px 50px 12px 20px;
        font-size: 1.1rem;
    }

    .classifiche-content {
        padding: 20px;
        margin: 0 15px;
    }

    .classifica-header h3 {
        font-size: 1.5rem;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .classifica-table th,
    .classifica-table td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-classifiche h1 {
        font-size: 2rem;
    }

    .anno-select {
        width: 90%;
        max-width: 280px;
    }

    .classifiche-tabs {
        flex-direction: column;
        gap: 8px;
    }

    .tab-btn {
        width: 100%;
    }
} 