/* ============================================
   PORN PICS - STYLES GLOBAUX
   Variables, Reset, Header, Footer, Components
   ============================================ */

/* Variables CSS - Theme Clair (defaut) */
:root {
    /* Typography */
    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-tertiary: #eeeef0;
    --bg-card: #ffffff;
    --bg-hover: #f0f0f2;

    --accent-primary: #e63946;
    --accent-secondary: #ff6b7a;
    --accent-gradient: linear-gradient(135deg, #e63946 0%, #ff6b7a 100%);

    --text-primary: #1a1a1b;
    --text-secondary: #5a5a5f;
    --text-muted: #8a8a8f;

    --border-color: #e0e0e3;
    --border-light: #d0d0d3;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 20px rgba(230, 57, 70, 0.25);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;

    --header-height: 70px;
    --container-max: 1400px;
    --container-padding: 20px;
}

/* Theme Sombre */
[data-theme="dark"] {
    --bg-primary: #0a0a0b;
    --bg-secondary: #111113;
    --bg-tertiary: #1a1a1d;
    --bg-card: #151517;
    --bg-hover: #1f1f22;

    --text-primary: #ffffff;
    --text-secondary: #a0a0a5;
    --text-muted: #6b6b70;

    --border-color: #2a2a2e;
    --border-light: #3a3a3f;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(230, 57, 70, 0.4);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   TYPOGRAPHY
   Space Grotesk: Titles, headings, emphasis
   Inter: Body text, descriptions, labels
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

[data-theme="dark"] .header {
    background: rgba(10, 10, 11, 0.95);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.header__logo-icon {
    font-size: 1.8rem;
    color: var(--accent-primary);
}

.header__logo-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.header__nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header__nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    transition: all var(--transition-fast);
}

.header__nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.header__nav-link.active {
    color: var(--accent-primary);
    background: rgba(230, 57, 70, 0.1);
}

.header__nav-link i {
    font-size: 1.1rem;
}

/* Search */
.header__search {
    position: relative;
    margin: 0 20px;
}

.header__search-input {
    width: 280px;
    padding: 10px 16px 10px 44px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.header__search-input::placeholder {
    color: var(--text-muted);
}

.header__search-input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
    width: 320px;
}

.header__search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
}

.header__search-input:focus + .header__search-icon,
.header__search:focus-within .header__search-icon {
    color: var(--accent-primary);
}

/* Actions */
.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    transition: all var(--transition-fast);
}

