/* ===== Fowl Play Gold — Main Stylesheet ===== */
/* Version 2.0 | February 2026 — Mobile Optimized */

:root {
    --primary: #1a5c1a;
    --primary-dark: #0d3b0d;
    --primary-light: #2d8a2d;
    --gold: #f5a623;
    --gold-dark: #d4891a;
    --gold-light: #ffc857;
    --red: #c0392b;
    --red-dark: #96281b;
    --dark: #1a1a2e;
    --dark-alt: #16213e;
    --text: #2c3e50;
    --text-light: #f0f0f0;
    --bg: #f8f9fa;
    --bg-alt: #eef2e6;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-h: 68px;
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--safe-top);
    padding-bottom: var(--safe-bottom);
}

/* Prevent pull-to-refresh on Chrome mobile */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    touch-action: none;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--dark);
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

h1 {
    font-size: clamp(1.6rem, 5vw, 3.2rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.35rem, 3.5vw, 2.2rem);
    margin-bottom: 0.8rem;
    position: relative;
    padding-bottom: 12px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 2px;
}

.text-center h2::after {
    left: 50%;
    transform: translateX(-50%);
}

h3 {
    font-size: clamp(1.05rem, 2.5vw, 1.5rem);
    margin-bottom: 0.6rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.02rem;
}

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

a:hover {
    color: var(--gold);
}

/* Ensure interactive touch targets meet 44×44px minimum */
.cta-btn, .nav-list a, .burger, .scroll-top, .lang-switch a,
.footer-col ul li a, .faq-question, button, input, select, textarea {
    min-height: 44px;
    touch-action: manipulation;
}

/* Inline links should NOT have forced min-height */
a {
    touch-action: manipulation;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-left: max(20px, var(--safe-left));
    padding-right: max(20px, var(--safe-right));
}

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

/* ===== Header ===== */
.site-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-alt) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    will-change: transform;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    min-height: var(--header-h);
    gap: 8px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    flex-shrink: 1;
    min-width: 0;
}

.logo-link img {
    height: 44px;
    width: 44px;
    border-radius: 10px;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-text span {
    color: var(--white);
    font-weight: 400;
    font-size: 0.65em;
    display: block;
    letter-spacing: 1px;
}

/* ===== Navigation ===== */
.main-nav {
    background: rgba(0,0,0,0.2);
}

.nav-list {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.nav-list li a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: var(--text-light);
    font-size: 0.88rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: var(--transition);
    min-height: 44px;
}

.nav-list li a:hover,
.nav-list li a.active {
    color: var(--gold);
    background: rgba(245, 166, 35, 0.1);
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
    width: 100%;
}

/* Burger Button — 48×48 touch target */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 8px;
    transition: var(--transition);
}

.burger:active {
    background: rgba(255,255,255,0.1);
}

.burger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
    pointer-events: none;
}

.burger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Language Switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.lang-switch a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
    min-height: 36px;
}

.lang-switch a:hover,
.lang-switch a.active {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
}

/* ===== CTA Button ===== */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark) !important;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    min-height: 52px;
    text-align: center;
    line-height: 1.3;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 166, 35, 0.5);
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
}

.cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(245, 166, 35, 0.3);
}

.cta-btn-red {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    box-shadow: 0 4px 15px rgba(192, 57, 43, 0.4);
    color: var(--white) !important;
}

.cta-btn-red:hover {
    box-shadow: 0 8px 25px rgba(192, 57, 43, 0.5);
    background: linear-gradient(135deg, #e74c3c, var(--red));
}

.cta-btn-green {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    box-shadow: 0 4px 15px rgba(26, 92, 26, 0.4);
    color: var(--white) !important;
}

.cta-btn-green:hover {
    box-shadow: 0 8px 25px rgba(26, 92, 26, 0.5);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #0a2a0a 50%, var(--primary-dark) 100%);
    padding: 50px 0 45px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(245, 166, 35, 0.08) 0%, transparent 60%);
    animation: heroPulse 8s ease-in-out infinite;
}

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

.hero-logo {
    max-width: 560px;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}

.hero-logo img {
    width: 100%;
    filter: drop-shadow(0 5px 20px rgba(245, 166, 35, 0.3));
}

.hero h1 {
    color: var(--white);
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
    padding: 0 8px;
}

.hero h1 .highlight {
    color: var(--gold);
}

.hero-text {
    color: rgba(255,255,255,0.85);
    font-size: 1.08rem;
    max-width: 700px;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
    padding: 0 8px;
}

.hero-cta {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 8px;
}

/* ===== Sections ===== */
section {
    padding: 60px 0;
}

section:nth-child(even) {
    background: var(--bg-alt);
}

.section-intro {
    max-width: 800px;
    margin: 0 auto 36px;
    text-align: center;
}

.section-intro p {
    font-size: 1.05rem;
    color: #555;
}

