/* Goodies Category - Otaku Theme Styles */

/* Variables CSS pour cohérence thématique */
:root {
    --otaku-primary: #1e40af;
    --otaku-secondary: #3b82f6;
    --otaku-accent: #f59e0b;
    --otaku-dark: #0f172a;
    --otaku-light: #f8fafc;
    --otaku-gradient: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #f59e0b 100%);
    --otaku-shadow: 0 4px 20px rgba(30, 64, 175, 0.15);
    --otaku-border: 1px solid rgba(59, 130, 246, 0.2);
}

/* Hero Section */
.hero-goodies {
    position: relative;
    min-height: 100vh;
    background: var(--otaku-gradient);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    margin-top:50px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.3) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    z-index: 2;
}

.hero-text {
    color: white;
}

.hero-title {
    margin: 0 0 2rem 0;
}

.title-accent {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 100px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--otaku-accent);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
    text-align: center;
}

/* Floating Elements Animation */
.hero-visual {
    position: relative;
    height: 400px;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-item {
    position: absolute;
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
    opacity: 0.8;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.floating-item.item-1 { top: 10%; left: 20%; animation-delay: 0s; }
.floating-item.item-2 { top: 30%; right: 10%; animation-delay: 1s; }
.floating-item.item-3 { bottom: 40%; left: 10%; animation-delay: 2s; }
.floating-item.item-4 { top: 60%; right: 30%; animation-delay: 3s; }
.floating-item.item-5 { bottom: 20%; right: 20%; animation-delay: 4s; }
.floating-item.item-6 { top: 50%; left: 50%; animation-delay: 5s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(5deg); }
    66% { transform: translateY(-10px) rotate(-5deg); }
}

/* Main Container */
.main-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Floating Sidebar */
.floating-sidebar {
    position: fixed;
    right: -320px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    max-height: 80vh;
    background: white;
    border-radius: 20px 0 0 20px;
    box-shadow: var(--otaku-shadow);
    border: var(--otaku-border);
    z-index: 100;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.floating-sidebar.active {
    right: 0;
}

.sidebar-toggle {
    position: absolute;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 60px;
    background: var(--otaku-gradient);
    border-radius: 15px 0 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--otaku-shadow);
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 25px rgba(30, 64, 175, 0.25);
}

.toggle-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.sidebar-content {
    padding: 1.5rem;
    height: 100%;
    overflow-y: auto;
}

.sidebar-header h3 {
    color: var(--otaku-primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    text-align: center;
    border-bottom: 2px solid var(--otaku-accent);
    padding-bottom: 0.5rem;
}

.sidebar-tool {
    background: var(--otaku-light);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    border: var(--otaku-border);
    transition: all 0.3s ease;
}

.sidebar-tool:hover {
    transform: translateY(-2px);
    box-shadow: var(--otaku-shadow);
}

.sidebar-tool h4 {
    color: var(--otaku-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Calculator Tool */
.calc-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.calc-form input {
    padding: 0.8rem;
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.calc-form input:focus {
    outline: none;
    border-color: var(--otaku-primary);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.calc-form button {
    background: var(--otaku-gradient);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calc-form button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.calc-result {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 8px;
    font-weight: 600;
    color: var(--otaku-primary);
    text-align: center;
    display: none;
}

/* Quick Navigation */
.quick-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-nav li {
    margin-bottom: 0.5rem;
}

.quick-nav a {
    display: block;
    padding: 0.7rem 1rem;
    color: var(--otaku-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    border: 1px solid transparent;
}

.quick-nav a:hover {
    background: var(--otaku-primary);
    color: white;
    transform: translateX(5px);
}

/* Stats Widget */
.stats-widget {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.stat-row span {
    font-size: 0.9rem;
    color: var(--otaku-dark);
}

.stat-row strong {
    color: var(--otaku-primary);
    font-weight: 700;
}

/* Tips Container */
.tips-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.tip {
    padding: 0.8rem;
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--otaku-accent);
    border-radius: 0 8px 8px 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--otaku-dark);
    margin: 0;
}

/* Content Main */
.content-main {
    margin-right: 0;
    transition: margin-right 0.4s ease;
}

.floating-sidebar.active ~ .content-main {
    margin-right: 320px;
}

/* Category Introduction */
.category-intro {
    margin-bottom: 4rem;
}

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

.intro-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--otaku-primary);
    margin: 0 0 1rem 0;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: var(--otaku-border);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--otaku-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.category-card:hover::before {
    opacity: 0.1;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--otaku-shadow);
}

.category-card > * {
    position: relative;
    z-index: 2;
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--otaku-primary);
    margin: 0 0 0.5rem 0;
}

.category-card p {
    color: var(--otaku-dark);
    opacity: 0.8;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.category-badge {
    display: inline-block;
    background: var(--otaku-accent);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Series Showcase */
.series-showcase {
    margin: 4rem 0;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--otaku-primary);
    text-align: center;
    margin: 0 0 3rem 0;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--otaku-accent);
    margin: 1rem auto;
    border-radius: 2px;
}

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

.series-card {
    position: relative;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background-size: cover;
    background-position: center;
}

.series-card.naruto {
    background: linear-gradient(135deg, #ff6b00, #ff8c42);
}

.series-card.onepiece {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.series-card.dragonball {
    background: linear-gradient(135deg, #ff7b00, #ff9a00);
}

.series-card.attacktitan {
    background: linear-gradient(135deg, #2c1810, #8b4513);
}

.series-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.series-card:hover .series-overlay {
    background: rgba(0, 0, 0, 0.2);
}

.series-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.series-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white;
    z-index: 2;
}

.series-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.series-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0 0 0.8rem 0;
    line-height: 1.4;
}

.series-count {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Articles Section */
.articles-section {
    margin: 4rem 0;
}

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

.section-header .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--otaku-dark);
    opacity: 0.8;
    margin: 0;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: white;
    color: var(--otaku-primary);
    border: 2px solid var(--otaku-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--otaku-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--otaku-shadow);
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.article-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: var(--otaku-border);
    position: relative;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--otaku-shadow);
}

.article-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.1);
}

.article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--otaku-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.article-card:hover .article-overlay {
    opacity: 0.2;
}

.article-badges {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 3;
}

.badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    backdrop-filter: blur(10px);
}

.badge.new {
    background: rgba(34, 197, 94, 0.9);
    color: white;
}

.badge.exclusive {
    background: rgba(245, 158, 11, 0.9);
    color: white;
}

.article-content {
    padding: 1.5rem;
}

.article-title {
    margin: 0 0 1rem 0;
}

.article-title a {
    color: var(--otaku-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--otaku-secondary);
}

.article-description {
    color: var(--otaku-dark);
    opacity: 0.8;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.article-date {
    font-size: 0.9rem;
    color: var(--otaku-primary);
    font-weight: 600;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-tag {
    background: rgba(59, 130, 246, 0.1);
    color: var(--otaku-primary);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.article-actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    justify-content: center;
}

.btn-primary {
    background: var(--otaku-gradient);
    color: white;
    flex: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--otaku-primary);
    border: 2px solid var(--otaku-primary);
}

.btn-secondary:hover {
    background: var(--otaku-primary);
    color: white;
    transform: translateY(-2px);
}

.btn-icon {
    font-size: 1rem;
}

/* Load More Section */
.load-more-section {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
}

.btn-load-more {
    background: var(--otaku-gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-load-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
}

.load-info {
    margin-top: 1rem;
    color: var(--otaku-dark);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* No Articles */
.no-articles {
    text-align: center;
    padding: 4rem 2rem;
}

.no-articles-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-articles-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
    opacity: 0.6;
}

.no-articles h2 {
    color: var(--otaku-primary);
    margin: 0 0 1rem 0;
    font-size: 2rem;
    font-weight: 700;
}

.no-articles p {
    color: white;
    opacity: 0.8;
    line-height: 1.6;
    margin: 0;
}

/* Collection Guide */
.collection-guide {
    margin: 4rem 0;
    padding: 3rem 0;
    background: var(--otaku-light);
    border-radius: 20px;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
}

.guide-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: var(--otaku-border);
    transition: all 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--otaku-shadow);
}

.guide-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.guide-card h3 {
    color: var(--otaku-primary);
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
}

.guide-card p {
    color: var(--otaku-dark);
    opacity: 0.8;
    line-height: 1.5;
    margin: 0 0 1.5rem 0;
}

.guide-tips {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-tips li {
    padding: 0.5rem 0;
    color: var(--otaku-primary);
    position: relative;
    font-weight: 500;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.guide-tips li:last-child {
    border-bottom: none;
}

.guide-tips li::before {
    content: '✓';
    color: var(--otaku-accent);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Comparison Table */
.comparison-section {
    margin: 4rem 0;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: var(--otaku-shadow);
    border: var(--otaku-border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 800px;
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.comparison-table th {
    background: var(--otaku-gradient);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.comparison-table td {
    font-size: 0.95rem;
}

.table-row-highlight {
    background: rgba(30, 64, 175, 0.05);
}

.type-icon {
    font-size: 1.5rem;
    margin-right: 0.8rem;
    vertical-align: middle;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.star {
    color: #e5e5e5;
    font-size: 1.2rem;
}

.star.filled {
    color: var(--otaku-accent);
}

.recommendation {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
}

.recommendation.excellent {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
}

.recommendation.good {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

/* Responsive Design */
@media (max-width: 768px) {
    .floating-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .floating-sidebar.active ~ .content-main {
        margin-right: 0;
    }
    
    .sidebar-toggle {
        left: -45px;
        width: 45px;
        height: 50px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .series-grid {
        grid-template-columns: 1fr;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .filter-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .article-actions {
        flex-direction: column;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }
    
    .comparison-table {
        font-size: 0.8rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.8rem 0.5rem;
    }
    
    /* Table responsive sur mobile */
    @media (max-width: 600px) {
        .comparison-table,
        .comparison-table thead,
        .comparison-table tbody,
        .comparison-table th,
        .comparison-table td,
        .comparison-table tr {
            display: block;
        }
        
        .comparison-table thead tr {
            position: absolute;
            top: -9999px;
            left: -9999px;
        }
        
        .comparison-table tr {
            border: 1px solid var(--otaku-border);
            border-radius: 12px;
            margin-bottom: 1rem;
            padding: 1rem;
            background: white;
        }
        
        .comparison-table td {
            border: none;
            border-bottom: 1px solid rgba(59, 130, 246, 0.1);
            position: relative;
            padding: 0.8rem 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .comparison-table td:before {
            content: attr(data-label) ": ";
            font-weight: 600;
            color: var(--otaku-primary);
        }
    }
}

@media (max-width: 480px) {
    .main-container {
        padding: 1rem;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .title-main {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .stat-item {
        width: 200px;
    }
    
    .article-card {
        margin: 0 -1rem;
        border-radius: 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

/* Animation pour les compteurs */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-number {
    animation: countUp 0.6s ease-out;
}

/* Smooth scrolling pour les ancres */
html {
    scroll-behavior: smooth;
}

/* Focus states pour l'accessibilité */
.btn:focus,
.filter-tab:focus,
.category-card:focus,
.series-card:focus {
    outline: 3px solid rgba(30, 64, 175, 0.3);
    outline-offset: 2px;
}

/* Animations d'apparition */
.article-card,
.category-card,
.guide-card,
.series-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Délais d'animation pour un effet en cascade */
.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.2s; }
.article-card:nth-child(3) { animation-delay: 0.3s; }
.article-card:nth-child(4) { animation-delay: 0.4s; }
.article-card:nth-child(5) { animation-delay: 0.5s; }
.article-card:nth-child(6) { animation-delay: 0.6s; }

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }