/* =================================================================
   FAMILYPARKS THEME – MAIN CSS
   Versiune: 1.0.0
================================================================= */

/* -----------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (Design Tokens)
----------------------------------------------------------------- */
:root {
    /* Culori brun/lemn */
    --fp-brown-900:  #0e0600;
    --fp-brown-800:  #1a0c04;
    --fp-brown-700:  #2d1508;
    --fp-brown-600:  #4a2310;
    --fp-brown-500:  #6b3a18;
    --fp-brown-400:  #8f5228;
    --fp-brown-300:  #b5703e;
    --fp-brown-200:  #d48e5a;

    /* Culori auriu/chihlimbar */
    --fp-gold-900:   #5a3a00;
    --fp-gold-700:   #8b5e00;
    --fp-gold-500:   #c9900a;
    --fp-gold-400:   #e8b020;
    --fp-gold-300:   #ffd700;
    --fp-gold-200:   #ffe57a;
    --fp-gold-100:   #fff3c0;

    /* Culori portocaliu */
    --fp-amber-700:  #7a3000;
    --fp-amber-600:  #a84500;
    --fp-amber-500:  #d06000;
    --fp-amber-400:  #e87c1e;
    --fp-amber-300:  #f5a030;
    --fp-amber-200:  #ffba60;

    /* Culori verde */
    --fp-green-900:  #0d2006;
    --fp-green-700:  #1e4d0a;
    --fp-green-600:  #2d6b14;
    --fp-green-500:  #4a9e2a;
    --fp-green-400:  #6ab834;
    --fp-green-300:  #7dd14e;
    --fp-green-200:  #a8e878;

    /* Fundal pergament */
    --fp-bg-parchment: #fcf9e8;

    /* Text */
    --fp-text-white:  #ffffff;
    --fp-text-cream:  #f5e8c0;
    --fp-text-muted:  rgba(245, 232, 192, 0.72);

    /* Overlay */
    --fp-overlay-hero:   rgba(10, 5, 0, 0.35);
    --fp-overlay-header: rgba(14, 6, 0, 0.88);

    /* Tipografie */
    --fp-font-display: 'Alegreya SC', 'Georgia', serif;   /* titluri, headline */
    --fp-font-serif:   'Alegreya SC', 'Georgia', serif;   /* logo, elemente decorative */
    --fp-font-body:    'IM Fell English', 'Georgia', serif; /* text, navigare, butoane */

    /* Spațiere */
    --fp-container-max: 1400px;
    --fp-gap-header:    40px;
}

/* -----------------------------------------------------------------
   2. RESET & BASE
----------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body.fp-landing {
    font-family: var(--fp-font-body);
    background: var(--fp-bg-parchment);
    color: var(--fp-text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

img, svg {
    display: block;
    max-width: 100%;
}

ul, ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

/* -----------------------------------------------------------------
   3. BUTON COMPONENT (fp-btn)
----------------------------------------------------------------- */

.fp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--fp-font-body);
    /* IM Fell English nu are bold – greutatea vizuală vine din
       letter-spacing, text-transform și dimensiune */
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    outline: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    user-select: none;
}

/* Ripple hover effect */
.fp-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0;
    transition: opacity 0.22s ease;
}
.fp-btn:hover::after { opacity: 1; }
.fp-btn:active { transform: translateY(1px) !important; }

/* --- Mărimi --- */
.fp-btn--sm {
    font-size: 10.5px;
    padding: 9px 18px;
    border-radius: 50px;
    letter-spacing: 1.5px;
}

.fp-btn--md {
    font-size: 13px;
    padding: 12px 28px;
    border-radius: 50px;
    letter-spacing: 1.5px;
}

.fp-btn--lg {
    font-size: 15px;
    padding: 16px 44px;
    border-radius: 50px;
    letter-spacing: 2px;
}

.fp-btn--xl {
    font-size: 18px;
    padding: 20px 56px;
    border-radius: 50px;
    letter-spacing: 2.5px;
}

/* --- Varianta PRIMARY (portocaliu cu umbră 3D) --- */
.fp-btn--primary {
    background: linear-gradient(
        180deg,
        #ffcc48 0%,
        #f5a030 18%,
        #e87c1e 50%,
        #c95d00 80%,
        #a04400 100%
    );
    color: var(--fp-text-white);
    border: 3px solid var(--fp-amber-700);
    box-shadow:
        0 6px 0px var(--fp-amber-700),
        0 8px 20px rgba(0, 0, 0, 0.55),
        inset 0 2px 4px rgba(255, 230, 120, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.25);
    text-shadow: 0 1px 3px rgba(80, 30, 0, 0.7);
}

