/* Tee-shirts Cinéma Otaku - Styles Ultra-Créatifs V5.1 */

/* Variables Otaku */
:root {
    --otaku-primary: #1e40af;
    --otaku-secondary: #3b82f6;
    --otaku-accent: #f59e0b;
    --otaku-dark: #0f172a;
    --otaku-light: #f8fafc;
    --otaku-gradient: linear-gradient(135deg, var(--otaku-primary) 0%, var(--otaku-secondary) 100%);
    --otaku-glow: 0 0 30px rgba(59, 130, 246, 0.3);
    --cinema-red: #dc2626;
    --cinema-gold: #fbbf24;
    --anime-purple: #7c3aed;
}

/* Layout Principal */
.category-main {
    min-height: 100vh;
    background: var(--otaku-dark);
    color: var(--otaku-light);
    overflow-x: hidden;
}

/* Hero Section Cinéma */
.hero-cinema {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        var(--otaku-dark) 0%, 
        rgba(30, 64, 175, 0.8) 50%, 
        var(--otaku-dark) 100%),
        radial-gradient(circle at 30% 70%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(124, 58, 237, 0.1) 0%, transparent 50%);
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(1px);
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--otaku-accent);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 0 10px var(--otaku-accent);
}

.particle:nth-child(1) { left: 20%; animation-delay: -1s; animation-duration: 8s; }
.particle:nth-child(2) { left: 40%; animation-delay: -2s; animation-duration: 6s; }
.particle:nth-child(3) { left: 60%; animation-delay: -3s; animation-duration: 10s; }
.particle:nth-child(4) { left: 80%; animation-delay: -4s; animation-duration: 7s; }
.particle:nth-child(5) { left: 90%; animation-delay: -5s; animation-duration: 9s; }

@keyframes float {
    0%, 100% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.title-main {
    display: block;
    background: var(--otaku-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.title-sub {
    display: block;
    font-size: 0.6em;
    color: var(--otaku-accent);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(248, 250, 252, 0.9);
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--otaku-glow);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--otaku-accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--otaku-accent);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    margin: 0.5rem auto;
    border-right: 2px solid var(--otaku-accent);
    border-bottom: 2px solid var(--otaku-accent);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Sections Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Titres de Section */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--otaku-light);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.title-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 10px var(--otaku-accent));
}

/* Calculateur de Prix */
.price-calculator-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, 
        rgba(30, 64, 175, 0.1) 0%, 
        rgba(15, 23, 42, 0.9) 100%);
}

.calculator-wrapper {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(20px);
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.calculator-controls {
    display: grid;
    gap: 2rem;
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.control-group label {
    font-weight: 600;
    color: var(--otaku-accent);
    font-size: 1.1rem;
}

.calculator-select,
.calculator-range {
    padding: 1rem;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    color: var(--otaku-light);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.calculator-select:focus,
.calculator-range:focus {
    outline: none;
    border-color: var(--otaku-accent);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.calculator-range {
    appearance: none;
    height: 8px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 4px;
}

.calculator-range::-webkit-slider-thumb {
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--otaku-accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.range-value {
    font-weight: bold;
    color: var(--otaku-accent);
    font-size: 1.2rem;
}

.calculator-result {
    text-align: center;
    padding: 2rem;
    background: var(--otaku-gradient);
    border-radius: 20px;
    box-shadow: var(--otaku-glow);
}

.result-display {
    margin-bottom: 1.5rem;
}

.result-label {
    display: block;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.result-price {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.result-details p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

/* Heatmap Section */
.heatmap-section {
    padding: 5rem 0;
    background: rgba(15, 23, 42, 0.95);
}

.heatmap-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.heatmap-btn {
    padding: 1rem 2rem;
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    color: var(--otaku-light);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.heatmap-btn:hover,
.heatmap-btn.active {
    background: var(--otaku-gradient);
    transform: translateY(-2px);
    box-shadow: var(--otaku-glow);
}

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

.heatmap-item {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.heatmap-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--otaku-glow);
    border-color: var(--otaku-accent);
}

.franchise-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--otaku-accent));
}

.heatmap-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--otaku-accent);
}

.popularity-bar {
    width: 100%;
    height: 12px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.bar-fill {
    height: 100%;
    background: var(--otaku-gradient);
    border-radius: 6px;
    transition: width 0.8s ease;
    position: relative;
}

.bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.stats-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.8);
}

.collectors-count {
    color: var(--otaku-secondary);
    font-weight: 600;
}

.sales-amount {
    color: var(--otaku-accent);
    font-weight: bold;
}

/* Tableau Responsive */
.tshirt-types-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, 
        rgba(124, 58, 237, 0.1) 0%, 
        rgba(15, 23, 42, 0.9) 100%);
}

.table-responsive {
    overflow-x: auto;
    background: rgba(59, 130, 246, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(20px);
}

.otaku-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.otaku-table th {
    background: var(--otaku-gradient);
    color: white;
    padding: 1.5rem 1rem;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.otaku-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    color: var(--otaku-light);
    vertical-align: middle;
}

.otaku-table tbody tr {
    transition: all 0.3s ease;
}

.otaku-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.08);
    transform: scale(1.01);
}

.type-name strong {
    color: var(--otaku-accent);
    font-size: 1.1rem;
}