/* ===== Info Table — Responsive ===== */
.table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 25px 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.table-wrap .info-table {
    margin: 0;
    box-shadow: none;
    border-radius: 0;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    min-width: 480px;
}

.info-table thead {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.info-table thead th {
    padding: 13px 16px;
    color: var(--white);
    font-weight: 600;
    text-align: left;
    font-size: 0.9rem;
    white-space: nowrap;
}

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

.info-table tbody tr:nth-child(even) {
    background: rgba(26, 92, 26, 0.04);
}

.info-table tbody tr:hover {
    background: rgba(245, 166, 35, 0.08);
}

.info-table td {
    padding: 11px 16px;
    font-size: 0.92rem;
}

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

/* ===== Feature Cards ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.feature-card {
    background: var(--white);
    padding: 26px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--gold);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.feature-card .icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.feature-card h3 {
    color: var(--primary-dark);
}

/* ===== Banner CTA ===== */
.banner-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--dark) 100%);
    padding: 45px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.banner-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('') center/cover no-repeat;
    opacity: 0.1;
}

.banner-cta h2 {
    color: var(--gold);
    margin-bottom: 14px;
}

.banner-cta h2::after {
    background: linear-gradient(90deg, var(--gold), transparent);
    left: 50%;
    transform: translateX(-50%);
}

.banner-cta p {
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto 22px;
    font-size: 1.05rem;
}

/* ===== Banner Title (replaces h2 in CTA banners) ===== */
.banner-title {
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: clamp(1.35rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 14px;
    line-height: 1.3;
}

.banner-cta .banner-title {
    color: var(--gold);
}

/* ===== Image Banner ===== */
.img-banner {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin: 30px 0;
    position: relative;
}

.img-banner img {
    width: 100%;
    display: block;
}

.img-banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: var(--white);
}

/* ===== Game Screenshots ===== */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.screenshot-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.screenshot-item:hover {
    transform: scale(1.01);
    box-shadow: var(--shadow-lg);
}

.screenshot-item img {
    width: 100%;
    display: block;
}

.screenshot-item figcaption {
    padding: 10px 14px;
    background: var(--white);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text);
    text-align: center;
}

/* ===== List Styles ===== */
.styled-list {
    list-style: none;
    padding: 0;
    margin: 18px 0;
}

.styled-list li {
    padding: 10px 0 10px 34px;
    position: relative;
    font-size: 0.98rem;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    line-height: 1.6;
}

.styled-list li::before {
    content: '🐔';
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 1rem;
}

.styled-list.gold li::before { content: '🥚'; }
.styled-list.check li::before { content: '✅'; }
.styled-list.star li::before { content: '⭐'; }

/* ===== Accordion FAQ ===== */
.faq-list {
    max-width: 800px;
    margin: 28px auto 0;
}

.faq-item {
    background: var(--white);
    margin-bottom: 10px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 16px 20px;
    padding-right: 48px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    min-height: 56px;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
}

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

.faq-question::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gold);
    transition: var(--transition);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-item.active .faq-question::after {
    content: '−';
    color: var(--red);
}

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

.faq-answer-inner {
    padding: 0 20px 16px;
    color: #555;
    line-height: 1.75;
    font-size: 0.96rem;
}

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

/* ===== Two Column Layout ===== */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.two-col.reverse {
    direction: rtl;
}

.two-col.reverse > * {
    direction: ltr;
}

/* ===== Stars Rating ===== */
.stars {
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-top: 8px;
}

/* ===== Badge ===== */
.badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.badge-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--dark);
}

.badge-green {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: var(--white);
}

.badge-red {
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: var(--white);
}