.header__btn:hover {
    color: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* Bouton connexion - toujours rouge avec icone blanche */
.header__btn--primary {
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 10px 20px;
    width: auto;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.header__btn--primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

/* Mobile menu toggle */
.header__mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.header__mobile-toggle:hover {
    background: var(--bg-hover);
}

.header__mobile-toggle.active {
    color: var(--accent-primary);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background: var(--bg-primary);
    border-left: 1px solid var(--border-color);
    z-index: 1001;
    flex-direction: column;
    transition: right var(--transition-normal);
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu__overlay {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.mobile-menu__overlay.active {
    pointer-events: auto;
    opacity: 1;
}

.mobile-menu__nav {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: -0.01em;
    transition: all var(--transition-fast);
}

.mobile-menu__link:hover {
    background: var(--bg-hover);
}

.mobile-menu__link.active {
    background: rgba(230, 57, 70, 0.1);
    color: var(--accent-primary);
}

.mobile-menu__link i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.mobile-menu__search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    margin: 0 16px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
}

.mobile-menu__search i {
    color: var(--text-muted);
}

.mobile-menu__search input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
}

.mobile-menu__search input::placeholder {
    color: var(--text-muted);
}

.mobile-menu__footer {
    margin-top: auto;
    padding: 16px;
    border-top: 1px solid var(--border-color);
}

.mobile-menu__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.mobile-menu__btn .fad {
    --fa-primary-color: #ffffff !important;
    --fa-secondary-color: #ffffff !important;
    --fa-secondary-opacity: 0.7;
}

/* ============================================
   SUBHEADER - Filtres
   ============================================ */
.subheader {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: 50px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    z-index: 999;
}

.subheader__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 16px;
}

.subheader__filters {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.subheader__filters::-webkit-scrollbar {
    display: none;
}

.filter-pill {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    white-space: nowrap;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.filter-pill:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.filter-pill.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.filter-pill i {
    font-size: 0.9rem;
}

.subheader__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Subheader Search */
.subheader__search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-width: 200px;
    transition: all var(--transition-fast);
}

.subheader__search:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.subheader__search i {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.subheader__search:focus-within i {
    color: var(--accent-primary);
}

.subheader__search input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.85rem;
    outline: none;
}

.subheader__search input::placeholder {
    color: var(--text-muted);
}

/* Theme Toggle */
.theme-toggle {
    position: relative;
    width: 70px;
    height: 34px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 17px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    border-color: var(--accent-primary);
}

.theme-toggle__icon {
    font-size: 14px;
    z-index: 1;
    transition: all var(--transition-fast);
}

/* Mode LIGHT : icônes en NOIR */
.theme-toggle__icon--light.fad,
.theme-toggle__icon--dark.fad {
    color: #1a1a1b !important;
    --fa-primary-color: #1a1a1b !important;
    --fa-secondary-color: #1a1a1b !important;
    --fa-secondary-opacity: 0.6 !important;
}

.theme-toggle__slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 26px;
    height: 26px;
    background: var(--accent-gradient);
    border-radius: 50%;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

/* Dark theme toggle state */
[data-theme="dark"] .theme-toggle__slider {
    left: calc(100% - 29px);
}

/* Mode DARK : icônes en BLANC */
[data-theme="dark"] .theme-toggle__icon--light.fad,
[data-theme="dark"] .theme-toggle__icon--dark.fad {
    color: #ffffff !important;
    --fa-primary-color: #ffffff !important;
    --fa-secondary-color: #ffffff !important;
    --fa-secondary-opacity: 0.6 !important;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main {
    flex: 1;
    padding-top: calc(var(--header-height) + 50px);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 48px 0 24px;
    margin-top: auto;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer__brand {
    max-width: 280px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.footer__logo-icon {
    font-size: 1.6rem;
    color: var(--accent-primary);
}

.footer__description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.footer__social-link:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}

.footer__column-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer__link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--accent-primary);
}

.footer__link i {
    font-size: 0.8rem;
    opacity: 0.6;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 16px;
}

.footer__copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer__legal {
    display: flex;
    gap: 24px;
}

.footer__legal-link {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer__legal-link:hover {
    color: var(--text-secondary);
}

/* Age verification badge */
.age-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: var(--radius-md);
    color: var(--accent-primary);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ============================================
   BREADCRUMB (shared)
   ============================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--accent-primary);
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.5;
}

/* ============================================
   LOAD MORE BUTTON (shared)
   ============================================ */
.load-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.load-more__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: all var(--transition-fast);
}

.load-more__btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.load-more__btn i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(4px); }
    60% { transform: translateY(2px); }
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    padding: 20px 0;
}

.pagination__pages {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pagination__page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.pagination__page:hover {
    background: var(--bg-hover);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.pagination__page--current {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
    pointer-events: none;
}

.pagination__dots {
    padding: 0 8px;
    color: var(--text-muted);
    font-size: 1rem;
}

.pagination__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: all var(--transition-fast);
}

.pagination__btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
}

.pagination__btn i {
    font-size: 0.85rem;
}

.pagination__btn:hover i {
    --fa-primary-color: #ffffff;
    --fa-secondary-color: #ffffff;
}

/* Pagination responsive */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }

    .pagination__page {
        min-width: 38px;
        height: 38px;
        padding: 0 10px;
        font-size: 0.85rem;
    }

    .pagination__btn {
        padding: 10px 14px;
        font-size: 0.85rem;
    }

    .pagination__btn span {
        display: none;
    }
}