.popularity-metric {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.metric-bar {
    flex: 1;
    height: 8px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: var(--otaku-gradient);
    border-radius: 4px;
    transition: width 0.8s ease;
}

.price-cell {
    text-align: center;
}

.price-tag {
    background: var(--otaku-accent);
    color: var(--otaku-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1rem;
}

.availability {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.availability.high {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.availability.medium {
    background: rgba(245, 158, 11, 0.2);
    color: var(--otaku-accent);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.availability.low {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.recommendation {
    text-align: center;
    font-size: 1.2rem;
}

/* Grid Collection */
.collection-grid-section {
    padding: 5rem 0;
    background: var(--otaku-dark);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.collection-item {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
}

.collection-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--otaku-glow);
    border-color: var(--otaku-accent);
}

.item-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

.collection-item:hover .item-image img {
    transform: scale(1.1);
}

.item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--otaku-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.collection-item:hover .item-overlay {
    opacity: 0.9;
}

.overlay-text {
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.item-content {
    padding: 2rem;
}

.item-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--otaku-light);
    line-height: 1.3;
}

.item-description {
    color: rgba(248, 250, 252, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.item-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    color: rgba(248, 250, 252, 0.6);
}

.item-category {
    background: var(--otaku-accent);
    color: var(--otaku-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 600;
}

.item-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--otaku-gradient);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.item-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

/* Load More */
.load-more-section {
    text-align: center;
    margin-top: 3rem;
}

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

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--otaku-glow);
}

.remaining-count {
    margin-top: 1rem;
    color: rgba(248, 250, 252, 0.7);
    font-style: italic;
}

/* Conversion Calculator */
.conversion-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, 
        rgba(220, 38, 38, 0.1) 0%, 
        rgba(15, 23, 42, 0.9) 100%);
}

.conversion-calculator {
    background: rgba(59, 130, 246, 0.05);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(20px);
}

.calculator-intro {
    text-align: center;
    margin-bottom: 3rem;
    color: rgba(248, 250, 252, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
}

.calculator-form {
    margin-bottom: 3rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group label {
    font-weight: 600;
    color: var(--otaku-accent);
    font-size: 1.1rem;
}

.calc-range {
    appearance: none;
    height: 10px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.calc-range::-webkit-slider-thumb {
    appearance: none;
    width: 26px;
    height: 26px;
    background: var(--otaku-accent);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
}

.range-display {
    font-weight: bold;
    color: var(--otaku-accent);
    font-size: 1.3rem;
    text-align: center;
}

.calc-select {
    padding: 1rem;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    color: var(--otaku-light);
    font-size: 1rem;
}

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

.result-card {
    background: var(--otaku-gradient);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--otaku-glow);
}

.result-card h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-result,
.collection-result,
.passion-score {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Timeline Animations */
.scroll-animations-section {
    padding: 6rem 0;
    background: rgba(15, 23, 42, 0.98);
}

.animation-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.animation-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--otaku-gradient);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.timeline-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: var(--otaku-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 2rem;
    box-shadow: var(--otaku-glow);
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    background: rgba(59, 130, 246, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(20px);
}

.timeline-content h3 {
    font-size: 1.8rem;
    color: var(--otaku-accent);
    margin-bottom: 1rem;
    font-weight: 700;
}

.timeline-content p {
    color: rgba(248, 250, 252, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.animated-counter {
    font-size: 3rem;
    font-weight: 900;
    color: var(--otaku-secondary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Info Section */
.info-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.1) 0%, 
        rgba(15, 23, 42, 0.95) 100%);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.info-card {
    background: rgba(59, 130, 246, 0.05);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--otaku-glow);
    border-color: var(--otaku-accent);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px var(--otaku-accent));
}

.info-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--otaku-accent);
}

.info-card p {
    color: rgba(248, 250, 252, 0.9);
    line-height: 1.7;
    font-size: 1rem;
}

/* No Content */
.no-content {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(59, 130, 246, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.no-content-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px var(--otaku-accent));
}

.no-content h3 {
    font-size: 2rem;
    color: var(--otaku-accent);
    margin-bottom: 1rem;
}

.no-content p {
    color: rgba(248, 250, 252, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .calculator-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
    }
    
    .collection-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .animation-timeline::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
        margin-left: 60px;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }
    
    .timeline-icon {
        position: absolute;
        left: -90px;
        margin: 0;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .table-responsive {
        border-radius: 10px;
    }
    
    .otaku-table {
        font-size: 0.9rem;
    }
    
    .otaku-table th,
    .otaku-table td {
        padding: 1rem 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .title-icon {
        font-size: 2rem;
    }
    
    .calculator-wrapper,
    .conversion-calculator,
    .info-card {
        padding: 1.5rem;
    }
    
    .collection-grid {
        grid-template-columns: 1fr;
    }
    
    .collection-item {
        margin: 0 0.5rem;
    }
    
    .heatmap-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .heatmap-btn {
        width: 100%;
        max-width: 200px;
    }
}

/* Animations supplémentaires */
@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 0 40px rgba(59, 130, 246, 0.6); }
}

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

.calculator-result,
.info-card:hover .card-icon {
    animation: glow 3s ease-in-out infinite;
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Performance */
.collection-item,
.heatmap-item,
.info-card,
.timeline-item {
    contain: layout style paint;
}

/* États de focus pour l'accessibilité */
.load-more-btn:focus,
.calculator-select:focus,
.calc-range:focus,
.heatmap-btn:focus {
    outline: 3px solid var(--otaku-accent);
    outline-offset: 2px;
}