/* ==========================================================================
   ElkCountryFence.com - Official Modern Luxury Design System
   Unique Emerald & Gold Forest Aesthetics with Glassmorphism & High Contrast
   Robust Mobile Responsiveness, Zero Layout Shift & 2-3 Visible Cards on Mobile Entry
   ========================================================================== */

:root {
    --bg-dark: #081813;
    --bg-darker: #030b08;
    --bg-card: rgba(16, 185, 129, 0.12);
    --bg-card-border: rgba(255, 255, 255, 0.35);
    --gold-primary: #fbbf24;
    --gold-secondary: #d97706;
    --gold-gradient: linear-gradient(180deg, #fbbf24 0%, #d97706 100%);
    --gold-shadow: 3px 3px 0px 0px #ffffff;
    --emerald-accent: #34d399;
    --emerald-glow: rgba(52, 211, 153, 0.35);
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.88);
    --text-dim: rgba(255, 255, 255, 0.65);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Outfit', 'Inter', sans-serif;
}

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

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Global Text Wrap & Break Protection */
h1, h2, h3, h4, h5, h6, p, a, span, li, button {
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #030b08;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #059669 0%, #d97706 100%);
    border-radius: 5px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.28) 0%, transparent 60%),
        radial-gradient(circle at 85% 35%, rgba(5, 150, 105, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, #081813 0%, #020806 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.modal-open {
    overflow: hidden;
}

/* Accessibility Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--gold-primary);
    color: #030b08;
    padding: 10px 16px;
    font-weight: 700;
    border-radius: 6px;
    z-index: 9999;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 16px;
}

/* ==========================================================================
   Top 18+ Regulatory Notice Bar
   ========================================================================== */
.top-notice-bar {
    background: #ffffff;
    color: #000000;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    position: relative;
    z-index: 50;
    width: 100%;
}

.top-notice-bar img {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.top-notice-bar span,
.top-notice-bar p {
    color: #000000;
    font-size: 0.9rem;
}

.top-notice-bar strong {
    color: #d32f2f;
    font-weight: 700;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(8, 24, 19, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo-img {
    height: 44px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.4));
    transition: transform 0.2s ease;
}

.brand-logo-img:hover {
    transform: scale(1.03);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-primary);
    text-decoration: underline;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 6px;
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(4, 15, 11, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    padding: 20px;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-overlay.active {
    left: 0;
}

.mobile-nav-overlay .nav-link {
    font-size: 1.25rem;
    text-align: center;
}

.close-mobile-menu {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    padding: 40px 20px 24px 20px;
    text-align: center;
    width: 100%;
}

.hero-container {
    max-width: 1040px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
}

.hero-badge {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    border: 1px solid rgba(251, 191, 36, 0.5);
    color: var(--gold-primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.15);
    max-width: 100%;
    text-align: center;
}

.hero-title {
    font-family: var(--font-heading);
    color: #ffffff;
    text-align: center;
    font-size: 2.7rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.5px;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 100%;
}

.hero-subtitle {
    color: var(--text-muted);
    text-align: center;
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 840px;
    width: 100%;
    margin: 0 auto;
}

/* Hero Feature Highlights Pills */
.hero-highlights {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
    width: 100%;
}

.highlight-pill {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(8px);
}

.highlight-pill span {
    color: var(--gold-primary);
    font-weight: 800;
}

.hero-divider {
    width: 100%;
    max-width: 1280px;
    margin: 32px auto 0 auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.25) 50%, rgba(255,255,255,0) 100%);
}

/* ==========================================================================
   Cards Grid & Hidden Link System (<p> and <a>)
   ========================================================================== */
.main-content {
    padding: 40px 20px 80px 20px;
    flex: 1;
    width: 100%;
}

.section-heading {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--gold-primary);
    margin-bottom: 36px;
    letter-spacing: -0.3px;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
    width: 100%;
}

.cards-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 384px));
    justify-content: center;
    gap: 32px;
    align-items: stretch;
    list-style: none;
}

/* Card Outer Frame */
.exact-casino-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 20px 20px 20px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--bg-card-border);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.22) 0%, rgba(6, 26, 19, 0.85) 100%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    gap: 20px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
    cursor: pointer;
    width: 100%;
}

.exact-casino-card:hover {
    transform: translateY(-6px);
    border-color: var(--card-border-hover);
    box-shadow: 0 16px 45px rgba(16, 185, 129, 0.3);
}

/* Top Left Number Badge (1, 2, 3, 4) - Ultra Sharp & Clear */
.card-number-badge {
    position: absolute;
    top: -14px;
    left: -14px;
    border-radius: 8px;
    background: #ffffff;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6), 0 0 0 2.5px var(--gold-primary);
    z-index: 20;
}

.card-number-badge p {
    color: #030b08;
    text-align: center;
    font-size: 19px;
    font-weight: 900;
    line-height: 1;
    margin: 0;
}