.fp-btn--primary:hover {
    background: linear-gradient(
        180deg,
        #ffd860 0%,
        #f5b040 18%,
        #f0913e 50%,
        #d97010 80%,
        #b05000 100%
    );
    transform: translateY(-3px);
    box-shadow:
        0 9px 0px var(--fp-amber-700),
        0 12px 28px rgba(0, 0, 0, 0.6),
        inset 0 2px 4px rgba(255, 230, 120, 0.5),
        inset 0 -2px 4px rgba(0, 0, 0, 0.25);
}

/* --- Varianta OUTLINE-GREEN (header) --- */
.fp-btn--outline-green {
    background: transparent;
    color: var(--fp-green-300);
    border: 2px solid var(--fp-green-300);
    box-shadow: 0 0 12px rgba(125, 209, 78, 0.15);
}

.fp-btn--outline-green:hover {
    background: var(--fp-green-300);
    color: var(--fp-green-900);
    box-shadow: 0 0 20px rgba(125, 209, 78, 0.4);
    transform: translateY(-2px);
}

/* --- Varianta OUTLINE-GOLD --- */
.fp-btn--outline-gold {
    background: transparent;
    color: var(--fp-gold-300);
    border: 2px solid var(--fp-gold-300);
}

.fp-btn--outline-gold:hover {
    background: var(--fp-gold-300);
    color: var(--fp-brown-800);
    transform: translateY(-2px);
}

/* --- Varianta GHOST --- */
.fp-btn--ghost {
    background: rgba(255, 255, 255, 0.1);
    color: var(--fp-text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
}

.fp-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* -----------------------------------------------------------------
   4. HERO SECTION
----------------------------------------------------------------- */

.fp-hero {
    position: relative;
    width: 100%;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
}

/* Imagine background */
.fp-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    /* Familia e în prim-plan jos-stânga; castelul și cerul sus-dreapta.
       Centrăm ușor sus pentru a afișa cât mai mult din peisaj. */
    background-position: center 18%;
    background-repeat: no-repeat;
    z-index: -2;
    /* Fallback gradient când imaginea nu există */
    background-color: #3a7a20;
    background-image:
        linear-gradient(180deg, #6cb8e0 0%, #a8d8f0 25%, #5a9e30 55%, #2d6b14 100%);
}

/* Overlay selectiv:
   - Header: întunecat pentru lizibilitate navigare
   - Zona scroll/titlu (mijloc): transparent — ilustrația e vizibilă
   - Jos: ușor întunecat pentru fundalul CTA-ului */
.fp-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg,
            rgba(10, 4, 0, 0.68) 0%,
            rgba(8,  3, 0, 0.42) 10%,
            rgba(0,  0, 0, 0.08) 28%,
            rgba(0,  0, 0, 0.05) 52%,
            rgba(0,  0, 0, 0.22) 72%,
            rgba(0,  0, 0, 0.50) 100%
        );
}

/* -----------------------------------------------------------------
   5. HEADER
----------------------------------------------------------------- */

.fp-header {
    position: relative;
    z-index: 100;
    width: 100%;
    flex-shrink: 0;
}

.fp-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--fp-container-max);
    margin: 0 auto;
    padding: 14px var(--fp-gap-header);
    gap: 16px;
}

/* Logo */
.fp-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
    transition: filter 0.22s ease, transform 0.22s ease;
}

.fp-logo:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
}

.fp-logo__img {
    height: 85px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.65));
}

/* Navigare */
.fp-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.fp-nav__list {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.fp-nav__list .menu-item > a,
.fp-nav__list li > a {
    font-family: var(--fp-font-body);
    font-size: 14px;
    font-weight: 400;        /* IM Fell English – doar 400 disponibil */
    font-style: normal;
    color: var(--fp-text-cream);
    text-decoration: none;
    letter-spacing: 1px;     /* compensează absența bold-ului */
    white-space: nowrap;
    transition: color 0.2s ease;
    padding: 4px 0;
    position: relative;
}

.fp-nav__list .menu-item > a::after,
.fp-nav__list li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--fp-gold-300);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.fp-nav__list .menu-item > a:hover,
.fp-nav__list li > a:hover {
    color: var(--fp-gold-300);
}

