/* ═══════════════════════════════════════════════
   HOME PAGE CSS
   Depends on global.css being loaded first.
   ═══════════════════════════════════════════════ */

/* ── HERO ── */
.hero {
    position: relative;
    height: 100vh;
    height: 100dvh; /* dynamic viewport — excludes mobile browser chrome */
    min-height: 500px;
    max-height: 900px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--nav-h);
    background: var(--bg-mid); /* matches .page-hero on the other pages */
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    overflow: hidden;
}
.hero-slide.active { opacity: 1; }

/* Make <img> inside each slide cover the full area like background-size:cover */
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
    user-select: none;
}

/*
    SLIDE BACKGROUNDS
    Replace these gradients with real photos once you have them.
    In home.css, change the background property to:
    background-image: url('/wp-content/uploads/your-photo.jpg');
    background-size: cover;
    background-position: center;
*/
.slide-1 {
    background: linear-gradient(160deg, rgba(157,78,221,0.25) 0%, rgba(5,5,14,0.3) 60%),
                linear-gradient(to bottom right, #0a0520, #05050E, #0a1525);
}
.slide-2 {
    background: linear-gradient(160deg, rgba(255,45,107,0.18) 0%, rgba(5,5,14,0.3) 60%),
                linear-gradient(to bottom right, #1a0a15, #05050E, #051520);
}
.slide-3 {
    background: linear-gradient(160deg, rgba(0,229,255,0.12) 0%, rgba(5,5,14,0.3) 60%),
                linear-gradient(to bottom right, #050a1a, #05050E, #100520);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 70% 60% at 50% 40%, rgba(157,78,221,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 100% 50% at 50% 100%, rgba(5,5,14,0.8) 0%, transparent 100%),
        /* Light tint only: the starfield photo is already dark. Raise toward
           0.45 if a brighter photo is ever used, to keep the headline readable. */
        rgba(5,5,14,0.12);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 clamp(1rem, 5vw, 2rem);
    max-width: 900px;
    width: 100%;
}

.hero-eyebrow {
    font-size: clamp(0.63rem, 1.98vw, 0.82rem);
    letter-spacing: 0.4em;
    color: var(--cyan);
    text-transform: uppercase;
    display: block;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.5rem, 10vw, 7.5rem);
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.hero-title .t1 {
    display: block;
    color: #fff;
    text-shadow: 0 0 60px rgba(255,255,255,0.1);
}
.hero-title .t2 {
    display: block;
    color: var(--yellow);
    text-shadow:
        0 0 60px rgba(255,230,0,0.35),
        0 0 0px var(--bg);
    -webkit-text-stroke: 0;
}

.hero-sub {
    font-size: clamp(0.92rem, 2.38vw, 1.12rem);
    line-height: 1.9;
    max-width: 560px;
    margin: 0 auto 2rem;
    color: var(--text-bright);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Slideshow dots */
.slide-dots {
    position: absolute;
    bottom: 7.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 0.5rem;
}

/* ── SCROLL INDICATOR ── */
.scroll-indicator {
    position: absolute;
    bottom: 4.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none !important;
    color: rgba(168,188,216,0.45);
    transition: color 0.25s;
}
.scroll-indicator:hover,
.scroll-indicator:visited { color: var(--cyan) !important; text-decoration: none !important; }
.scroll-indicator-label {
    font-family: var(--font-display);
    font-size: 0.52rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    line-height: 1;
}
.scroll-indicator-arrow {
    width: 16px;
    height: 16px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.45; }
    50%       { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}
@media (max-height: 520px) {
    .scroll-indicator { display: none; }
}
.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.slide-dot.active {
    background: var(--yellow);
    width: 24px;
    border-radius: 4px;
}

/* ── WHAT TO EXPECT ── */
.expect-section {
    background: radial-gradient(ellipse 700px 400px at 110% 50%, rgba(0,229,255,0.05) 0%, transparent 70%),
                var(--bg-mid);
}

.expect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.ec-icon {
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    margin-bottom: 0.75rem;
    display: block;
}
.ec-title {
    font-family: var(--font-display);
    font-size: clamp(0.90rem, 2.38vw, 1.12rem);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    line-height: 1.25;
}
.ec-desc {
    font-size: clamp(0.79rem, 1.85vw, 0.86rem);
    line-height: 1.9;
    color: var(--text);
}
.expect-footnote {
    text-align: center;
    font-size: clamp(0.73rem, 1.72vw, 0.82rem);
    color: rgba(168,188,216,0.35);
    margin-top: 1.75rem;
}
.expect-footnote a { color: var(--cyan); }

/* ── PRICING ── */
.pricing-section {
    background: radial-gradient(ellipse 600px 400px at -10% 50%, rgba(157,78,221,0.08) 0%, transparent 70%),
                var(--bg);
}

.pricing-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.pricing-visual { position: relative; }

/* Corner brackets */
.corner {
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: var(--cyan);
    border-style: solid;
    z-index: 1;
}
.tl { top: -4px;  left: -4px;  border-width: 2px 0 0 2px; }
.tr { top: -4px;  right: -4px; border-width: 2px 2px 0 0; }
.bl { bottom: -4px; left: -4px;  border-width: 0 0 2px 2px; }
.br { bottom: -4px; right: -4px; border-width: 0 2px 2px 0; }

.supernova-box {
    background: var(--bg-card);
    border: 1px solid rgba(255,230,0,0.2);
    padding: clamp(2rem, 5vw, 3rem);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.supernova-box::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,230,0,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* Marquee headline: two lines, two colours, each with its own glow */
.px-tagline {
    font-family: var(--font-pixel);
    font-size: clamp(0.9rem, 3.2vw, 1.4rem);
    line-height: 1.75;
    display: block;
}
.px-line { display: block; white-space: nowrap; }
.px-line--games {
    color: var(--yellow);
    animation: statGlow 3s ease-in-out infinite;
}
.px-line--prices {
    color: var(--pink);
    animation: pxGlowPink 3s ease-in-out 1.5s infinite; /* half a beat behind the yellow line */
}
@keyframes pxGlowPink {
    0%, 100% { text-shadow: 0 0 10px var(--pink), 0 0 28px rgba(255,45,107,0.3); }
    50%      { text-shadow: 0 0 22px var(--pink), 0 0 55px rgba(255,45,107,0.55); }
}
@media (prefers-reduced-motion: reduce) {
    .px-line--games,
    .px-line--prices { animation: none; text-shadow: 0 0 14px currentColor; }
}
.px-sub {
    font-size: clamp(0.79rem, 1.85vw, 0.90rem);
    color: var(--text);
    margin-top: 0.75rem;
    line-height: 1.8;
}

.price-pills {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    justify-content: center;
}
.price-pill {
    background: rgba(255,230,0,0.06);
    border: 1px solid rgba(255,230,0,0.2);
    padding: clamp(0.5rem, 2vw, 0.75rem) clamp(0.75rem, 2vw, 1.1rem);
    text-align: center;
    flex: 1 1 auto; /* size to the label, so "Children (4–11)" stays on one line */
    min-width: 70px;
}
.pill-amount {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.2rem, 3.6vw, 1.6rem);
    color: var(--pill, var(--yellow));
    text-shadow: 0 0 14px color-mix(in srgb, var(--pill, var(--yellow)) 45%, transparent);
    display: block;
}
/* One colour per price: yellow adults, cyan children, green free (matches the Tickets page) */
.price-pill--adult { --pill: var(--yellow); }
.price-pill--child { --pill: var(--cyan); }
.price-pill--free  { --pill: var(--green); }
.price-pill--adult,
.price-pill--child,
.price-pill--free {
    background: color-mix(in srgb, var(--pill) 7%, transparent);
    border-color: color-mix(in srgb, var(--pill) 30%, transparent);
    border-top: 3px solid var(--pill);
}
.pill-label {
    font-size: clamp(0.63rem, 1.58vw, 0.73rem);
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.15rem;
    display: block;
    white-space: nowrap;
}

.pricing-text h2 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.05;
}
.pricing-text h2 em { color: var(--yellow); font-style: normal; }
.pricing-text p {
    font-size: clamp(0.83rem, 1.98vw, 0.92rem);
    line-height: 1.95;
    color: var(--text);
    margin-bottom: 1rem;
}

/* ── HIRE STRIP ── */
.hire-strip {
    background: linear-gradient(135deg, rgba(255,45,107,0.07) 0%, transparent 55%), var(--bg-panel);
    border-top: 1px solid rgba(255,45,107,0.18);
    border-bottom: 1px solid rgba(255,45,107,0.18);
    padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1rem, 5vw, 2.5rem);
    position: relative;
    z-index: 1;
}
.hire-strip-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.hire-strip-text h2 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.1rem, 3vw, 2rem);
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}
.hire-strip-text h2 em { color: var(--pink); font-style: normal; }
.hire-strip-text p {
    font-size: clamp(0.82rem, 1.98vw, 0.88rem);
    color: var(--text);
    line-height: 1.8;
    max-width: 500px;
}
.hire-from { text-align: center; flex-shrink: 0; }
.hire-price {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 6vw, 3.2rem);
    color: var(--yellow);
    text-shadow: 0 0 25px rgba(255,230,0,0.4);
    line-height: 1;
}
.hire-price-sub {
    font-size: clamp(0.69rem, 1.58vw, 0.75rem);
    color: var(--text);
    margin-top: 0.3rem;
}