/* Card Header: Icon & Rating Score */
.card-header-flex {
    padding: 0 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 84px;
    gap: 12px;
}

.brand-icon-box {
    display: flex;
    align-items: center;
    transition: transform 0.2s ease;
}

.exact-casino-card:hover .brand-icon-box {
    transform: scale(1.05);
}

.brand-icon-box img {
    height: 68px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

.card-score-box {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0,0,0,0.25);
    padding: 6px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.15);
    flex-shrink: 0;
}

.star-icon {
    width: 26px;
    height: 26px;
    fill: var(--gold-primary);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
    flex-shrink: 0;
}

.score-text {
    color: #ffffff;
    text-align: center;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
}

.score-text span {
    color: var(--text-dim);
    font-size: 18px;
    font-weight: 400;
}

/* Body Text Paragraph */
.card-body-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 64px;
    padding: 4px 0;
}

.card-body-text p {
    color: #ffffff;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

/* Card Button Action Box & Hidden Link <p> / <a> */
.card-action-box {
    width: 100%;
    margin-top: auto;
}

.btn-accéder {
    position: relative;
    display: block;
    width: 100%;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, filter 0.15s ease;
    overflow: hidden;
}

.btn-accéder p {
    position: relative;
    z-index: 2;
    margin: 0;
    border-radius: 12px;
    background: var(--gold-gradient);
    box-shadow: 3px 3px 0 0 #ffffff;
    color: #030b08;
    font-family: var(--font-primary);
    font-size: 18px;
    font-style: normal;
    font-weight: 900;
    line-height: 26px;
    letter-spacing: -0.3px;
    text-transform: uppercase;
    text-align: center;
    padding: 14px 8px;
    white-space: normal;
    word-break: keep-all;
}

/* Exact Hidden Link styling as requested */
.shdewenrhwer {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -5;
}

.btn-accéder:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
}

/* ==========================================================================
   Partner Badges Section
   ========================================================================== */
.partner-badges-section {
    max-width: 1280px;
    width: 100%;
    margin: 60px auto 0 auto;
    padding: 24px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
}

.partner-badges-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 24px;
    width: 100%;
}

.badge-item {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.88;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.badge-item:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.badge-img {
    height: 44px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
}

/* ==========================================================================
   Editorial Content / SEO Section & Feature Cards Grid
   ========================================================================== */
.editorial-section {
    max-width: 1000px;
    width: 100%;
    margin: 60px auto 0 auto;
    padding: 40px 32px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(14px);
}

.editorial-section h2 {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--gold-primary);
    text-align: center;
}

.editorial-section h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    margin: 32px 0 16px 0;
    color: var(--emerald-accent);
}

.editorial-section p {
    color: var(--text-muted);
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.editorial-section p strong {
    color: #ffffff;
}

/* Pillar Feature Grid in Editorial */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 24px 0;
    width: 100%;
}

.pillar-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.pillar-card h4 {
    color: var(--gold-primary);
    font-size: 1.05rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    word-break: normal;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 0.94rem;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 44px 20px 32px 20px;
    margin-top: auto;
    width: 100%;
}

.footer-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-warning-line {
    background: rgba(211, 47, 47, 0.2);
    border: 1px solid rgba(211, 47, 47, 0.5);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    color: #ff9e9e;
    font-size: 0.94rem;
    text-align: center;
    line-height: 1.55;
    width: 100%;
}

.footer-warning-line strong {
    color: #ffffff;
    font-size: 1.02rem;
}

.footer-transparency-box {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.transparency-title {
    font-family: var(--font-heading);
    color: var(--gold-primary);
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 0.5px;
}

.transparency-item h4 {
    color: var(--emerald-accent);
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.transparency-item p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.65;
}

.footer-help-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 10px;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.footer-help-links a {
    color: var(--gold-primary);
    text-decoration: underline;
    font-size: 0.92rem;
    font-weight: 700;
    word-break: break-all;
    overflow-wrap: anywhere;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
}

.copyright-text {
    color: var(--text-dim);
    font-size: 0.88rem;
}

.footer-nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    flex-wrap: wrap;
}

.footer-nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s ease;
}

.footer-nav-links a:hover {
    color: var(--gold-primary);
    text-decoration: underline;
}

/* ==========================================================================
   Age Verification Modal (18+)
   ========================================================================== */
.age-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 8, 6, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 16px;
}

.age-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.age-modal-box {
    background: linear-gradient(180deg, #0d281e 0%, #04140d 100%);
    border: 2px solid rgba(251, 191, 36, 0.45);
    border-radius: 20px;
    padding: 36px 24px;
    max-width: 480px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(16, 185, 129, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.age-modal-overlay.show .age-modal-box {
    transform: scale(1);
}

.age-modal-body h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--gold-primary);
    margin-bottom: 12px;
}

.age-modal-body p {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 20px;
}

.age-modal-help-links {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-bottom: 24px;
    word-break: break-word;
}

.age-modal-help-links a {
    color: var(--emerald-accent);
    text-decoration: underline;
}

.age-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.age-btn {
    flex: 1;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 900;
    cursor: pointer;
    border: none;
    transition: transform 0.15s ease, filter 0.15s ease;
    text-transform: uppercase;
}

.age-btn-accept {
    background: var(--gold-gradient);
    color: #030b08;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.35);
}

.age-btn-accept:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
}