.fp-nav__list .menu-item > a:hover::after,
.fp-nav__list li > a:hover::after {
    width: 100%;
}

/* Header actions */
.fp-header__actions {
    flex-shrink: 0;
}

/* Logo vizibil doar în overlay-ul de mobil – ascuns implicit pe toate ecranele */
.fp-nav__mobile-logo {
    display: none;
}

/* Hamburger mobil */
.fp-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
    z-index: 200;
}

.fp-hamburger__line {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--fp-text-cream);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.fp-hamburger[aria-expanded="true"] .fp-hamburger__line:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}
.fp-hamburger[aria-expanded="true"] .fp-hamburger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.fp-hamburger[aria-expanded="true"] .fp-hamburger__line:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* -----------------------------------------------------------------
   6. HERO CONTENT – SUL PERGAMENT + TITLU
----------------------------------------------------------------- */

.fp-hero__content {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 24px 56px;
    gap: 0;
}

/* Container sul pergament */
.fp-hero__scroll {
    position: relative;
    width: min(860px, 90vw);
    margin: 0 auto clamp(16px, 2.5vw, 28px);
    flex-shrink: 0;
}

/* Imaginea sulului */
.fp-hero__scroll-img {
    width: 100%;
    height: auto;
    display: block;
    user-select: none;
    pointer-events: none;
    /* Umbră pentru adâncime vizuală față de fundalul hero */
    filter:
        drop-shadow(0 10px 30px rgba(0, 0, 0, 0.70))
        drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45))
        drop-shadow(0 -2px 8px rgba(0, 0, 0, 0.25));
}

/* Zona de text din interiorul sulului – titlu + subtitlu */
.fp-hero__scroll-text {
    position: absolute;
    /* Zona plată a pergamentului, extinsă vertical pentru a include și subtitlul */
    top: 13%;
    bottom: 14%;
    left: 9%;
    right: 9%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(4px, 1vw, 10px);
    overflow: hidden;
}

/* Titlul principal – Alegreya SC pe pergamentul auriu */
.fp-hero__headline {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-family: var(--fp-font-display);
    font-weight: 700;
    /* Alegreya SC afișează uppercase elegant fără text-transform */
    text-transform: uppercase;
    text-align: center;
    margin: 0;
    width: 100%;
    /* Alegreya SC are ascendente mai înalte decât Fredoka One */
    line-height: 1.05;

    /* Verde forest închis – contrast maxim pe pergamentul auriu */
    color: #1a3808;

    /* Umbră subtilă pentru gravare pe pergament */
    text-shadow:
        1px 1px 0 rgba(255, 235, 120, 0.5),
        0   2px 5px rgba(0, 0, 0, 0.28);
}

/* Linia 1 – "O lume de aventură" – ușor redusă pentru a face loc subtitlului */
.fp-hero__headline-l1 {
    display: block;
    font-weight: 900;
    font-size: clamp(24px, 3.8vw, 58px);
    letter-spacing: clamp(2px, 0.4vw, 6px);
}

/* Linia 2 – "pentru întreaga familie!" */
.fp-hero__headline-l2 {
    display: block;
    font-weight: 700;
    font-size: clamp(16px, 2.6vw, 40px);
    letter-spacing: clamp(2px, 0.45vw, 7px);
    color: #114a1d;
}

/* Subtitlu – pe pergament (în interiorul scroll-ului) */
.fp-hero__subtitle {
    font-family: var(--fp-font-body);
    font-size: clamp(12px, 1.1vw, 16px);
    font-weight: 400;
    color: #114a1d;
    text-align: center;
    max-width: 100%;
    line-height: 1.5;
    margin: 0;
    text-shadow: 0 1px 0 rgba(255, 235, 120, 0.4);
}

/* -----------------------------------------------------------------
   7. LOGO SLIDER SECTION
----------------------------------------------------------------- */

/* Secțiunea – fără fundal propriu; pergamentul determină dimensiunea */
.fp-slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0; /* elimină spațiul sub img */
    max-width: 900px;
}

/* Imaginea pergamentului umple lățimea și stabilește înălțimea naturală */
.fp-slider__parchment {
    display: block;
    width: 100%;
    height: auto;
    pointer-events: none;
    user-select: none;
}

/* Conținut (săgeți + logo-uri) poziționat absolut peste pergament */
.fp-slider__inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    /* Padding orizontal = lățimea aproximativă a marginilor rulate ale sulului */
    padding: 0 7.5%;
    line-height: normal;
}