/* ── REVIEWS ── */
.reviews-section {
    background: radial-gradient(ellipse 800px 400px at 50% 0%, rgba(255,230,0,0.04) 0%, transparent 60%),
                var(--bg-mid);
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 2.5rem;
}
.review {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: clamp(1.25rem, 3vw, 1.75rem);
}
.review-stars {
    color: var(--yellow);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}
.review-text {
    font-size: clamp(0.79rem, 1.85vw, 0.86rem);
    line-height: 1.85;
    color: var(--text);
    font-style: italic;
    margin-bottom: 1rem;
}
.review-author {
    font-family: var(--font-display);
    font-size: clamp(0.66rem, 1.45vw, 0.73rem);
    color: var(--cyan);
    text-transform: uppercase;
}
.review-via {
    font-size: clamp(0.63rem, 1.32vw, 0.69rem);
    color: rgba(168,188,216,0.3);
    margin-top: 0.1rem;
}
.review-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ── FOLLOW ── */
.follow-section { background: var(--bg); }
.follow-inner { text-align: center; }
.follow-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .pricing-layout  { grid-template-columns: 1fr; }
    .reviews-grid    { grid-template-columns: 1fr 1fr; }
    .expect-grid     { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .hire-strip-inner { flex-direction: column; text-align: center; }
    .hero-title { -webkit-text-stroke: 1px var(--yellow); }
}
@media (max-width: 600px) {
    .expect-grid  { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
}