.age-btn-reject {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.age-btn-reject:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* Underage Screen Block */
.underage-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
}

.underage-screen.active {
    display: flex;
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    width: calc(100% - 32px);
    max-width: 880px;
    background: rgba(8, 28, 21, 0.96);
    border: 1.5px solid rgba(251, 191, 36, 0.4);
    border-radius: 16px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 9998;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-content {
    flex: 1;
}

.cookie-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 4px;
}

.cookie-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.cookie-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.cookie-btn-accept {
    background: var(--gold-gradient);
    color: #030b08;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.cookie-btn-accept:hover {
    filter: brightness(1.12);
}

.cookie-btn-settings {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.cookie-btn-settings:hover {
    background: rgba(255, 255, 255, 0.22);
}

/* ==========================================================================
   Responsive Mobile Breakpoints (Fluid Adaptation & 2-3 Cards Visible on Entry)
   ========================================================================== */
@media (max-width: 1100px) {
    .cards-container {
        grid-template-columns: repeat(2, minmax(0, 384px));
    }
}

@media (max-width: 860px) {
    .top-notice-bar {
        padding: 6px 12px;
        font-size: 0.78rem;
    }

    .top-notice-bar img {
        width: 22px;
        height: 22px;
    }

    .nav-container {
        padding: 8px 16px;
    }

    .brand-logo-img {
        height: 36px;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-section {
        padding: 18px 14px 12px 14px;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 4px 12px;
    }

    .hero-title {
        font-size: 1.45rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 0.88rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-highlights {
        gap: 6px;
        margin-top: 4px;
    }

    .highlight-pill {
        padding: 3px 10px;
        font-size: 0.75rem;
    }

    .hero-divider {
        margin: 12px auto 0 auto;
    }

    .main-content {
        padding: 16px 10px 50px 10px;
    }

    .section-heading {
        font-size: 1.3rem;
        margin-bottom: 16px;
    }

    /* 2 Columns Grid on Mobile so 2-3 Cards are immediately visible upon entry */
    .cards-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        max-width: 100%;
        padding: 0;
    }

    .exact-casino-card {
        padding: 12px 8px 10px 8px;
        gap: 8px;
        border-radius: 12px;
    }

    .card-number-badge {
        top: -8px;
        left: -8px;
        width: 26px;
        height: 26px;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 0 2px var(--gold-primary);
    }

    .card-number-badge p {
        font-size: 14px;
    }

    .card-header-flex {
        min-height: 44px;
        gap: 4px;
        padding: 0;
    }

    .brand-icon-box img {
        height: 42px;
        max-width: 80px;
    }

    .card-score-box {
        padding: 3px 6px;
        gap: 2px;
        border-radius: 8px;
    }

    .star-icon {
        width: 16px;
        height: 16px;
    }

    .score-text {
        font-size: 18px;
    }

    .score-text span {
        font-size: 12px;
    }

    .card-body-text {
        min-height: 38px;
        padding: 2px 0;
    }

    .card-body-text p {
        font-size: 11.5px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .btn-accéder p {
        font-size: 11.5px;
        padding: 9px 2px;
        line-height: 1.2;
        border-radius: 8px;
        letter-spacing: 0;
        box-shadow: 2px 2px 0 0 #ffffff;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .editorial-section {
        padding: 24px 16px;
        margin-top: 32px;
    }

    .editorial-section h2 {
        font-size: 1.45rem;
    }

    .editorial-section h3 {
        font-size: 1.15rem;
    }

    .partner-badges-section {
        padding: 16px 10px;
        margin-top: 32px;
    }

    .partner-badges-container {
        gap: 16px;
    }

    .badge-img {
        height: 36px;
        max-width: 110px;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 12px;
        padding: 14px 16px;
    }

    .cookie-actions {
        justify-content: center;
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }

    .footer-nav-links {
        justify-content: center;
        gap: 12px;
    }

    .age-modal-actions {
        flex-direction: column;
        gap: 10px;
    }

    .age-modal-box {
        padding: 24px 16px;
    }
}

@media (max-width: 480px) {
    .cards-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .exact-casino-card {
        padding: 10px 6px 8px 6px;
        gap: 6px;
    }

    .brand-icon-box img {
        height: 38px;
        max-width: 70px;
    }

    .score-text {
        font-size: 16px;
    }

    .score-text span {
        font-size: 11px;
    }

    .star-icon {
        width: 14px;
        height: 14px;
    }

    .card-body-text p {
        font-size: 11px;
    }

    .btn-accéder p {
        font-size: 11px;
        padding: 8px 2px;
    }
}
