/* ===== AEROBET CASINO - Main Stylesheet ===== */
/* Design: Dark premium casino theme with aviation accents */

:root {
    --primary: #1a1a2e;
    --primary-dark: #0f0f1a;
    --secondary: #16213e;
    --accent-gold: #d4a853;
    --accent-orange: #e8742a;
    --accent-blue: #2c5aa0;
    --accent-teal: #00c9a7;
    --text-light: #e8e8e8;
    --text-muted: #9a9ab0;
    --text-white: #ffffff;
    --border-color: #2a2a4a;
    --card-bg: #1e1e3a;
    --card-hover: #252550;
    --gradient-hero: linear-gradient(135deg, #0f0f1a 0%, #1a1a3e 50%, #0d1b2a 100%);
    --gradient-gold: linear-gradient(135deg, #d4a853, #e8742a);
    --gradient-blue: linear-gradient(135deg, #2c5aa0, #1a3a6e);
    --shadow-soft: 0 4px 20px rgba(0,0,0,0.3);
    --shadow-glow: 0 0 30px rgba(212,168,83,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.85rem;
    color: var(--accent-gold);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

h3 {
    font-size: 1.35rem;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-orange);
}

/* ===== CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER / NAV ===== */
.site-header {
    background: rgba(15, 15, 26, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    padding-top: env(safe-area-inset-top, 0);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo-link img {
    height: 42px;
    width: auto;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-desktop a {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--text-white);
    background: rgba(212, 168, 83, 0.1);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient-gold);
    color: var(--primary-dark) !important;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    -webkit-text-fill-color: var(--primary-dark);
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 168, 83, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: var(--accent-gold) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 50px;
    border: 2px solid var(--accent-gold);
    cursor: pointer;
    transition: var(--transition);
    -webkit-text-fill-color: var(--accent-gold);
    min-height: 44px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.btn-secondary:hover {
    background: rgba(212, 168, 83, 0.1);
    transform: translateY(-2px);
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
}

.burger-menu span {
    width: 28px;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== MOBILE NAV ===== */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background: rgba(15, 15, 26, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 60px 20px env(safe-area-inset-bottom, 20px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mobile-nav.active {
    display: flex;
    opacity: 1;
}

.mobile-nav a {
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 500;
    padding: 14px 32px;
    min-height: 48px;
    display: flex;
    align-items: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    width: 100%;
    max-width: 320px;
    justify-content: center;
}

.mobile-nav a:active {
    background: rgba(212, 168, 83, 0.1);
    color: var(--accent-gold);
}

.mobile-nav .btn-primary {
    margin-top: 12px;
    width: 100%;
    max-width: 320px;
    min-height: 52px;
    font-size: 1rem;
}

.mobile-nav-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.mobile-nav-close:active {
    background: rgba(255,255,255,0.1);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: var(--gradient-hero);
    padding: 60px 0 50px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,168,83,0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text .subtitle {
    display: inline-block;
    background: rgba(212, 168, 83, 0.15);
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

.hero-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    text-align: center;
}

.hero-image img {
    width: 100%;
    max-width: 520px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-item .num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent-gold);
    display: block;
}

.hero-stat-item .label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== BANNER SECTION ===== */
.banner-full {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius);
    margin: 30px 0;
    position: relative;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.banner-full:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.banner-full img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 30px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.banner-overlay .banner-title {
    color: var(--text-white);
    font-size: 1.3rem;
    font-weight: 700;
}

.banner-overlay .banner-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== SECTION COMMON ===== */
.content-section {
    padding: 60px 0;
    border-bottom: 1px solid rgba(42, 42, 74, 0.4);
}

.content-section:nth-child(even) {
    background: rgba(30, 30, 58, 0.3);
}

.section-intro {
    max-width: 800px;
    margin-bottom: 2rem;
}

.section-intro p {
    font-size: 1.02rem;
    line-height: 1.8;
}

/* ===== INFO TABLE ===== */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.info-table thead th {
    background: var(--gradient-blue);
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 14px 18px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.info-table tbody tr:hover {
    background: rgba(212, 168, 83, 0.05);
}

.info-table tbody td {
    padding: 12px 18px;
    font-size: 0.92rem;
    color: var(--text-light);
    background: var(--card-bg);
}

.info-table tbody td:first-child {
    font-weight: 600;
    color: var(--accent-gold);
    white-space: nowrap;
}

.info-table tbody tr:last-child td {
    border-bottom: none;
}

/* ===== FEATURE CARDS / GRIDS ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    background: var(--card-hover);
    border-color: rgba(212, 168, 83, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: rgba(212, 168, 83, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.4rem;
    color: var(--accent-gold);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.6rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===== CHECK LIST ===== */
.check-list {
    list-style: none;
    padding: 0;
    margin: 1.2rem 0;
}

.check-list li {
    position: relative;
    padding: 8px 0 8px 32px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-teal);
    font-weight: 700;
    font-size: 1rem;
}

/* ===== NUMBER LIST ===== */
.number-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
    margin: 1.2rem 0;
}

.number-list li {
    counter-increment: step;
    position: relative;
    padding: 10px 0 10px 48px;
    font-size: 0.95rem;
    color: var(--text-light);
    min-height: 40px;
    display: flex;
    align-items: center;
}

.number-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== BONUS CARDS ===== */
.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 1.5rem;
}

.bonus-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.bonus-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.bonus-card .bonus-badge {
    display: inline-block;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-card .bonus-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 6px;
}

.bonus-card .bonus-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* ===== FAQ ACCORDION ===== */
.faq-list {
    margin-top: 1.5rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(212, 168, 83, 0.3);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 0.98rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-gold);
}

.faq-question .faq-icon {
    font-size: 1.2rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-item.active .faq-question .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer-inner {
    padding: 0 20px 16px;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ===== PROVIDERS GRID ===== */
.providers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 14px;
    margin-top: 1.5rem;
}

.provider-badge {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 18px 12px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

.provider-badge:hover {
    border-color: var(--accent-gold);
    background: var(--card-hover);
    color: var(--accent-gold);
}

/* ===== LOCAL / FRANCE SECTION ===== */
.france-highlight {
    background: linear-gradient(135deg, #0d1b2a 0%, #1a1a3e 50%, #162447 100%);
    border: 1px solid rgba(44, 90, 160, 0.3);
    border-radius: var(--radius);
    padding: 30px;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
}

.france-highlight::before {
    content: '🇫🇷';
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 8rem;
    opacity: 0.06;
}

.france-flag-bar {
    display: flex;
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 20px;
}

.france-flag-bar .blue { flex: 1; background: #002395; }
.france-flag-bar .white { flex: 1; background: #ffffff; }
.france-flag-bar .red { flex: 1; background: #ED2939; }

/* ===== PAYMENT METHODS ===== */
.payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1.2rem;
}

.payment-badge {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 20px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-light);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-badge i {
    color: var(--accent-gold);
}

.payment-badge:hover {
    border-color: var(--accent-gold);
    background: var(--card-hover);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--primary-dark);
    border-top: 1px solid var(--border-color);
    padding: 50px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 0.95rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-badges {
    display: flex;
    gap: 14px;
    align-items: center;
}

.footer-badges span {
    font-size: 0.78rem;
    color: var(--text-muted);
    background: var(--card-bg);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(212,168,83,0.3);
    transition: var(--transition);
}

.scroll-top:hover {
    transform: translateY(-3px);
}

.scroll-top.visible {
    display: flex;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    padding: 12px 0;
    font-size: 0.82rem;
}

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

.breadcrumbs span {
    color: var(--text-muted);
    margin: 0 6px;
}

.breadcrumbs .current {
    color: var(--accent-gold);
}

/* ===== TABLE OF CONTENTS ===== */
.toc-box {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    margin: 2rem 0;
}

.toc-box h3 {
    font-size: 1rem;
    color: var(--accent-gold);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc-list {
    list-style: none;
    padding: 0;
    columns: 2;
    column-gap: 30px;
}

.toc-list li {
    padding: 5px 0;
    break-inside: avoid;
}

.toc-list li a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.toc-list li a::before {
    content: '›';
    color: var(--accent-gold);
    font-weight: 700;
}

.toc-list li a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

/* ===== RATING STARS ===== */
.rating-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 8px;
}

.rating-stars i {
    color: var(--accent-gold);
    font-size: 1rem;
}

/* ===== TOUCH DEVICE OPTIMIZATIONS ===== */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover,
    .bonus-card:hover,
    .provider-badge:hover,
    .payment-badge:hover,
    .faq-item:hover {
        transform: none;
        box-shadow: none;
    }
    .feature-card:active {
        background: var(--card-hover);
        border-color: rgba(212, 168, 83, 0.3);
    }
    .bonus-card:active {
        border-color: var(--accent-gold);
    }
}

/* ===== TABLE RESPONSIVE WRAPPER ===== */
.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
    border-radius: var(--radius);
}

.table-wrap .info-table {
    margin: 0;
    min-width: 520px;
}

/* ===== RESPONSIVE: TABLET (max 992px) ===== */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text p {
        max-width: 100%;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-image {
        order: -1;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .nav-desktop {
        display: none;
    }
    .burger-menu {
        display: flex;
    }
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .toc-list {
        columns: 1;
    }
    .container {
        padding: 0 16px;
    }
}

/* ===== RESPONSIVE: MOBILE (max 640px) ===== */
@media (max-width: 640px) {
    html {
        font-size: 15px;
    }
    .hero-section {
        padding: 24px 0 20px;
    }
    h1 {
        font-size: 1.5rem;
        line-height: 1.35;
    }
    h2 {
        font-size: 1.25rem;
        line-height: 1.35;
    }
    h3 {
        font-size: 1.1rem;
    }
    .content-section {
        padding: 32px 0;
    }
    .container {
        padding: 0 14px;
    }

    /* Header mobile */
    .header-inner {
        padding: 10px 14px;
    }
    .logo-link img {
        height: 34px;
    }
    .header-cta .btn-secondary {
        display: none;
    }
    .header-cta .btn-primary {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    .burger-menu {
        padding: 8px;
    }
    .burger-menu span {
        width: 24px;
    }

    /* Mobile nav */
    .mobile-nav a {
        font-size: 1.05rem;
        padding: 14px 24px;
        min-height: 48px;
        display: flex;
        align-items: center;
    }

    /* Hero mobile */
    .hero-text .subtitle {
        font-size: 0.75rem;
        padding: 5px 12px;
        margin-bottom: 12px;
    }
    .hero-text p {
        font-size: 0.92rem;
        margin-bottom: 1.4rem;
    }
    .hero-cta {
        flex-direction: column;
        gap: 10px;
    }
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
        font-size: 0.95rem;
        min-height: 48px;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 1.4rem;
        padding-top: 1.4rem;
    }
    .hero-stat-item {
        flex: 1 1 40%;
        min-width: 0;
    }
    .hero-stat-item .num {
        font-size: 1.3rem;
    }
    .hero-stat-item .label {
        font-size: 0.7rem;
    }
    .hero-image img {
        border-radius: var(--radius-sm);
        max-width: 100%;
    }

    /* TOC mobile */
    .toc-box {
        padding: 18px 14px;
        margin: 1.2rem 0;
    }
    .toc-list li a {
        font-size: 0.84rem;
        padding: 4px 0;
        min-height: 40px;
        display: flex;
        align-items: center;
    }

    /* Grids mobile */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .bonus-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .bonus-card {
        padding: 18px 12px;
    }
    .bonus-card .bonus-value {
        font-size: 1.5rem;
    }
    .bonus-card .bonus-label {
        font-size: 0.78rem;
        margin-bottom: 12px;
    }
    .bonus-card .bonus-badge {
        font-size: 0.68rem;
        padding: 3px 8px;
    }
    .bonus-card .btn-primary {
        padding: 10px 12px;
        font-size: 0.8rem;
        min-height: 44px;
    }
    .feature-card {
        padding: 20px 16px;
    }
    .feature-icon {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    .feature-card h3 {
        font-size: 1rem;
    }
    .feature-card p {
        font-size: 0.85rem;
    }

    /* Providers mobile */
    .providers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    .provider-badge {
        padding: 12px 6px;
        font-size: 0.75rem;
    }

    /* Payment mobile */
    .payment-grid {
        gap: 8px;
    }
    .payment-badge {
        padding: 10px 14px;
        font-size: 0.82rem;
        flex: 1 1 calc(50% - 8px);
        min-width: calc(50% - 8px);
        justify-content: center;
    }

    /* Tables mobile */
    .info-table thead th {
        padding: 10px 12px;
        font-size: 0.78rem;
    }
    .info-table tbody td {
        padding: 10px 12px;
        font-size: 0.82rem;
    }
    .info-table tbody td:first-child {
        white-space: normal;
        min-width: 110px;
    }

    /* Banners mobile */
    .banner-full {
        border-radius: var(--radius-sm);
        margin: 20px 0;
    }
    .banner-overlay {
        padding: 12px 16px;
    }
    .banner-overlay .banner-title {
        font-size: 1rem;
        line-height: 1.3;
    }
    .banner-overlay .banner-desc {
        font-size: 0.78rem;
        display: none;
    }

    /* Check/Number lists mobile */
    .check-list li {
        font-size: 0.88rem;
        padding: 6px 0 6px 28px;
    }
    .number-list li {
        font-size: 0.88rem;
        padding: 8px 0 8px 42px;
    }
    .number-list li::before {
        width: 28px;
        height: 28px;
        font-size: 0.78rem;
    }

    /* FAQ mobile */
    .faq-question {
        padding: 14px 16px;
        font-size: 0.9rem;
        min-height: 52px;
    }
    .faq-answer-inner {
        padding: 0 16px 14px;
        font-size: 0.85rem;
    }

    /* France section mobile */
    .france-highlight {
        padding: 20px 16px;
    }
    .france-highlight::before {
        font-size: 5rem;
    }

    /* Footer mobile */
    .site-footer {
        padding: 32px 0 0;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 24px;
    }
    .footer-brand img {
        height: 34px;
    }
    .footer-brand p {
        font-size: 0.82rem;
    }
    .footer-col h4 {
        font-size: 0.88rem;
        margin-bottom: 10px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 16px 0 80px;
        gap: 10px;
    }
    .footer-bottom p {
        font-size: 0.72rem;
    }
    .footer-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    .footer-badges span {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    /* Section intro mobile */
    .section-intro p {
        font-size: 0.92rem;
        line-height: 1.7;
    }

    /* Scroll top mobile */
    .scroll-top {
        bottom: 80px;
        right: 16px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }

    /* Cookie banner mobile */
    .cookie-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .cookie-inner p {
        font-size: 0.78rem;
    }
    .cookie-btn {
        width: 100%;
        padding: 12px 20px;
        min-height: 44px;
    }

    /* Rating stars */
    .rating-stars i {
        font-size: 0.88rem;
    }

    /* Breadcrumbs */
    .breadcrumbs {
        padding: 8px 0;
        font-size: 0.75rem;
    }
}

/* ===== RESPONSIVE: SMALL PHONES (max 480px) ===== */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
    h1 {
        font-size: 1.45rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    .container {
        padding: 0 12px;
    }
    .hero-section {
        padding: 18px 0 16px;
    }
    .content-section {
        padding: 26px 0;
    }

    /* Bonus grid: still 2 cols but tighter */
    .bonus-grid {
        gap: 8px;
    }
    .bonus-card {
        padding: 14px 8px;
    }
    .bonus-card .bonus-value {
        font-size: 1.35rem;
    }
    .bonus-card .bonus-label {
        font-size: 0.72rem;
    }

    /* Providers 3 col tight */
    .providers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .provider-badge {
        padding: 10px 4px;
        font-size: 0.7rem;
    }

    /* Payment full-width on very small */
    .payment-badge {
        flex: 1 1 100%;
        min-width: 100%;
    }

    /* Tables: ensure scroll hint */
    .table-wrap {
        position: relative;
    }
    .table-wrap::after {
        content: '→';
        position: absolute;
        right: 4px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--accent-gold);
        font-size: 1.2rem;
        opacity: 0.5;
        pointer-events: none;
        animation: scrollHint 1.5s ease-in-out infinite;
    }
    @keyframes scrollHint {
        0%, 100% { opacity: 0.5; transform: translateY(-50%) translateX(0); }
        50% { opacity: 1; transform: translateY(-50%) translateX(4px); }
    }
    .table-wrap.scrolled::after {
        display: none;
    }
}

/* ===== RESPONSIVE: VERY SMALL PHONES (max 360px) ===== */
@media (max-width: 360px) {
    h1 {
        font-size: 1.3rem;
    }
    h2 {
        font-size: 1.1rem;
    }
    .bonus-grid {
        grid-template-columns: 1fr;
    }
    .hero-stat-item .num {
        font-size: 1.15rem;
    }
    .providers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .logo-link img {
        height: 28px;
    }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    border-top: 1px solid var(--border-color);
    padding: 16px 20px;
    z-index: 1001;
    display: none;
}

.cookie-banner.visible {
    display: block;
}

.cookie-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-inner p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex: 1;
}

.cookie-btn {
    background: var(--gradient-gold);
    color: var(--primary-dark);
    border: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    white-space: nowrap;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Schema markup hidden */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