/* Viewport – zona vizibilă a slider-ului */
.fp-slider__viewport {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

/* Track – banda cu toate logo-urile */
.fp-slider__track {
    display: flex;
    align-items: center;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Item – 8 logo-uri vizibile simultan */
.fp-slider__item {
    flex: 0 0 calc(100% / 8);
    min-width: calc(100% / 8);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
}

/* Link logo parc */
.fp-park-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.fp-park-logo:hover {
    transform: scale(1.08);
}

/* Imaginea logo-ului – mix-blend-mode elimină fundalul alb pe pergament */
.fp-park-logo img {
    max-width: 100%;
    max-height: 75px;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Fallback text dacă lipsește imaginea */
.fp-park-logo__fallback {
    font-family: var(--fp-font-display);
    font-size: 10px;
    color: #3d1c08;
    text-align: center;
    text-transform: uppercase;
}

/* Săgețile de navigare – simple, pe marginile rulate ale sulului */
.fp-slider-arrow {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #5a2e0a;
    font-size: 36px;
    font-family: serif;
    line-height: 1;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 10;
    position: relative;
}

.fp-slider-arrow:hover {
    color: #1c0900;
    transform: scale(1.2);
}

.fp-slider-arrow:active {
    transform: scale(0.92);
}

/* -----------------------------------------------------------------
   8. RESPONSIVE
----------------------------------------------------------------- */

@media (max-width: 1200px) {
    :root { --fp-gap-header: 28px; }

    .fp-nav__list {
        gap: 16px;
    }

    .fp-nav__list .menu-item > a,
    .fp-nav__list li > a {
        font-size: 12px;
    }

    .fp-slider__item {
        flex: 0 0 calc(100% / 6);
        min-width: calc(100% / 6);
    }

    .fp-slider__inner {
        padding: 0 8%;
    }
}

@media (max-width: 960px) {
    .fp-nav { display: none; }
    .fp-hamburger { display: flex; }

    .fp-hero__scroll { width: min(680px, 92vw); }
    .fp-hero__headline-l1 { font-size: clamp(22px, 5vw, 52px); }
    .fp-hero__headline-l2 { font-size: clamp(16px, 3.5vw, 36px); }

    /* Mobile nav overlay */
    .fp-nav.is-open {
        display: flex;
        position: fixed;
        inset: 0;
        background: rgba(14, 6, 0, 0.97);
        z-index: 150;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
        overflow-y: auto;
        padding: 40px 24px;
    }

    /* Logo în overlay mobil */
    .fp-nav__mobile-logo {
        display: none;
    }

    .fp-nav.is-open .fp-nav__mobile-logo {
        display: flex;
        justify-content: center;
        margin-bottom: 40px;
        flex-shrink: 0;
    }

    .fp-nav.is-open .fp-nav__mobile-logo img {
        height: 85px;
        width: auto;
        filter: drop-shadow(0 2px 16px rgba(0, 0, 0, 0.6)) brightness(1.05);
    }

    .fp-nav.is-open .fp-nav__list {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }

    .fp-nav.is-open .fp-nav__list .menu-item > a,
    .fp-nav.is-open .fp-nav__list li > a {
        font-size: 22px;
        font-weight: 700;
    }

    .fp-slider__item {
        flex: 0 0 calc(100% / 4);
        min-width: calc(100% / 4);
    }

    .fp-slider__inner {
        padding: 0 8.5%;
    }
}

@media (max-width: 640px) {
    :root { --fp-gap-header: 16px; }

    .fp-logo__img { height: 60px; max-width: 200px; }
    /* fp-header__actions eliminat din HTML – nu mai e nevoie */

    .fp-hero__content {
        padding: 20px 12px 44px;
    }

    .fp-hero__scroll { width: 96vw; }

    .fp-hero__headline-l1 { font-size: clamp(18px, 6.5vw, 42px); }
    .fp-hero__headline-l2 { font-size: clamp(13px, 4.5vw, 28px); }

    .fp-slider__item {
        flex: 0 0 calc(100% / 3);
        min-width: calc(100% / 3);
    }

    .fp-slider__inner {
        padding: 0 9%;
    }

    .fp-slider-arrow {
        font-size: 28px;
    }
}

@media (max-width: 420px) {
    .fp-slider__item {
        flex: 0 0 calc(100% / 2);
        min-width: calc(100% / 2);
    }

    .fp-slider__inner {
        padding: 0 9.5%;
    }

    .fp-slider-arrow {
        font-size: 24px;
    }

    .fp-btn--lg {
        padding: 14px 32px;
        font-size: 13px;
    }
}

/* -----------------------------------------------------------------
   9. ANIMAȚII – doar pentru headline și scroll (nu pentru buton CTA)
----------------------------------------------------------------- */

@keyframes fp-fade-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animație intrare scroll + headline */
.fp-hero__scroll {
    animation: fp-fade-up 0.8s ease-out 0.15s both;
}

/* Butonul CTA – nicio animație, doar hover (fp-btn--no-anim) */
.fp-btn--no-anim {
    animation: none !important;
}

/* -----------------------------------------------------------------
   10. PERGAMENT SHORTCODE – tehnică 3-slice responsive
----------------------------------------------------------------- */

/*
 * Dimensiunile capetelor rulate (px):
 *   Lățime capăt: 320px  |  Înălțime imagine: 448px
 *
 * Pe ecrane mici capetele se scalează proporțional prin
 * --fp-perg-cap (CSS custom property).
 */

.fp-pergament {
    --fp-perg-cap: 320px;   /* lățimea unui capăt rulat */

    position: relative;
    display: block;
    width: 100%;

    /* Banda din mijloc se repetă orizontal și umple înălțimea containerului */
    background-image: var(--fp-perg-mid, none);
    background-repeat: repeat-x;
    background-position: left center;
    background-size: auto 100%;

    /* Înălțime minimă = înălțimea naturală a imaginii */
    min-height: 448px;
}

/* Capătul stânga – pseudo-element ::before */
.fp-pergament::before,
.fp-pergament::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: var(--fp-perg-cap);
    background-repeat: no-repeat;
    background-size: 100% 100%;   /* scalare uniformă cu containerul */
    pointer-events: none;
    z-index: 1;
}

.fp-pergament::before {
    left: 0;
    background-image: var(--fp-perg-left, none);
    background-position: left center;
}

.fp-pergament::after {
    right: 0;
    background-image: var(--fp-perg-right, none);
    background-position: right center;
}

/* Conținut text – z-index deasupra pseudo-elementelor */
.fp-pergament__inner {
    position: relative;
    z-index: 2;
    /* Padding lateral = lățimea capătului + spațiu interior confortabil */
    padding: 60px calc(var(--fp-perg-cap) + 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: inherit;
}

.fp-pergament__text {
    max-width: 100%;
    word-break: break-word;
}

/* Alinieri text */
.fp-pergament--align-left   .fp-pergament__text { text-align: left; }
.fp-pergament--align-center .fp-pergament__text { text-align: center; }
.fp-pergament--align-right  .fp-pergament__text { text-align: right; }

/* Tipografie implicită pe pergament */
.fp-pergament__text,
.fp-pergament__text p {
    font-family: var(--fp-font-display);
    font-size: clamp(15px, 1.8vw, 22px);
    font-weight: 700;
    color: #1a3808;
    line-height: 1.5;
    margin: 0;
}

.fp-pergament__text p + p {
    margin-top: 0.6em;
}

/* ── Responsive ── */

/* Tabletă mare */
@media (max-width: 1100px) {
    .fp-pergament {
        --fp-perg-cap: 240px;
        min-height: 336px; /* 448 * 240/320 */
    }
    .fp-pergament__inner {
        padding: 48px calc(240px + 20px);
    }
}

@media (max-width: 960px) {
    .fp-stack-tablet {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .fp-stack-tablet > * {
        width: 100% !important;
    }
}

/* Tabletă */
@media (max-width: 768px) {
    .fp-pergament {
        --fp-perg-cap: 170px;
        min-height: 238px; /* 448 * 170/320 */
    }
    .fp-pergament__inner {
        padding: 36px calc(170px + 16px);
    }
    .fp-pergament__text,
    .fp-pergament__text p {
        font-size: clamp(13px, 2.8vw, 18px);
    }
}

/* Mobil */
@media (max-width: 520px) {
    .fp-pergament {
        --fp-perg-cap: 110px;
        min-height: 154px; /* 448 * 110/320 */
    }
    .fp-pergament__inner {
        padding: 24px calc(110px + 12px);
    }
    .fp-pergament__text,
    .fp-pergament__text p {
        font-size: clamp(11px, 3.5vw, 15px);
    }
    .fp-park-logo img {
        max-height: 60px;
    }
}

/* Mobil mic */
@media (max-width: 360px) {
    .fp-park-logo img {
        max-height: 50px;
    }
    .fp-pergament {
        --fp-perg-cap: 80px;
        min-height: 112px;
    }
    .fp-pergament__inner {
        padding: 18px calc(80px + 8px);
    }
}

/* -----------------------------------------------------------------
   11. ROATA NOROCULUI (Tombola 4) – popup full-screen
----------------------------------------------------------------- */

.fp-wheel-overlay[hidden] {
    display: none;
}

.fp-wheel-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(80, 80, 80, 0.55);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    animation: fp-wheel-in 0.3s ease;
    pointer-events: none;
}

@keyframes fp-wheel-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.fp-wheel-close {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    transition: background 0.2s;
}
.fp-wheel-close:hover {
    background: rgba(255,255,255,0.3);
}

.fp-wheel-overlay__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    width: 100%;
    max-width: 620px;
    padding: 8px 0 24px;
    pointer-events: auto;
}

.fp-wheel-overlay__title {
    font-family: var(--fp-font-display);
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 700;
    color: var(--fp-gold-300);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(201, 144, 10, 0.5);
    margin: 0;
}

.fp-wheel-wrap {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.fp-wheel-pointer {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 36px;
    color: var(--fp-gold-300);
    line-height: 1;
    z-index: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.6));
}

.fp-wheel-canvas {
    display: block;
    border-radius: 50%;
    box-shadow:
        0 0 0 6px rgba(201, 144, 10, 0.3),
        0 0 40px rgba(201, 144, 10, 0.2),
        0 8px 48px rgba(0,0,0,0.6);
    max-width: 100%;
    height: auto;
}

.fp-wheel-spin-btn {
    min-width: 180px;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
}

.fp-wheel-spin-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.fp-wheel-result[hidden] {
    display: none;
}

.fp-wheel-result {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(0,60,20,0.9), rgba(0,40,10,0.9));
    border: 2px solid var(--fp-green-500);
    border-radius: 8px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 0 16px rgba(104, 222, 124, 0.15);
    animation: fp-wheel-result-in 0.4s ease;
}