@media (max-width: 480px) {
    .pagination__pages {
        gap: 4px;
    }

    .pagination__page {
        min-width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-accent {
    color: var(--accent-primary);
}

.text-muted {
    color: var(--text-muted);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   FONT AWESOME DUOTONE CUSTOMIZATION
   ============================================ */
.fad {
    --fa-primary-color: var(--text-primary);
    --fa-secondary-color: var(--accent-primary);
    --fa-secondary-opacity: 0.7;
}

/* Logo icon - toujours rouge */
.header__logo-icon.fad {
    --fa-primary-color: var(--accent-primary);
    --fa-secondary-color: var(--accent-secondary);
    --fa-secondary-opacity: 0.8;
}

/* ========== THEME CLAIR ========== */
/* Header icons - theme clair */
.header__nav-link .fad,
.header__mobile-toggle .fad {
    --fa-primary-color: #4a4a4f;
    --fa-secondary-color: var(--accent-primary);
    --fa-secondary-opacity: 0.5;
}

/* Boutons header (hors primary) - theme clair */
.header__btn:not(.header__btn--primary) .fad {
    --fa-primary-color: #4a4a4f;
    --fa-secondary-color: var(--accent-primary);
    --fa-secondary-opacity: 0.5;
}

.header__nav-link:hover .fad,
.header__btn:not(.header__btn--primary):hover .fad {
    --fa-primary-color: var(--accent-primary);
    --fa-secondary-color: var(--accent-secondary);
    --fa-secondary-opacity: 0.7;
}

.header__nav-link.active .fad {
    --fa-primary-color: var(--accent-primary);
    --fa-secondary-color: var(--accent-secondary);
    --fa-secondary-opacity: 0.8;
}

/* Subheader icons - theme clair */
.filter-pill .fad {
    --fa-primary-color: currentColor;
    --fa-secondary-color: var(--accent-primary);
    --fa-secondary-opacity: 0.5;
}

.filter-pill.active .fad {
    --fa-primary-color: #ffffff;
    --fa-secondary-color: #ffffff;
    --fa-secondary-opacity: 0.7;
}

/* ========== THEME SOMBRE ========== */
/* Header icons - theme sombre */
[data-theme="dark"] .header__nav-link .fad,
[data-theme="dark"] .header__mobile-toggle .fad {
    --fa-primary-color: #ffffff;
    --fa-secondary-color: var(--accent-primary);
    --fa-secondary-opacity: 0.8;
}

/* Boutons header (tous) - theme sombre : icones blanches */
[data-theme="dark"] .header__actions .header__btn .fad {
    --fa-primary-color: #ffffff !important;
    --fa-secondary-color: #ffffff !important;
    --fa-secondary-opacity: 0.7;
}

[data-theme="dark"] .header__actions .header__btn:hover .fad {
    --fa-secondary-opacity: 1;
}

[data-theme="dark"] .header__nav-link:hover .fad {
    --fa-primary-color: var(--accent-primary);
    --fa-secondary-color: #ff8a94;
    --fa-secondary-opacity: 0.9;
}

[data-theme="dark"] .header__nav-link.active .fad {
    --fa-primary-color: var(--accent-primary);
    --fa-secondary-color: #ff8a94;
}

/* ========== BOUTON CONNEXION - TOUJOURS BLANC ========== */
.header__btn--primary .fad,
.header__btn--primary:hover .fad,
[data-theme="dark"] .header__btn--primary .fad,
[data-theme="dark"] .header__btn--primary:hover .fad {
    --fa-primary-color: #ffffff !important;
    --fa-secondary-color: #ffffff !important;
    --fa-secondary-opacity: 0.8;
}

/* ============================================
   HEADER THEME TOGGLE (Mobile only - hidden by default)
   ============================================ */
.header__theme-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.header__theme-toggle:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.header__theme-toggle i {
    transition: transform 0.3s ease;
}

/* Show sun in light mode, moon in dark mode */
.header__theme-toggle .fa-moon {
    display: none;
}

[data-theme="dark"] .header__theme-toggle .fa-sun-bright {
    display: none;
}

[data-theme="dark"] .header__theme-toggle .fa-moon {
    display: block;
}

/* ============================================
   MOBILE BOTTOM NAVIGATION BAR (hidden by default)
   ============================================ */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    z-index: 1000;
    padding: 0 16px;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

[data-theme="dark"] .mobile-bottom-nav {
    background: var(--bg-secondary);
}

.mobile-bottom-nav__container {
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 16px;
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-bottom-nav__item i {
    font-size: 1.3rem;
    transition: transform var(--transition-fast);
}

.mobile-bottom-nav__item:hover,
.mobile-bottom-nav__item:active {
    color: var(--accent-primary);
}

.mobile-bottom-nav__item:hover i,
.mobile-bottom-nav__item:active i {
    transform: scale(1.1);
}

.mobile-bottom-nav__item.active {
    color: var(--accent-primary);
}

.mobile-bottom-nav__item.active i {
    --fa-primary-color: var(--accent-primary);
    --fa-secondary-color: var(--accent-secondary);
}

/* Search modal trigger styling */
.mobile-bottom-nav__item--search {
    position: relative;
}

/* Mobile Search Bar - above sticky nav */
.mobile-search-bar {
    display: none;
    position: fixed;
    bottom: 64px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 12px 16px;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.25s ease;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0));
}

.mobile-search-bar.active {
    transform: translateY(0);
}

[data-theme="dark"] .mobile-search-bar {
    background: var(--bg-secondary);
}

.mobile-search-bar__input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    width: 100%;
}

.mobile-search-bar__input:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.mobile-search-bar__input i {
    color: var(--text-muted);
    font-size: 1rem;
    flex-shrink: 0;
}

.mobile-search-bar__input:focus-within i {
    color: var(--accent-primary);
}

.mobile-search-bar__input input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    min-width: 0;
}

.mobile-search-bar__input input::placeholder {
    color: var(--text-muted);
}

