* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #ffd700;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --bg-primary: #ffffff;
    --bg-secondary: #f7fafc;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: #f8f9fa;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.logo-link:hover {
    color: var(--primary-color);
    transform: translateX(-3px);
}

.nav-years {
    display: flex;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.year-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.year-link:hover,
.year-link.active {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(102, 126, 234, 0.05);
}

.year-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.2rem;
}

/* Hero Section */
.year-review-hero {
    padding: 120px 0 60px;
    position: relative;
    overflow: hidden;
    text-align: center;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.hero-background {
    display: none;
}

.gradient-orb {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.main-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.main-title i {
    color: var(--primary-color);
}

.profile-badge-review {
    background: rgba(102, 126, 234, 0.06);
    border-radius: 20px;
    padding: 1.5rem 3rem;
    display: inline-block;
    border: 1px solid rgba(102, 126, 234, 0.15);
    margin-bottom: 1.5rem;
}

.profile-badge-review h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 0.3rem;
    font-weight: 700;
}

.username {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 500;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Rankings Section */
.rankings-section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
}

.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.stat-card:nth-child(1) { animation: none; }
.stat-card:nth-child(2) { animation: none; }
.stat-card:nth-child(3) { animation: none; }

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.stat-card.highlight-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.stat-card.highlight-card .stat-icon {
    background: var(--gradient-primary);
    color: white;
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.stat-details h3 {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-card.highlight-card .stat-value {
    color: var(--primary-color);
}

.stat-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Year Sections */
.year-section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
    background: white;
}

.year-2024 {
    background: #fafafa;
}

.year-2025 {
    background: #fafafa;
}

.year-header {
    text-align: center;
    margin-bottom: 3rem;
}

.year-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.year-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.rankings-grid {
    margin-top: 3rem;
}

.rankings-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 2rem;
}

/* Achievements Section */
.achievements-section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
    background: white;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.achievement-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.achievement-card:nth-child(1) { animation: none; }
.achievement-card:nth-child(2) { animation: none; }
.achievement-card:nth-child(3) { animation: none; }
.achievement-card:nth-child(4) { animation: none; }
.achievement-card:nth-child(5) { animation: none; }
.achievement-card:nth-child(6) { animation: none; }

.achievement-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
}

.achievement-card.highlight-achievement {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.achievement-card.highlight-achievement::before {
    display: none;
}

.achievement-card.highlight-achievement .achievement-header i,
.achievement-card.highlight-achievement .achievement-header h3,
.achievement-card.highlight-achievement .achievement-label,
.achievement-card.highlight-achievement .achievement-value {
    color: var(--text-primary);
}

.achievement-card.highlight-achievement .achievement-header i {
    color: var(--primary-color);
}

.achievement-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.achievement-card.highlight-achievement .achievement-header {
    border-bottom-color: rgba(102, 126, 234, 0.2);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.achievement-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.achievement-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 700;
}

.achievement-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.achievement-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.achievement-card.highlight-achievement .achievement-item {
    background: rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.15);
    border-radius: 10px;
}

.achievement-item:hover {
    background: rgba(0, 0, 0, 0.04);
    transform: translateX(4px);
}

.achievement-card.highlight-achievement .achievement-item:hover {
    background: rgba(102, 126, 234, 0.12);
    transform: translateX(4px);
    border-color: rgba(102, 126, 234, 0.25);
}

.achievement-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.achievement-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.achievement-value.big-number {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.achievement-value.streak {
    color: #ff6b6b;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Closing Section */
.closing-section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
    background: #f8f9fa;
}

.review-footer {
    text-align: center;
    padding: 2.5rem;
    background: white;
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.review-message {
    font-size: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.review-year {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 2rem;
}

.footer-navigation {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2rem;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.cta-button.secondary {
    background: white;
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.cta-button.secondary:hover {
    background: rgba(102, 126, 234, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

/* Footer */
.footer {
    padding: 2rem 0;
    text-align: center;
    color: var(--text-secondary);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
        flex-direction: column;
    }

    .profile-badge-review {
        padding: 1.5rem 2rem;
    }

    .profile-badge-review h2 {
        font-size: 1.8rem;
    }

    .username {
        font-size: 1.1rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-overview {
        grid-template-columns: 1fr;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
    }

    .stat-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .review-message {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }

    .year-badge {
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }

    .achievement-card {
        padding: 1.5rem;
    }
}
