/*
    HALLOWEEN PARTY 2026
    Fő színek:
    --bg:        #100b18  (éjfekete lila)
    --panel:     #1a1224  (sötét panel)
    --orange:    #ff6b1a  (tök narancs)
    --cream:     #f7efdf  (meleg törtfehér)
    --muted:     #a79bad  (halvány szöveg)
*/
:root {
    --bg: #100b18;
    --panel: #1a1224;
    --panel-light: #24182f;
    --orange: #ff6b1a;
    --orange-light: #ff9b47;
    --cream: #f7efdf;
    --muted: #a79bad;
    --line: rgba(247, 239, 223, .13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 25px; }
body { margin: 0; background: var(--bg); color: var(--cream); font-family: 'Montserrat', Arial, sans-serif; line-height: 1.6; overflow-x: hidden; }
a { color: inherit; }
.wrap { width: min(1160px, calc(100% - 48px)); margin: 0 auto; }
.grain { position: fixed; inset: 0; z-index: 10; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E"); }
.hero { min-height: 780px; height: 100svh; max-height: 980px; position: relative; overflow: hidden; background: radial-gradient(ellipse at 72% 48%, #3a1c38 0, #1d1029 31%, #100b18 69%); border-bottom: 1px solid var(--line); }
.hero::before { content: ''; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,107,26,.16); border-radius: 50%; right: -90px; top: 18%; box-shadow: 0 0 0 45px rgba(255,107,26,.025), 0 0 0 90px rgba(255,107,26,.02); }
.hero::after { content: ''; position: absolute; width: 42vw; height: 42vw; min-width: 340px; min-height: 340px; border-radius: 50%; right: 3%; top: 22%; background: radial-gradient(circle, rgba(255,107,26,.11), transparent 68%); pointer-events: none; }
.nav { height: 88px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; border-bottom: 1px solid rgba(247,239,223,.12); }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 800; font-size: 13px; letter-spacing: .12em; }
.brand > span:last-child { color: var(--orange); }
.brand-icon { color: var(--orange); font-size: 22px; }
.nav-link { text-decoration: none; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: color .2s; }
.nav-link span { color: var(--orange); padding-left: 8px; font-size: 16px; }
.nav-link:hover, .credits a:hover { color: var(--orange-light); }
.hero-content { position: relative; height: calc(100% - 88px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-bottom: 45px; z-index: 1; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--orange-light); font-size: 10px; font-weight: 800; letter-spacing: .22em; margin-bottom: 22px; }
.eyebrow-line { display: inline-block; width: 28px; height: 1px; background: var(--orange); }
h1 { margin: 0; font-size: clamp(68px, 10.5vw, 142px); line-height: .78; letter-spacing: -.065em; font-weight: 800; position: relative; z-index: 1; }
h1 span { color: var(--orange); }
h1 em { font-family: 'Creepster', cursive; font-size: .52em; font-style: normal; letter-spacing: .12em; color: var(--cream); margin-left: 18px; vertical-align: 18%; text-shadow: 4px 4px 0 #56213c; }
.hero-copy { margin: 30px 0 28px; color: #c7b9cc; font-size: 15px; line-height: 1.9; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 26px; min-height: 52px; padding: 0 23px; text-decoration: none; text-transform: uppercase; letter-spacing: .09em; font-size: 10px; font-weight: 800; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-3px); }
.button-primary { background: var(--orange); color: #190e1d; box-shadow: 6px 6px 0 rgba(255,107,26,.17); }
.button-primary:hover { background: var(--orange-light); }
.button span { font-size: 17px; }
.hero-stamp { position: absolute; right: 9%; top: 32%; width: 136px; height: 136px; border: 1px solid rgba(255,107,26,.65); border-radius: 50%; transform: rotate(13deg); display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--orange-light); font-size: 9px; line-height: 1.7; letter-spacing: .2em; text-align: center; }
.hero-stamp strong { color: var(--cream); font-size: 20px; font-weight: 800; letter-spacing: .08em; }
.hero-ghost { position: absolute; color: rgba(255,107,26,.2); user-select: none; }
.ghost-one { right: 20%; bottom: 20%; font-size: 90px; transform: rotate(-15deg); }
.ghost-two { right: 4%; top: 21%; font-size: 36px; }
.ghost-three { right: 15%; top: 55%; font-size: 60px; color: rgba(247,239,223,.16); }
.hero-bottom { position: absolute; bottom: 20px; left: 0; right: 0; display: flex; justify-content: space-between; font-size: 9px; font-weight: 700; letter-spacing: .18em; color: #76667e; }
.section { padding: 120px 0; }
.program { background: #f4ecdf; color: #1b1221; position: relative; overflow: hidden; }
.program-grid { display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(260px, .8fr); gap: 45px; align-items: center; }
.section-mark { display: flex; align-items: center; gap: 12px; font-size: 9px; font-weight: 800; letter-spacing: .14em; white-space: nowrap; writing-mode: vertical-rl; transform: rotate(180deg); align-self: start; color: #8d7d8f; }
.section-mark span { color: var(--orange); font-size: 13px; }
.section-mark i { display: inline-block; width: 1px; height: 48px; background: currentColor; }
.kicker { color: #b24c18; text-transform: uppercase; font-size: 10px; font-weight: 800; letter-spacing: .2em; margin: 0 0 12px; }
h2 { margin: 0; font-size: clamp(42px, 5vw, 65px); line-height: 1.05; letter-spacing: -.06em; font-weight: 800; }
.orange { color: var(--orange); }
.program-text { max-width: 560px; color: #635666; font-size: 15px; line-height: 2; margin: 25px 0 30px; }
.program-note { display: flex; align-items: center; gap: 16px; border-top: 1px solid rgba(27,18,33,.15); padding-top: 22px; }
.moon { display: grid; place-items: center; width: 43px; height: 43px; background: #1b1221; color: var(--orange); font-size: 24px; border-radius: 50%; }
.program-note strong, .program-note small { display: block; }
.program-note strong { font-size: 10px; letter-spacing: .12em; }
.program-note small { color: #827387; font-size: 11px; margin-top: 4px; }
.program-art { min-height: 310px; display: flex; justify-content: center; align-items: center; position: relative; }
.art-halo { position: absolute; width: 260px; height: 260px; border: 1px solid rgba(255,107,26,.45); border-radius: 50%; box-shadow: 0 0 0 22px rgba(255,107,26,.05), 0 0 0 50px rgba(255,107,26,.035); }
.pumpkin { width: 190px; height: 165px; position: relative; z-index: 1; background: linear-gradient(90deg, #c8430d 0%, #ff741e 24%, #ff8b24 48%, #ed5b12 73%, #a93212 100%); border-radius: 48% 48% 44% 44%; box-shadow: inset 10px 0 0 rgba(111,35,9,.18), inset -12px 0 0 rgba(111,35,9,.16), 0 20px 35px rgba(75,30,18,.18); }
.pumpkin::before, .pumpkin::after { content: ''; position: absolute; top: 4px; bottom: 0; width: 43%; border-radius: 50%; border: 2px solid rgba(127,37,9,.2); }
.pumpkin::before { left: 9%; } .pumpkin::after { right: 9%; }
.pumpkin-stem { position: absolute; width: 23px; height: 35px; background: #3b542b; border-radius: 70% 10% 0 0; left: 84px; top: -23px; transform: rotate(9deg); z-index: -1; }
.pumpkin-face { position: absolute; inset: 0; z-index: 2; }
.pumpkin-face i { position: absolute; top: 55px; width: 34px; height: 35px; background: #28121a; clip-path: polygon(50% 100%, 0 0, 100% 0); }
.pumpkin-face i:first-child { left: 37px; transform: rotate(8deg); }
.pumpkin-face i:nth-child(2) { right: 37px; transform: rotate(-8deg); }
.pumpkin-face b { position: absolute; left: 61px; top: 103px; width: 70px; height: 28px; background: #28121a; clip-path: polygon(0 0, 20% 22%, 31% 0, 44% 22%, 58% 0, 73% 22%, 100% 0, 90% 100%, 10% 100%); }
.bat { position: absolute; color: #26152b; font-size: 55px; z-index: 2; }
.bat-a { top: 25px; right: 20px; transform: rotate(-18deg); }
.bat-b { bottom: 18px; left: 5px; font-size: 70px; transform: rotate(20deg); }
.art-caption { position: absolute; bottom: 0; color: #9a8b9a; font-size: 9px; letter-spacing: .22em; font-weight: 800; }
.rules { background: radial-gradient(ellipse at 50% 0%, #26162f 0, var(--bg) 58%); }
.rules-heading { max-width: 720px; margin: 0 auto 46px; text-align: center; }
.rules-heading .section-mark { writing-mode: initial; transform: none; justify-content: center; margin-bottom: 42px; }
.rules-heading .section-mark i { width: 35px; height: 1px; }
.rules-heading .kicker { color: var(--orange-light); }
.rules-heading h2 { color: var(--cream); }
.rules-intro { color: var(--muted); font-size: 13px; line-height: 1.9; max-width: 580px; margin: 20px auto 0; }
.warning-banner { display: flex; align-items: center; gap: 18px; background: rgba(255,107,26,.1); border: 1px solid rgba(255,107,26,.5); padding: 21px 25px; margin-bottom: 18px; }
.warning-icon { font-size: 30px; color: var(--orange); }
.warning-banner strong, .warning-banner small { display: block; }
.warning-banner strong { color: var(--orange-light); font-size: clamp(12px, 2vw, 16px); letter-spacing: .06em; }
.warning-banner small { color: #b6a5bb; font-size: 11px; margin-top: 3px; }
.warning-skull { margin-left: auto; color: rgba(255,107,26,.35); font-size: 32px; }
.rules-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rule-card { min-height: 116px; position: relative; overflow: hidden; display: grid; grid-template-columns: 32px 34px 1fr; align-items: start; gap: 14px; padding: 24px 22px; background: linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.015)); border: 1px solid var(--line); transition: border-color .2s, transform .2s, background .2s; }
.rule-card:hover { border-color: rgba(255,107,26,.55); transform: translateY(-3px); background: rgba(255,107,26,.055); }
.rule-number { color: #75637e; font-size: 10px; font-weight: 800; letter-spacing: .08em; padding-top: 5px; }
.rule-symbol { font-size: 22px; filter: saturate(.75); }
.rule-card p { margin: 0; color: #d6cbd9; font-size: 12px; line-height: 1.9; }
.rule-card strong { color: var(--orange-light); }
.rule-scratch { position: absolute; bottom: 0; right: 0; width: 42px; height: 2px; background: var(--orange); opacity: .6; }
.final-call { text-align: center; padding: 90px 20px 0; }
.final-bat { display: block; color: var(--orange); font-size: 35px; transform: rotate(180deg); }
.final-call p { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; margin: 15px 0; }
.final-call h3 { margin: 0 0 28px; font-size: clamp(27px, 4vw, 43px); letter-spacing: -.04em; }
.button-outline { border: 1px solid rgba(255,107,26,.65); color: var(--cream); }
.button-outline:hover { background: var(--orange); color: var(--bg); }
.footer { border-top: 1px solid var(--line); background: #0b0711; }
.footer-inner { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-brand { font-size: 11px; }
.footer-center { text-align: center; }
.footer-center strong, .footer-center small { display: block; }
.footer-center strong { font-size: 12px; letter-spacing: .08em; }
.footer-center small { color: #76677e; font-size: 10px; margin-top: 4px; }
.credits { margin: 0; color: #8c7c94; font-size: 10px; }
.credits a { color: var(--cream); text-decoration: none; }
@media (max-width: 900px) {
    .program-grid { grid-template-columns: 45px 1fr; gap: 25px; }
    .program-art { grid-column: 2; min-height: 250px; }
    .program { padding: 90px 0; }
    .hero-stamp { right: 4%; top: 18%; width: 105px; height: 105px; }
    .hero-stamp strong { font-size: 16px; }
    .rules { padding: 90px 0; }
}
@media (max-width: 620px) {
    .wrap { width: min(100% - 34px, 520px); }
    .hero { min-height: 700px; height: 92svh; max-height: 850px; }
    .nav { height: 70px; }
    .brand { font-size: 11px; }
    .nav-link { font-size: 0; }
    .nav-link span { font-size: 22px; }
    .hero-content { height: calc(100% - 70px); padding-bottom: 45px; }
    .eyebrow { font-size: 8px; letter-spacing: .12em; gap: 7px; margin-bottom: 25px; }
    .eyebrow-line { width: 17px; }
    h1 { font-size: clamp(58px, 16vw, 90px); line-height: .84; }
    h1 em { display: block; margin: 13px 0 0 3px; font-size: .55em; }
    .hero-copy { font-size: 12px; margin: 25px 0; }
    .hero-stamp { width: 76px; height: 76px; top: 11%; right: 3%; font-size: 6px; }
    .hero-stamp strong { font-size: 11px; }
    .hero::before { width: 330px; height: 330px; right: -160px; top: 30%; }
    .ghost-one { font-size: 60px; right: 5%; bottom: 18%; }
    .ghost-three { right: 8%; top: 48%; font-size: 40px; }
    .ghost-two { right: 7%; top: 25%; font-size: 25px; }
    .hero-bottom { font-size: 7px; letter-spacing: .1em; bottom: 14px; }
    .section { padding: 75px 0; }
    .program-grid { grid-template-columns: 25px minmax(0, 1fr); gap: 14px; }
    .section-mark { font-size: 7px; gap: 7px; }
    .program-grid > .section-mark { grid-row: 1 / span 2; }
    .program-main h2, .rules-heading h2 { font-size: 47px; }
    .program-text { font-size: 13px; line-height: 1.9; margin: 20px 0 25px; }
    .program-note small { font-size: 10px; line-height: 1.6; }
    .program-art { min-height: 240px; }
    .art-halo { width: 190px; height: 190px; }
    .pumpkin { transform: scale(.82); }
    .bat-a { right: 3px; top: 20px; }
    .rules-heading { margin-bottom: 32px; }
    .rules-heading .section-mark { margin-bottom: 30px; font-size: 8px; }
    .rules-intro { font-size: 12px; }
    .warning-banner { gap: 12px; padding: 17px 14px; }
    .warning-icon { font-size: 24px; }
    .warning-banner strong { font-size: 11px; line-height: 1.6; }
    .warning-banner small { font-size: 10px; line-height: 1.7; }
    .warning-skull { display: none; }
    .rules-list { grid-template-columns: 1fr; gap: 9px; }
    .rule-card { min-height: 0; grid-template-columns: 25px 28px 1fr; gap: 10px; padding: 18px 14px; }
    .rule-card p { font-size: 12px; }
    .rule-symbol { font-size: 19px; }
    .final-call { padding: 65px 0 0; }
    .final-call h3 { line-height: 1.2; }
    .footer-inner { flex-direction: column; justify-content: center; padding: 30px 0; gap: 18px; }
    .footer-center { order: -1; }
    .credits { text-align: center; line-height: 1.9; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Kísértetjárás: lebegő szellemek és lassan hömpölygő köd */
.haunt-layer {
    position: fixed;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    overflow: hidden;
    contain: strict;
}
.fog {
    position: absolute;
    left: -25%;
    width: 150%;
    height: 34vh;
    min-height: 190px;
    opacity: .12;
    filter: blur(28px);
    background:
        radial-gradient(ellipse at 15% 55%, rgba(196, 176, 214, .42) 0 8%, transparent 32%),
        radial-gradient(ellipse at 38% 45%, rgba(139, 112, 164, .5) 0 12%, transparent 37%),
        radial-gradient(ellipse at 65% 62%, rgba(215, 198, 222, .32) 0 10%, transparent 35%),
        radial-gradient(ellipse at 85% 38%, rgba(120, 94, 151, .4) 0 11%, transparent 34%);
    will-change: transform;
}
.fog-back {
    bottom: -7vh;
    animation: fog-drift 38s ease-in-out infinite alternate;
}
.fog-front {
    bottom: 5vh;
    opacity: .075;
    transform: scaleX(-1);
    animation: fog-drift-reverse 52s ease-in-out infinite alternate;
}
.floating-ghost {
    position: absolute;
    display: block;
    font-size: clamp(24px, 3vw, 42px);
    opacity: 0;
    filter: grayscale(1) drop-shadow(0 0 14px rgba(218, 205, 230, .24));
    animation: ghost-drift 19s linear infinite;
    will-change: transform, opacity;
}
.ghost-float-one { left: 12%; bottom: -8%; animation-delay: -4s; --sway: 34px; }
.ghost-float-two { left: 72%; bottom: -10%; font-size: 32px; animation-delay: -12s; --sway: -27px; }
.ghost-float-three { left: 48%; bottom: -12%; font-size: 23px; animation-delay: -17s; --sway: 22px; }
.ghost-float-four { left: 88%; bottom: -9%; font-size: 28px; animation-delay: -8s; --sway: -35px; }
@keyframes fog-drift {
    0% { transform: translate3d(-4%, 0, 0) scale(1); }
    50% { transform: translate3d(3%, -12px, 0) scale(1.06); }
    100% { transform: translate3d(8%, 5px, 0) scale(1.02); }
}
@keyframes fog-drift-reverse {
    0% { transform: translate3d(5%, 0, 0) scaleX(-1) scale(1.03); }
    100% { transform: translate3d(-7%, -18px, 0) scaleX(-1) scale(1.1); }
}
@keyframes ghost-drift {
    0% { transform: translate3d(0, 0, 0) rotate(-8deg) scale(.85); opacity: 0; }
    12% { opacity: .48; }
    38% { transform: translate3d(var(--sway), -38vh, 0) rotate(9deg) scale(1); opacity: .38; }
    72% { opacity: .42; }
    100% { transform: translate3d(calc(var(--sway) * -1), -112vh, 0) rotate(-11deg) scale(.9); opacity: 0; }
}
@media (max-width: 620px) {
    .fog { height: 26vh; min-height: 140px; filter: blur(22px); opacity: .09; }
    .fog-front { opacity: .055; }
    .floating-ghost { font-size: 25px; }
    .ghost-float-two { font-size: 22px; }
    .ghost-float-three { font-size: 18px; }
    .ghost-float-four { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
    .fog, .floating-ghost { animation: none !important; }
    .fog { opacity: .045; }
    .floating-ghost { display: none; }
}