@keyframes fp-wheel-result-in {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fp-wheel-result__icon {
    width: 24px;
    height: 24px;
    color: var(--fp-green-300);
    flex-shrink: 0;
}

.fp-wheel-result__text {
    font-family: var(--fp-font-body);
    font-size: 0.9rem;
    color: #d4f7de;
    line-height: 1.4;
    margin: 0;
    text-align: left;
}

/* -----------------------------------------------------------------
   12. UTILITĂȚI
----------------------------------------------------------------- */

.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.fp-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

/* ── Terms & Conditions Modal (global) ── */
.fp-terms-modal__stage {
    width: min(90vw, 960px);
    height: min(85vh, 800px);
    max-width: none;
    max-height: none;
    padding: 0;
    overflow: hidden;
}

.fp-terms-modal__content {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--fp-bg-parchment, #fcf9e8);
    border-radius: 12px;
    padding: 48px 44px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
    color: #3a3a3a;
    font-size: 1rem;
    line-height: 1.85;
}

.fp-terms-modal__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a3808;
    margin: 0 0 6px;
}

.fp-terms-modal__intro {
    font-size: 1.05rem;
    color: #777;
    margin: 0 0 32px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e4dc;
    font-style: italic;
}

.fp-terms-modal__content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a3808;
    margin: 32px 0 12px;
    padding-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-top: 1px solid #f0ece4;
}

.fp-terms-modal__content h3:first-of-type {
    border-top: none;
    padding-top: 0;
}

.fp-terms-modal__content p {
    margin: 0 0 16px;
    text-align: justify;
    hyphens: auto;
}

.fp-terms-modal__content ul {
    margin: 8px 0 16px;
    padding-left: 28px;
}

.fp-terms-modal__content li {
    margin-bottom: 6px;
    padding-left: 4px;
}

.fp-terms-modal__content li::marker {
    color: #4a7c2e;
}

.fp-terms-modal__content::-webkit-scrollbar {
    width: 6px;
}

.fp-terms-modal__content::-webkit-scrollbar-track {
    background: transparent;
}

.fp-terms-modal__content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 3px;
}

@media (max-width: 480px) {
    .fp-terms-modal__content {
        padding: 28px 20px;
    }

    .fp-terms-modal__title {
        font-size: 1.25rem;
    }
}