.mobile-search-bar__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.mobile-search-bar__close:hover {
    color: var(--accent-primary);
    background: var(--bg-hover);
}

/* ============================================
   RESPONSIVE - GLOBAL
   ============================================ */
/* ============================================
   RESPONSIVE - 1200px (MOBILE BREAKPOINT)
   ============================================ */
@media (max-width: 1200px) {
    :root {
        --header-height: 56px;
        --container-padding: 16px;
    }

    /* Add padding for bottom nav */
    body {
        padding-bottom: 70px;
    }

    /* HEADER MOBILE */
    .header__container {
        justify-content: space-between;
    }

    .header__nav {
        display: none;
    }

    .header__search {
        display: none;
    }

    .header__mobile-toggle {
        display: flex;
        order: 3;
    }

    .header__logo {
        font-size: 1.3rem;
        gap: 8px;
        flex: 0 0 auto;
    }

    .header__logo-icon {
        font-size: 1.5rem;
    }

    .header__actions {
        gap: 8px;
        margin-left: auto;
        margin-right: 8px;
    }

    .header__btn {
        width: 38px;
        height: 38px;
    }

    .header__btn--primary span {
        display: none;
    }

    .header__btn--primary {
        width: 38px;
        height: 38px;
        padding: 0;
        justify-content: center;
    }

    /* Theme toggle in header on mobile */
    .header__theme-toggle {
        display: flex !important;
    }

    /* MOBILE MENU */
    .mobile-menu {
        display: flex;
    }

    .mobile-menu__overlay {
        display: block;
    }

    /* HIDE SUBHEADER - replaced by bottom nav */
    .subheader {
        display: none !important;
    }

    /* SHOW BOTTOM NAV */
    .mobile-bottom-nav {
        display: block;
    }

    /* SHOW SEARCH BAR (hidden by default, shown via JS) */
    .mobile-search-bar {
        display: block;
    }

    /* MAIN CONTENT - only header height (no subheader) */
    .main {
        padding-top: var(--header-height);
    }

    /* FOOTER */
    .footer__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__brand {
        grid-column: span 2;
        max-width: 100%;
    }
}

/* ============================================
   RESPONSIVE - 1024px (Tablets)
   ============================================ */
@media (max-width: 1024px) {
    /* Additional tablet adjustments */
}

/* ============================================
   TABLET - 768px
   ============================================ */
@media (max-width: 768px) {
    :root {
        --container-padding: 12px;
    }

    .header__logo {
        font-size: 1.2rem;
    }

    .header__logo-icon {
        font-size: 1.4rem;
    }

    .header__actions {
        gap: 6px;
        margin-right: 6px;
    }

    .header__btn {
        width: 36px;
        height: 36px;
    }

    .header__btn--primary {
        width: 36px;
        height: 36px;
    }

    /* FOOTER */
    .footer {
        padding: 32px 0 20px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 28px;
    }

    .footer__brand {
        grid-column: span 1;
        text-align: center;
    }

    .footer__logo {
        justify-content: center;
        margin-bottom: 12px;
    }

    .footer__description {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__column {
        text-align: center;
    }

    .footer__column-title {
        margin-bottom: 14px;
    }

    .footer__links {
        gap: 10px;
    }

    .footer__link {
        justify-content: center;
        padding: 6px 0;
        font-size: 0.95rem;
    }

    .footer__link i {
        display: none;
    }

    .footer__bottom {
        flex-direction: column;
        text-align: center;
        gap: 14px;
        padding-top: 20px;
    }

    .footer__legal {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .footer__legal-link {
        font-size: 0.8rem;
    }

    .age-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .breadcrumb {
        font-size: 0.75rem;
        gap: 6px;
    }
}

/* ============================================
   SMALL MOBILE - 480px
   ============================================ */
@media (max-width: 480px) {
    :root {
        --container-padding: 10px;
    }

    /* HEADER SMALL */
    .header__logo-text {
        font-size: 1rem;
    }

    .header__btn--primary {
        width: 32px;
        height: 32px;
    }

    .header__btn--primary i {
        font-size: 0.9rem;
    }

    .header__btn {
        width: 32px;
        height: 32px;
    }

    .header__theme-toggle {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    /* PAGINATION SMALL */
    .pagination {
        gap: 6px;
    }

    .pagination__btn {
        padding: 8px 12px;
    }

    .pagination__page {
        min-width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    /* FOOTER SMALL */
    .footer__column:not(:first-child):not(:nth-child(2)) {
        display: none;
    }

    .footer__grid {
        gap: 24px;
    }

    .footer__legal {
        gap: 12px;
    }

    .footer__copyright {
        font-size: 0.75rem;
    }
}