/* ===== Italy Local Section ===== */
.italy-flag-bar {
    height: 6px;
    background: linear-gradient(90deg, #009246 33.33%, #fff 33.33%, #fff 66.66%, #ce2b37 66.66%);
}

.local-italy {
    background: linear-gradient(135deg, #f0f7f0 0%, #fff9f0 100%);
    border-left: 5px solid #009246;
}

/* ===== Footer ===== */
.site-footer {
    background: linear-gradient(135deg, var(--dark) 0%, #0a0a1a 100%);
    color: rgba(255,255,255,0.7);
    padding: 45px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    margin-bottom: 36px;
}

.footer-col h4 {
    color: var(--gold);
    margin-bottom: 14px;
    font-size: 1.05rem;
}

.footer-col p {
    font-size: 0.9rem;
    line-height: 1.7;
}

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

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

.footer-col ul li a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 4px 0;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
    padding-bottom: max(18px, var(--safe-bottom));
    text-align: center;
    font-size: 0.82rem;
}

.footer-bottom p {
    margin-bottom: 5px;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--red);
    color: var(--white);
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.95rem;
    margin: 0 6px;
    flex-shrink: 0;
}

/* ===== Scroll Top Button ===== */
.scroll-top {
    position: fixed;
    bottom: max(20px, var(--safe-bottom));
    right: max(16px, var(--safe-right));
    width: 48px;
    height: 48px;
    background: var(--gold);
    color: var(--dark);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:active {
    transform: scale(0.92);
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    padding: 10px 0;
    font-size: 0.85rem;
    color: #888;
}

.breadcrumb a {
    color: #666;
    min-height: auto;
}

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

.breadcrumb span {
    margin: 0 6px;
    color: #ccc;
}

/* ============================================
   RESPONSIVE: TABLET (max-width: 968px)
   ============================================ */
@media (max-width: 968px) {
    :root {
        --header-h: 60px;
    }

    .two-col {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .two-col.reverse {
        direction: ltr;
    }

    section {
        padding: 45px 0;
    }

    /* === Mobile Nav === */
    .main-nav {
        position: relative;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 0;
        max-height: 70vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background: var(--dark);
    }

    .nav-list.open {
        display: flex;
    }

    .nav-list li a {
        padding: 14px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        font-size: 0.92rem;
        min-height: 50px;
    }

    .nav-list li a::after {
        display: none;
    }

    .nav-list li a:active {
        background: rgba(245, 166, 35, 0.15);
    }

    .burger {
        display: flex;
    }

    /* Header adjustments */
    .logo-link img {
        height: 40px;
        width: 40px;
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .logo-text span {
        font-size: 0.6em;
    }

    /* Features grid */
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 16px;
    }

    .feature-card {
        padding: 22px;
    }

    /* Banner overlay */
    .img-banner-overlay {
        padding: 20px;
    }

    .img-banner-overlay h2 {
        font-size: 1.3rem;
    }

    .img-banner-overlay p {
        font-size: 0.95rem;
    }

    /* Hero */
    .hero {
        padding: 40px 0 36px;
    }

    .hero-logo {
        max-width: 420px;
    }

    /* Banner CTA */
    .banner-cta {
        padding: 36px 0;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* ============================================
   RESPONSIVE: MOBILE (max-width: 600px)
   ============================================ */
@media (max-width: 600px) {
    :root {
        --header-h: 56px;
    }

    html {
        font-size: 15px;
    }

    .container {
        padding: 0 16px;
        padding-left: max(16px, var(--safe-left));
        padding-right: max(16px, var(--safe-right));
    }

    /* === Header Mobile === */
    .header-top {
        min-height: 56px;
        padding: 6px 0;
    }

    .logo-link {
        gap: 8px;
    }

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

    .logo-text {
        font-size: 0.95rem;
        letter-spacing: 0;
    }

    .logo-text span {
        font-size: 0.55em;
        letter-spacing: 0.5px;
        display: none;
    }

    .lang-switch a {
        padding: 5px 9px;
        font-size: 0.78rem;
        min-height: 32px;
    }

    /* === Hero Mobile === */
    .hero {
        padding: 30px 0 28px;
    }

    .hero-logo {
        max-width: 280px;
        margin-bottom: 18px;
    }

    .hero h1 {
        font-size: 1.45rem;
        line-height: 1.3;
        padding: 0 4px;
    }

    .hero-text {
        font-size: 0.95rem;
        margin-bottom: 20px;
        padding: 0 4px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 0 16px;
    }

    .hero-cta .cta-btn {
        width: 100%;
        max-width: 320px;
        padding: 14px 20px;
        font-size: 0.95rem;
    }

    /* === Sections Mobile === */
    section {
        padding: 36px 0;
    }

    .section-intro {
        margin-bottom: 24px;
    }

    .section-intro p {
        font-size: 0.96rem;
    }

    /* === Cards Mobile === */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .feature-card {
        padding: 20px 18px;
    }

    .feature-card .icon {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }

    .feature-card h3 {
        font-size: 1.05rem;
    }

    .feature-card p {
        font-size: 0.93rem;
    }

    /* === Screenshots Mobile === */
    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    /* === Tables Mobile === */
    .info-table {
        min-width: 420px;
    }

    .info-table thead th {
        padding: 10px 12px;
        font-size: 0.82rem;
    }

    .info-table td {
        padding: 9px 12px;
        font-size: 0.85rem;
    }

    .info-table td:first-child {
        white-space: normal;
    }

    /* === CTA Buttons Mobile === */
    .cta-btn {
        padding: 13px 24px;
        font-size: 0.95rem;
        min-height: 50px;
        letter-spacing: 0;
    }

    .banner-cta .cta-btn {
        width: 100%;
        max-width: 320px;
    }

    /* === Image Banner Mobile === */
    .img-banner-overlay {
        position: relative;
        background: var(--dark);
        padding: 20px 16px;
    }

    .img-banner-overlay h2 {
        font-size: 1.15rem;
    }

    .img-banner-overlay p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .img-banner-overlay .cta-btn {
        width: 100%;
        font-size: 0.9rem;
    }

    /* === FAQ Mobile === */
    .faq-question {
        padding: 14px 16px;
        padding-right: 44px;
        font-size: 0.94rem;
        min-height: 52px;
    }

    .faq-question::after {
        right: 14px;
    }

    .faq-answer-inner {
        padding: 0 16px 14px;
        font-size: 0.92rem;
    }

    /* === List Mobile === */
    .styled-list li {
        padding: 9px 0 9px 30px;
        font-size: 0.93rem;
    }

    .styled-list li::before {
        font-size: 0.9rem;
    }

    /* === Banner CTA Mobile === */
    .banner-cta {
        padding: 30px 0;
    }

    .banner-cta h2 {
        font-size: 1.2rem;
        padding: 0 8px;
    }

    .banner-cta p {
        font-size: 0.93rem;
        padding: 0 8px;
    }

    /* === Footer Mobile === */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .site-footer {
        padding: 32px 0 0;
    }

    .footer-col h4 {
        font-size: 1rem;
    }

    .footer-bottom {
        font-size: 0.78rem;
        padding: 14px 8px;
        padding-bottom: max(14px, calc(var(--safe-bottom) + 8px));
    }

    .age-badge {
        width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }

    /* === Local Italy Mobile === */
    .local-italy {
        border-left-width: 3px;
    }

    /* === Scroll Top Mobile === */
    .scroll-top {
        bottom: max(16px, calc(var(--safe-bottom) + 8px));
        right: 12px;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

/* ============================================
   RESPONSIVE: VERY SMALL (max-width: 380px)
   ============================================ */
@media (max-width: 380px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 12px;
    }

    .hero h1 {
        font-size: 1.3rem;
    }

    .hero-logo {
        max-width: 240px;
    }

    .logo-text {
        font-size: 0.85rem;
    }

    .cta-btn {
        font-size: 0.88rem;
        padding: 12px 18px;
    }

    .feature-card {
        padding: 16px 14px;
    }

    .info-table {
        min-width: 360px;
    }

    .info-table thead th {
        padding: 8px 10px;
        font-size: 0.78rem;
    }

    .info-table td {
        padding: 8px 10px;
        font-size: 0.82rem;
    }
}

/* ============================================
   LANDSCAPE PHONE
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 20px 0;
    }

    .hero-logo {
        max-width: 200px;
        margin-bottom: 12px;
    }

    .hero h1 {
        font-size: 1.3rem;
    }

    .hero-text {
        font-size: 0.88rem;
        margin-bottom: 14px;
    }

    .hero-cta {
        flex-direction: row;
    }

    .hero-cta .cta-btn {
        width: auto;
        min-height: 44px;
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    section {
        padding: 30px 0;
    }

    .site-header {
        position: relative;
    }

    .nav-list {
        max-height: 50vh;
    }
}

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

    .fade-in {
        opacity: 1;
        transform: none;
    }

    .hero::before {
        animation: none;
    }
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 2px;
    border-radius: 4px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* ===== Structured Data Helper ===== */
.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;
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-alt) 100%);
    color: var(--text-light);
    padding: 20px 24px;
    padding-bottom: max(20px, calc(var(--safe-bottom) + 12px));
    z-index: 10000;
    box-shadow: 0 -4px 30px rgba(0,0,0,0.35);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 3px solid var(--gold);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner.hidden {
    transform: translateY(100%);
    pointer-events: none;
}

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

.cookie-text {
    flex: 1;
    min-width: 250px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.cookie-text a {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-text a:hover {
    color: var(--gold-light);
}

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

.cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    min-height: 44px;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
}

.cookie-btn-accept:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-1px);
}

.cookie-btn-accept:active {
    transform: translateY(0);
}

.cookie-btn-reject {
    background: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn-reject:hover {
    border-color: var(--gold);
    color: var(--gold);
}

@media (max-width: 600px) {
    .cookie-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .cookie-text {
        font-size: 0.85rem;
        min-width: auto;
    }

    .cookie-btns {
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
        font-size: 0.85rem;
        padding: 11px 16px;
    }

    .cookie-banner {
        padding: 16px;
        padding-bottom: max(16px, calc(var(--safe-bottom) + 8px));
    }
}

/* ===== Noscript Fallback ===== */
noscript .fade-in,
.no-js .fade-in {
    opacity: 1 !important;
    transform: none !important;
}

/* ===== Print Styles ===== */
@media print {
    .site-header, .main-nav, .burger, .scroll-top, .banner-cta, .hero-cta, .lang-switch, .cookie-banner {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    section {
        padding: 20px 0;
        page-break-inside: avoid;
    }

    .info-table {
        min-width: auto;
    }

    .fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
}
