:root {
  --ink: #efe2c4;
  --muted: #b9a789;
  --paper: #d6bd8c;
  --paper-dark: #9f7b48;
  --coal: #0b0806;
  --coal-2: #15100c;
  --wood: #24150e;
  --wood-light: #4b2a19;
  --red: #7e1f17;
  --red-bright: #b43a25;
  --gold: #c9944d;
  --gold-light: #e7c47d;
  --line: rgba(214, 189, 140, .23);
  --shadow: 0 24px 80px rgba(0, 0, 0, .48);
  --display: Georgia, 'Times New Roman', serif;
  --body: 'Trebuchet MS', Arial, sans-serif;
  --header-height: 82px;
  --hero-overlay: .58;
  --hero-position: center;
  --header-background-image: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--paper-dark) var(--coal); }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 15%, rgba(128, 52, 22, .16), transparent 24rem),
    radial-gradient(circle at 84% 72%, rgba(124, 74, 26, .11), transparent 28rem),
    var(--coal);
  font-family: var(--body);
  line-height: 1.65;
  overflow-x: hidden;
}
body.nav-open, body.modal-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, video { max-width: 100%; display: block; }
button { color: inherit; }
::selection { background: var(--red-bright); color: #fff8e8; }

.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { position: relative; padding: 118px 0; }
.hidden { display: none !important; }

.film-grain {
  position: fixed; inset: 0; z-index: 999; pointer-events: none; opacity: .12;
  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='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}
.cursor-glow { position: fixed; width: 440px; height: 440px; border-radius: 50%; pointer-events: none; z-index: 0; opacity: .16; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(184, 87, 34, .45), transparent 66%); transition: opacity .3s; }
.dust-layer { position: fixed; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; opacity: .35; }
.dust-layer i { position: absolute; bottom: -40px; width: 4px; height: 4px; border-radius: 50%; background: rgba(233, 201, 151, .8); box-shadow: 0 0 10px rgba(233, 201, 151, .45); animation: dustRise 17s linear infinite; }
.dust-layer i:nth-child(1) { left: 7%; animation-delay: -6s; }
.dust-layer i:nth-child(2) { left: 25%; width: 2px; height: 2px; animation-duration: 13s; }
.dust-layer i:nth-child(3) { left: 51%; animation-delay: -11s; animation-duration: 22s; }
.dust-layer i:nth-child(4) { left: 76%; width: 3px; height: 3px; animation-delay: -3s; }
.dust-layer i:nth-child(5) { left: 93%; animation-delay: -14s; animation-duration: 20s; }
@keyframes dustRise { to { transform: translate3d(70px, -110vh, 0) scale(.2); opacity: 0; } }

.preloader { position: fixed; inset: 0; z-index: 2000; display: grid; place-content: center; justify-items: center; gap: 22px; background: #080504; transition: opacity .7s, visibility .7s; }
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader img { width: 150px; filter: drop-shadow(0 18px 28px #000); animation: sealPulse 1.8s ease-in-out infinite; }
.preloader p { margin: 0; color: var(--muted); letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }
.preloader-track { width: 240px; height: 2px; background: rgba(255,255,255,.08); overflow: hidden; }
.preloader-track span { display: block; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, var(--gold), transparent); animation: loadTrack 1.2s infinite; }
@keyframes sealPulse { 50% { transform: scale(1.035); } }
@keyframes loadTrack { from { transform: translateX(-120%); } to { transform: translateX(270%); } }

.announcement { position: fixed; z-index: 1200; top: 92px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 18px; width: min(680px, calc(100% - 32px)); padding: 11px 14px 11px 22px; color: #26170e; background: linear-gradient(135deg, #e8d2a4, #c8a56c); border: 1px solid #f4dfb8; box-shadow: 0 14px 46px rgba(0,0,0,.4); clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%); }
.announcement span { flex: 1; text-align: center; font-family: var(--display); font-weight: 700; }
.announcement button { border: 0; background: transparent; color: #3b2113; font-size: 22px; cursor: pointer; }

.site-header { position: fixed; z-index: 1100; top: 0; left: 0; width: 100%; min-height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px 4.5vw; border-bottom: 1px solid transparent; background-image: linear-gradient(rgba(10,7,5,.58), rgba(10,7,5,.58)), var(--header-background-image); background-position: center; background-size: cover; transition: background .35s, border-color .35s, box-shadow .35s, transform .35s; }
.site-header.header-transparent:not(.scrolled):not(.has-custom-header) { background-image: none; background-color: transparent; }
.site-header.header-dark:not(.scrolled) { background-color: rgba(10,7,5,.84); border-color: rgba(214,189,140,.15); backdrop-filter: blur(10px); }
.site-header.header-wood:not(.scrolled) { background-color: rgba(46,24,14,.88); background-image: linear-gradient(rgba(24,12,8,.45), rgba(24,12,8,.45)), var(--header-background-image), repeating-linear-gradient(8deg, rgba(255,255,255,.025) 0 2px, transparent 2px 11px); border-color: rgba(214,189,140,.22); box-shadow: 0 8px 28px rgba(0,0,0,.22); }
.site-header.scrolled { background-color: rgba(10, 7, 5, .94); border-color: var(--line); box-shadow: 0 10px 40px rgba(0,0,0,.34); backdrop-filter: blur(14px); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 220px; }
.brand img { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0,0,0,.55)); }
.brand span { display: grid; line-height: 1.1; }
.brand strong { font-family: var(--display); font-size: 18px; letter-spacing: .04em; }
.brand small { color: var(--muted); text-transform: uppercase; letter-spacing: .17em; font-size: 9px; margin-top: 5px; }
.main-nav { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 28px); }
.main-nav a { position: relative; text-decoration: none; color: #dfcfb3; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; font-size: 11px; padding: 12px 0; }
.main-nav a:not(.nav-discord)::after { content: ''; position: absolute; left: 0; bottom: 5px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .25s; }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.main-nav .nav-discord { padding: 11px 19px; border: 1px solid rgba(219, 178, 102, .6); background: rgba(112, 36, 24, .42); clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); }
.nav-toggle { display: none; width: 46px; height: 42px; border: 1px solid var(--line); background: rgba(12,8,6,.7); cursor: pointer; padding: 11px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--paper); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { min-height: 100svh; position: relative; display: grid; place-items: center; isolation: isolate; overflow: hidden; padding: 120px 24px 72px; background: #120906; }
.hero-media { position: absolute; inset: 0; z-index: -5; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-position); filter: saturate(.78) contrast(1.08) brightness(.72) sepia(.1); }
.hero-media video { transform: scale(1.03); }
.hero-fallback { width: 100%; height: 100%; background:
  radial-gradient(circle at 63% 31%, rgba(255, 159, 71, .46), transparent 13rem),
  linear-gradient(to bottom, rgba(24, 10, 7, .15), rgba(21, 8, 5, .7)),
  linear-gradient(135deg, #5d2514 0%, #9b4f25 27%, #d18440 47%, #3b1b13 71%, #130a07 100%); }
.hero-fallback::before { content: ''; position: absolute; inset: 0; opacity: .38; background:
  repeating-linear-gradient(170deg, transparent 0 38px, rgba(17, 6, 3, .22) 40px 42px),
  radial-gradient(ellipse at 20% 73%, #1b100b 0 16%, transparent 16.5%),
  radial-gradient(ellipse at 83% 68%, #211109 0 20%, transparent 20.5%); }
.hero-vignette { position: absolute; inset: 0; z-index: -3; opacity: var(--hero-overlay); background: radial-gradient(circle, transparent 24%, rgba(4,2,2,.46) 61%, rgba(4,2,2,.96) 100%), linear-gradient(to bottom, rgba(0,0,0,.34), rgba(0,0,0,.28) 55%, #0b0806 100%); }
.hero-ridge { position: absolute; left: -5%; width: 110%; bottom: -4%; height: 31%; z-index: -2; background: #0b0705; clip-path: polygon(0 66%, 6% 47%, 13% 59%, 20% 39%, 30% 55%, 38% 27%, 43% 31%, 51% 55%, 61% 35%, 72% 54%, 80% 28%, 91% 50%, 100% 38%, 100% 100%, 0 100%); }
.hero-ridge-back { bottom: 8%; opacity: .6; filter: blur(1px); transform: scaleX(1.05); }
.hero-ridge-front { height: 22%; background: #090605; opacity: .97; }
.hero-content { position: relative; z-index: 2; display: grid; justify-items: center; width: min(850px, 100%); text-align: center; }
.hero-seal-wrap { position: relative; width: clamp(180px, 20vw, 270px); aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 8px; }
.hero-seal { width: 100%; filter: drop-shadow(0 28px 35px rgba(0,0,0,.78)); animation: heroSeal 8s ease-in-out infinite; }
.seal-orbit { position: absolute; inset: 4%; border: 1px solid rgba(230, 185, 109, .3); border-radius: 50%; box-shadow: 0 0 50px rgba(173, 72, 31, .18); animation: orbitPulse 4s ease-in-out infinite; }
@keyframes heroSeal { 50% { transform: translateY(-8px) rotate(.4deg); } }
@keyframes orbitPulse { 50% { transform: scale(1.07); opacity: .3; } }
.hero-eyebrow, .kicker { color: var(--gold-light); text-transform: uppercase; letter-spacing: .26em; font-size: 11px; font-weight: 800; }
.hero h1 { margin: 14px 0 12px; max-width: 900px; font-family: var(--display); font-size: clamp(44px, 7vw, 88px); line-height: .98; letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 6px 28px rgba(0,0,0,.72); }
.hero-content > p { max-width: 690px; margin: 0; color: #d8c9ae; font-family: var(--display); font-size: clamp(17px, 2vw, 22px); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 25px; border: 1px solid transparent; text-decoration: none; text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 800; cursor: pointer; transition: transform .2s, background .2s, border-color .2s, color .2s; clip-path: polygon(9px 0, 100% 0, calc(100% - 9px) 100%, 0 100%); }
.button:hover { transform: translateY(-3px); }
.button-primary { background: linear-gradient(135deg, #9d3020, #6e1c15); color: #fff4df; border-color: #c96743; box-shadow: 0 12px 30px rgba(92, 20, 14, .35); }
.button-ghost { border-color: rgba(225, 193, 135, .55); background: rgba(12,8,6,.35); color: #f0dfc0; backdrop-filter: blur(7px); }
.scroll-hint { display: grid; gap: 8px; justify-items: center; margin-top: 38px; color: var(--muted); text-decoration: none; text-transform: uppercase; letter-spacing: .2em; font-size: 9px; }
.scroll-hint i { width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 1.8s infinite; }
@keyframes scrollLine { 50% { transform: scaleY(.55); transform-origin: top; } }
.hero-ticket { position: absolute; z-index: 4; left: 50%; right: auto; bottom: 28px; width: min(260px, calc(100% - 32px)); padding: 24px; color: #2b1a10; background: #d2b27a; border: 1px solid #e8d4aa; box-shadow: var(--shadow); transform: translateX(-50%) rotate(-1deg); transform-origin: center; background-image: repeating-linear-gradient(0deg, transparent 0 4px, rgba(74,46,23,.04) 5px 6px); }
.hero-ticket::before { content: ''; position: absolute; inset: 7px; border: 1px dashed rgba(72,40,19,.45); pointer-events: none; }
.hero-ticket > * { position: relative; z-index: 1; }
.hero-ticket span { display: block; text-transform: uppercase; letter-spacing: .18em; font-size: 9px; text-align: center; }
.hero-ticket strong { display: block; margin: 10px 0; font-family: var(--display); font-size: 25px; text-align: center; }
.hero-ticket code { display: block; padding: 10px; background: rgba(57,31,15,.1); border-top: 1px solid rgba(57,31,15,.28); border-bottom: 1px solid rgba(57,31,15,.28); font-size: 12px; overflow-wrap: anywhere; }
.hero-ticket button { width: 100%; margin-top: 12px; border: 0; padding: 9px; color: #f7e7c3; background: #5e2018; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; cursor: pointer; }
.ticket-notch { position: absolute; left: 50%; width: 24px; height: 12px; transform: translateX(-50%); background: #0a0705; border-radius: 0 0 24px 24px; }
.ticket-notch-top { top: 0; }
.ticket-notch-bottom { bottom: 0; transform: translateX(-50%) rotate(180deg); }

.kicker { display: inline-block; margin-bottom: 12px; }
.section-heading { margin-bottom: 46px; }
.section-heading h2, .story-copy h2, .join-content h2, .rules-intro h2 { margin: 0; font-family: var(--display); font-size: clamp(36px, 5vw, 62px); line-height: 1.05; letter-spacing: -.025em; text-wrap: balance; }
.section-heading p, .lead, .rules-intro > p { color: var(--muted); max-width: 720px; font-size: 17px; }
.centered { text-align: center; }
.centered p { margin-inline: auto; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; }
.split-heading p { max-width: 430px; margin: 0; }

.story { background:
  linear-gradient(rgba(15,10,7,.94), rgba(15,10,7,.94)),
  repeating-linear-gradient(90deg, transparent 0 58px, rgba(159,100,53,.08) 59px 60px); }
.story::before, .story::after { content: ''; position: absolute; left: 0; width: 100%; height: 38px; background: linear-gradient(135deg, transparent 25%, #0b0806 25% 50%, transparent 50% 75%, #0b0806 75%); background-size: 32px 32px; opacity: .5; }
.story::before { top: -1px; }
.story::after { bottom: -1px; transform: rotate(180deg); }
.story-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: clamp(54px, 8vw, 110px); align-items: center; }
.story-copy .lead { font-family: var(--display); font-size: 20px; }
.story-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.story-values article { position: relative; padding: 24px 18px 20px; border-top: 1px solid var(--gold); background: linear-gradient(180deg, rgba(116,67,34,.14), transparent); }
.story-values span { color: var(--gold); font-family: var(--display); font-size: 14px; }
.story-values h3 { margin: 8px 0; font-family: var(--display); font-size: 20px; }
.story-values p { margin: 0; color: var(--muted); font-size: 13px; }
.story-poster { position: relative; min-height: 570px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 46px 34px; color: #2f1b10; text-align: center; background: #c9ab74; box-shadow: 0 35px 90px rgba(0,0,0,.5); transform: rotate(1.4deg); background-image:
  radial-gradient(circle at 10% 10%, rgba(72,39,18,.12), transparent 20%),
  repeating-linear-gradient(4deg, transparent 0 7px, rgba(66,36,17,.035) 8px 9px); }
.story-poster::before { content: ''; position: absolute; inset: 12px; border: 2px solid rgba(69,39,20,.5); box-shadow: inset 0 0 0 5px rgba(232,208,159,.25); }
.story-poster > * { position: relative; z-index: 1; }
.story-poster > span { text-transform: uppercase; letter-spacing: .2em; font-size: 10px; }
.story-poster img { width: min(330px, 90%); margin: 22px auto; filter: sepia(.3) contrast(1.05) drop-shadow(0 16px 20px rgba(55,28,13,.28)); }
.story-poster h3 { margin: 0; font-family: var(--display); font-size: 42px; }
.story-poster p { font-family: var(--display); font-style: italic; }
.poster-pin { position: absolute; z-index: 3; top: 18px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e3b96e, #704522 63%, #24140a); box-shadow: 0 5px 6px rgba(0,0,0,.4); }
.poster-pin-left { left: 20px; }.poster-pin-right { right: 20px; }
.poster-stamp { position: absolute; right: 25px; bottom: 26px; padding: 9px 12px; border: 3px double rgba(103,31,23,.65); color: rgba(103,31,23,.72); font-family: var(--display); font-weight: 800; text-transform: uppercase; transform: rotate(-12deg); }

.paths { overflow: hidden; background:
  radial-gradient(circle at 50% 5%, rgba(114,52,26,.18), transparent 30rem),
  #0d0907; }
.paths::before { content: 'REDEMPTION'; position: absolute; top: 36px; left: 50%; transform: translateX(-50%); font-family: var(--display); font-size: clamp(80px, 14vw, 210px); letter-spacing: .03em; color: rgba(214,189,140,.025); white-space: nowrap; pointer-events: none; }
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.filter-row button { border: 1px solid var(--line); padding: 9px 15px; color: var(--muted); background: rgba(42,25,16,.4); text-transform: uppercase; letter-spacing: .13em; font-size: 10px; cursor: pointer; transition: .2s; }
.filter-row button:hover, .filter-row button.active { border-color: var(--gold); color: #fff1d4; background: rgba(127,49,30,.35); }
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.job-card { position: relative; min-height: 330px; overflow: hidden; border: 1px solid rgba(196,151,83,.26); background: linear-gradient(145deg, #21150f, #100b08); box-shadow: 0 15px 42px rgba(0,0,0,.28); transition: transform .3s, border-color .3s; }
.job-card:hover { transform: translateY(-8px); border-color: rgba(225,185,111,.6); }
.job-card-media { position: absolute; inset: 0; opacity: .25; }
.job-card-media img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.65) saturate(.7); }
.job-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,7,5,.98) 12%, rgba(10,7,5,.72) 58%, rgba(10,7,5,.3)); }
.job-card-content { position: relative; z-index: 2; min-height: 330px; display: flex; flex-direction: column; justify-content: end; padding: 28px; }
.job-icon { position: absolute; top: 24px; left: 24px; width: 60px; height: 60px; display: grid; place-items: center; border: 1px solid rgba(226,184,107,.5); color: var(--gold-light); background: rgba(50,28,17,.68); font-family: var(--display); font-size: 28px; transform: rotate(45deg); }
.job-icon span { transform: rotate(-45deg); }
.job-card small { color: var(--gold); text-transform: uppercase; letter-spacing: .19em; font-size: 9px; }
.job-card h3 { margin: 8px 0 10px; font-family: var(--display); font-size: 30px; }
.job-card p { margin: 0; color: var(--muted); font-size: 14px; }

.feature-band { padding: 80px 0; background: #1b100b; border-block: 1px solid var(--line); box-shadow: inset 0 20px 50px rgba(0,0,0,.3); }
.feature-band-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.feature-panel { display: grid; grid-template-columns: auto 1fr; gap: 19px; padding: 18px 34px; border-right: 1px solid var(--line); }
.feature-panel:last-child { border-right: 0; }
.feature-number { color: var(--gold); font-family: var(--display); font-size: 24px; }
.feature-panel small { text-transform: uppercase; color: var(--red-bright); letter-spacing: .16em; font-size: 9px; font-weight: 800; }
.feature-panel h3 { margin: 5px 0 7px; font-family: var(--display); font-size: 22px; }
.feature-panel p { margin: 0; color: var(--muted); font-size: 13px; }

.media-section { background:
  linear-gradient(rgba(9,6,5,.94), rgba(9,6,5,.94)),
  repeating-linear-gradient(135deg, rgba(204,154,80,.05) 0 1px, transparent 1px 16px); }
.media-featured { margin-bottom: 30px; }
.featured-media-card { position: relative; min-height: 570px; overflow: hidden; border: 1px solid var(--line); background: #160e0a; box-shadow: var(--shadow); cursor: pointer; }
.featured-media-card img, .featured-media-card video { width: 100%; height: 570px; object-fit: cover; filter: saturate(.75) contrast(1.05); }
.featured-media-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,5,4,.96), transparent 60%), linear-gradient(to right, rgba(7,5,4,.4), transparent 50%); }
.featured-media-copy { position: absolute; z-index: 2; left: 42px; bottom: 38px; max-width: 630px; }
.featured-media-copy span { color: var(--gold); text-transform: uppercase; letter-spacing: .2em; font-size: 10px; }
.featured-media-copy h3 { margin: 7px 0; font-family: var(--display); font-size: clamp(32px, 5vw, 52px); }
.featured-media-copy p { margin: 0; color: #d3c2a5; }
.featured-play { position: absolute; z-index: 3; right: 40px; bottom: 40px; width: 72px; height: 72px; border-radius: 50%; border: 1px solid rgba(232,197,134,.6); background: rgba(21,12,8,.65); display: grid; place-items: center; font-size: 26px; backdrop-filter: blur(8px); }
.media-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.media-card { position: relative; grid-column: span 4; min-height: 280px; overflow: hidden; border: 1px solid var(--line); background: #19100b; cursor: pointer; transition: transform .28s, border-color .28s; }
.media-card:nth-child(5n + 1) { grid-column: span 7; }
.media-card:nth-child(5n + 2) { grid-column: span 5; }
.media-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.media-card img, .media-card video { width: 100%; height: 100%; min-height: 280px; object-fit: cover; filter: saturate(.72) contrast(1.05); transition: transform .5s; }
.media-card:hover img, .media-card:hover video { transform: scale(1.045); }
.media-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,5,4,.95), transparent 58%); }
.media-card-copy { position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px; }
.media-card-copy span { color: var(--gold); text-transform: uppercase; letter-spacing: .15em; font-size: 9px; }
.media-card-copy strong { display: block; margin-top: 4px; font-family: var(--display); font-size: 22px; }
.media-type { position: absolute; z-index: 3; top: 16px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(10,7,5,.72); border: 1px solid rgba(224,190,128,.5); }
.empty-state, .content-loading { grid-column: 1 / -1; padding: 54px 30px; text-align: center; color: var(--muted); border: 1px dashed var(--line); background: rgba(55,31,18,.17); }

.news-section { background: #bfa06c; color: #2e1a0f; background-image: repeating-linear-gradient(0deg, transparent 0 5px, rgba(63,35,17,.03) 6px 7px); }
.news-section .kicker { color: #7b251c; }
.news-section .section-heading p { color: rgba(46,26,15,.72); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 3px double rgba(49,27,14,.6); border-bottom: 3px double rgba(49,27,14,.6); }
.news-card { position: relative; min-height: 420px; padding: 28px; border-right: 1px solid rgba(49,27,14,.32); cursor: pointer; transition: background .2s; }
.news-card:last-child { border-right: 0; }
.news-card:hover { background: rgba(255,245,217,.17); }
.news-card-image { height: 170px; margin: -2px -2px 22px; overflow: hidden; border: 1px solid rgba(49,27,14,.35); background: rgba(57,33,17,.12); }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.68) contrast(1.1); }
.news-card-image.placeholder { display: grid; place-items: center; }
.news-card-image.placeholder img { width: 128px; height: 128px; object-fit: contain; opacity: .72; filter: sepia(.6); }
.news-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(49,27,14,.35); text-transform: uppercase; letter-spacing: .15em; font-size: 9px; }
.news-card h3 { margin: 17px 0 11px; font-family: var(--display); font-size: 30px; line-height: 1.02; }
.news-card p { color: rgba(46,26,15,.74); }
.news-read { display: inline-block; margin-top: 9px; border-bottom: 1px solid currentColor; text-transform: uppercase; letter-spacing: .14em; font-size: 10px; font-weight: 800; }

.rules-section { background:
  radial-gradient(circle at 20% 20%, rgba(113,42,24,.18), transparent 28rem),
  #0e0907; }
.rules-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(45px, 7vw, 90px); align-items: start; }
.rules-intro { position: sticky; top: 130px; }
.rule-search { display: grid; gap: 8px; margin: 28px 0 16px; }
.rule-search span { color: var(--muted); text-transform: uppercase; letter-spacing: .12em; font-size: 9px; }
.rule-search input { width: 100%; border: 1px solid var(--line); padding: 15px 16px; color: var(--ink); background: rgba(34,20,13,.55); outline: 0; }
.rule-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197,144,72,.11); }
.rules-filters { justify-content: flex-start; margin-bottom: 25px; }
.rule-book { position: relative; padding-left: 26px; perspective: 1200px; }
.book-spine { position: absolute; left: 0; top: 18px; bottom: 18px; width: 38px; border-radius: 7px 0 0 7px; background: linear-gradient(90deg, #32150e, #6d2a1b 50%, #2a110c); box-shadow: -10px 18px 24px rgba(0,0,0,.36); }
.book-page { position: relative; min-height: 620px; padding: 40px 42px; color: #2d1a10; background: #ceb17d; border: 1px solid #ddc696; box-shadow: 0 35px 70px rgba(0,0,0,.45), inset 18px 0 28px rgba(82,47,22,.08); background-image: repeating-linear-gradient(1deg, transparent 0 6px, rgba(67,38,18,.025) 7px 8px); transform: rotateY(-1deg); }
.book-page::after { content: ''; position: absolute; inset: 13px; border: 1px solid rgba(60,35,18,.38); pointer-events: none; }
.book-header { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; padding-bottom: 16px; border-bottom: 3px double rgba(55,31,16,.52); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; }
.book-header strong { font-family: var(--display); font-size: 20px; letter-spacing: .04em; }
.book-header small { text-align: right; }
.rule-list { position: relative; z-index: 1; margin-top: 18px; }
.rule-entry { border-bottom: 1px solid rgba(59,34,17,.27); }
.rule-entry button { width: 100%; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 12px; border: 0; padding: 18px 0; color: #2d1a10; background: transparent; text-align: left; cursor: pointer; }
.rule-entry button > span:first-child { font-family: var(--display); font-weight: 800; color: #79271c; }
.rule-entry button strong { font-family: var(--display); font-size: 19px; }
.rule-entry button em { font-style: normal; font-size: 22px; transition: transform .2s; }
.rule-entry.open button em { transform: rotate(45deg); }
.rule-entry-content { display: none; padding: 0 0 20px 54px; }
.rule-entry.open .rule-entry-content { display: block; }
.rule-entry-content small { display: block; margin-bottom: 7px; color: #7b2b1e; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; }
.rule-entry-content p { margin: 0; white-space: pre-line; }

.join-section { min-height: 760px; display: grid; align-items: center; overflow: hidden; background: #160c08; }
.join-backdrop { position: absolute; inset: 0; opacity: .48; background:
  radial-gradient(circle at 75% 35%, rgba(210,112,52,.4), transparent 18rem),
  linear-gradient(130deg, #201009, #6c2d18 48%, #160c08 78%); }
.join-backdrop::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,7,5,.96), rgba(10,7,5,.48) 58%, rgba(10,7,5,.76)), repeating-linear-gradient(170deg, transparent 0 55px, rgba(0,0,0,.12) 56px 58px); }
.join-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.join-emblem img { width: min(460px, 100%); margin-inline: auto; filter: drop-shadow(0 35px 38px rgba(0,0,0,.65)); }
.join-content h2 { max-width: 700px; }
.join-steps { list-style: none; padding: 0; margin: 36px 0; display: grid; gap: 20px; }
.join-steps li { display: grid; grid-template-columns: 52px 1fr; align-items: start; gap: 18px; }
.join-steps li > span { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--gold); color: var(--gold-light); font-family: var(--display); font-size: 21px; transform: rotate(45deg); }
.join-steps li > span b { display: block; transform: rotate(-45deg); font-weight: 400; }
.join-steps strong { font-family: var(--display); font-size: 21px; }
.join-steps p { margin: 2px 0 0; color: var(--muted); }
.command-card { display: flex; align-items: center; gap: 20px; padding: 18px 18px 18px 22px; border: 1px solid var(--line); background: rgba(8,6,5,.58); }
.command-card > div { flex: 1; min-width: 0; }
.command-card small { display: block; color: var(--muted); text-transform: uppercase; letter-spacing: .15em; font-size: 9px; }
.command-card code { display: block; margin-top: 5px; color: var(--gold-light); overflow-wrap: anywhere; }
.command-card button { border: 1px solid rgba(218,180,110,.52); padding: 10px 14px; color: #f0ddba; background: rgba(113,40,25,.55); cursor: pointer; }
.join-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

.faq-section { background: #0c0806; }
.faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; border: 0; padding: 23px 4px; color: var(--ink); background: transparent; text-align: left; cursor: pointer; }
.faq-item button strong { font-family: var(--display); font-size: 21px; }
.faq-item button span { font-size: 25px; color: var(--gold); transition: transform .2s; }
.faq-item.open button span { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 50px 23px 4px; color: var(--muted); white-space: pre-line; }
.faq-item.open .faq-answer { display: block; }

.site-footer { padding: 52px 0 34px; border-top: 1px solid var(--line); background: #080504; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 74px; }
.footer-brand div { display: grid; }
.footer-brand strong { font-family: var(--display); font-size: 20px; }
.footer-brand small { color: var(--muted); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: 22px; }
.footer-links a { color: var(--muted); text-decoration: none; text-transform: uppercase; letter-spacing: .13em; font-size: 9px; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid rgba(214,189,140,.12); color: #756a59; font-size: 11px; text-align: center; }

.lightbox, .news-modal { position: fixed; inset: 0; z-index: 1800; display: grid; place-items: center; padding: 54px; background: rgba(5,3,2,.94); opacity: 0; visibility: hidden; transition: .25s; backdrop-filter: blur(12px); }
.lightbox.open, .news-modal.open { opacity: 1; visibility: visible; }
.lightbox-stage { width: min(1100px, 83vw); height: min(72vh, 760px); display: grid; place-items: center; }
.lightbox-stage img, .lightbox-stage video { max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.65); }
.lightbox-close, .news-modal-close { position: absolute; top: 22px; right: 30px; border: 0; background: transparent; color: #f2ddbb; font-size: 42px; cursor: pointer; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 70px; border: 1px solid var(--line); background: rgba(27,16,10,.6); font-size: 42px; cursor: pointer; }
.lightbox-prev { left: 24px; }.lightbox-next { right: 24px; }
.lightbox-caption { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(740px, calc(100% - 120px)); text-align: center; }
.lightbox-caption span { color: var(--gold); text-transform: uppercase; letter-spacing: .15em; font-size: 9px; }
.lightbox-caption strong { display: block; font-family: var(--display); font-size: 24px; }
.lightbox-caption p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.news-modal article { width: min(760px, 100%); max-height: calc(100vh - 100px); overflow-y: auto; padding: 48px; color: #2e1a0f; background: #ceb17d; box-shadow: var(--shadow); background-image: repeating-linear-gradient(0deg, transparent 0 5px, rgba(58,33,17,.025) 6px 7px); }
.news-modal article > span { color: #7d281d; text-transform: uppercase; letter-spacing: .15em; font-size: 10px; }
.news-modal h2 { margin: 10px 0 24px; font-family: var(--display); font-size: clamp(36px, 6vw, 58px); line-height: 1; }
.news-modal img { width: 100%; max-height: 360px; object-fit: cover; margin-bottom: 24px; filter: sepia(.45); }
.news-modal p { white-space: pre-line; font-family: var(--display); font-size: 18px; }
.toast { position: fixed; z-index: 2100; left: 50%; bottom: 30px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 12px 20px; color: #2c190f; background: var(--paper); border: 1px solid var(--gold-light); box-shadow: var(--shadow); transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1040px) {
  .main-nav { position: fixed; inset: 0 0 0 auto; width: min(420px, 88vw); padding: 118px 34px 34px; flex-direction: column; align-items: stretch; background: rgba(12,8,6,.98); border-left: 1px solid var(--line); transform: translateX(105%); transition: transform .3s; box-shadow: -30px 0 70px rgba(0,0,0,.55); }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 13px; padding: 14px 0; }
  .nav-toggle { display: block; position: relative; z-index: 2; }
  .hero { padding-bottom: 250px; }
  .hero-ticket { display: block; bottom: 24px; width: min(245px, calc(100% - 32px)); padding: 21px; }
  .story-grid, .rules-layout, .join-grid { grid-template-columns: 1fr; }
  .story-poster { width: min(620px, 100%); margin-inline: auto; }
  .job-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-band-grid { grid-template-columns: 1fr; }
  .feature-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-panel:last-child { border-bottom: 0; }
  .rules-intro { position: static; }
  .join-emblem img { width: min(360px, 75vw); }
  .faq-layout { grid-template-columns: 1fr; gap: 25px; }
}

@media (max-width: 760px) {
  :root { --header-height: 70px; }
  .container { width: min(100% - 28px, 1180px); }
  .section { padding: 84px 0; }
  .site-header { padding: 9px 14px; }
  .brand { min-width: 0; }
  .brand img { width: 47px; height: 47px; }
  .brand strong { font-size: 15px; }
  .brand small { display: none; }
  .announcement { top: 77px; font-size: 12px; }
  .hero { min-height: 980px; padding: 112px 15px 270px; }
  .hero-ticket { bottom: 18px; width: min(238px, calc(100% - 24px)); padding: 20px; transform: translateX(-50%) rotate(-.5deg); }
  .hero-ticket strong { font-size: 22px; }
  .hero-ticket code { font-size: 11px; }
  .hero-seal-wrap { width: 190px; }
  .hero h1 { font-size: clamp(42px, 14vw, 64px); }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; }
  .scroll-hint { display: none; }
  .story-values { grid-template-columns: 1fr; }
  .story-poster { min-height: 470px; padding-inline: 20px; }
  .story-poster img { width: 280px; }
  .split-heading { display: block; }
  .split-heading p { margin-top: 16px; }
  .job-grid { grid-template-columns: 1fr; }
  .featured-media-card, .featured-media-card img, .featured-media-card video { min-height: 430px; height: 430px; }
  .featured-media-copy { left: 22px; right: 22px; bottom: 24px; }
  .featured-play { top: 18px; right: 18px; bottom: auto; width: 52px; height: 52px; }
  .media-grid { display: grid; grid-template-columns: 1fr; }
  .media-card, .media-card:nth-child(5n + 1), .media-card:nth-child(5n + 2) { grid-column: auto; min-height: 260px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { min-height: auto; border-right: 0; border-bottom: 1px solid rgba(49,27,14,.35); }
  .rule-book { padding-left: 13px; }
  .book-spine { width: 25px; }
  .book-page { padding: 28px 22px; }
  .book-header { grid-template-columns: 1fr; text-align: center; }
  .book-header small { text-align: center; }
  .rule-entry button { grid-template-columns: 30px 1fr auto; }
  .rule-entry-content { padding-left: 42px; }
  .command-card { display: grid; }
  .command-card button { width: 100%; }
  .join-actions .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .footer-links { justify-content: center; }
  .lightbox { padding: 50px 10px 100px; }
  .lightbox-stage { width: 100%; height: 65vh; }
  .lightbox-nav { top: auto; bottom: 24px; width: 50px; height: 50px; }
  .lightbox-prev { left: 20px; }.lightbox-next { right: 20px; }
  .lightbox-caption { bottom: 25px; width: calc(100% - 150px); }
  .news-modal { padding: 54px 12px 16px; }
  .news-modal article { padding: 32px 22px; max-height: calc(100vh - 80px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .cursor-glow, .dust-layer { display: none; }
}

/* Redemption Way 4.1 – a 3.2-es főoldal stílusa az új rendszerekkel */
.header-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
  padding: 8px 12px;
  border: 1px solid rgba(214, 189, 140, .22);
  color: var(--muted);
  background: rgba(10, 7, 5, .38);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  backdrop-filter: blur(8px);
}
.header-status i { width: 9px; height: 9px; border-radius: 50%; background: #80796d; }
.header-status.online i { background: #4dbb68; box-shadow: 0 0 14px rgba(77,187,104,.85); }
.header-status.offline i { background: #c44b3b; box-shadow: 0 0 11px rgba(196,75,59,.5); }
.main-nav { gap: clamp(9px, 1.25vw, 20px); }
.main-nav a { font-size: 10px; }

.server-status-card {
  width: min(590px, 100%);
  display: grid;
  grid-template-columns: auto minmax(140px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  padding: 13px 17px;
  text-align: left;
  border: 1px solid rgba(214, 189, 140, .28);
  background: rgba(9, 6, 5, .66);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
  backdrop-filter: blur(11px);
}
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: #777064; }
.server-status-card.online .status-dot { background: #4cc06a; box-shadow: 0 0 15px rgba(76,192,106,.9); }
.server-status-card.offline .status-dot { background: #cf4a39; box-shadow: 0 0 12px rgba(207,74,57,.55); }
.status-copy { display: grid; }
.status-copy small, .status-number span { color: var(--muted); text-transform: uppercase; letter-spacing: .13em; font-size: 8px; }
.status-copy strong { font-family: var(--display); font-size: 16px; }
.status-number { min-width: 74px; padding-left: 15px; border-left: 1px solid var(--line); text-align: center; }
.status-number b { display: block; color: var(--gold-light); font-family: var(--display); font-size: 17px; }

.button-small { min-height: 42px; padding: 9px 18px; font-size: 9px; }

.map-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 10%, rgba(130, 61, 28, .18), transparent 28rem),
    linear-gradient(rgba(14,9,7,.97), rgba(14,9,7,.97)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(210,167,101,.035) 19px 20px);
}
.map-section::before {
  content: 'THE FRONTIER';
  position: absolute;
  top: 22px;
  right: -25px;
  color: rgba(214,189,140,.028);
  font-family: var(--display);
  font-size: clamp(70px, 13vw, 190px);
  letter-spacing: .02em;
  white-space: nowrap;
}
.map-toolbar { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.map-toolbar .filter-row { justify-content: flex-start; margin: 0; }
.world-map-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 5 / 3;
  border: 12px solid #382315;
  outline: 1px solid rgba(221,187,123,.36);
  background: #a68150;
  box-shadow: 0 34px 80px rgba(0,0,0,.5), inset 0 0 0 2px #72502d;
}
.world-map-wrap::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 70px rgba(53,26,12,.45); }
.world-map-wrap > img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.24) saturate(.76) contrast(1.03); }
.map-markers { position: absolute; inset: 0; z-index: 2; }
.map-marker { position: absolute; transform: translate(-50%, -50%); border: 0; padding: 0; color: #321b10; background: transparent; cursor: pointer; }
.map-marker span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 3px solid #e1bd73; color: #f2d99f; background: radial-gradient(circle at 35% 30%, #a63b28, #692116 75%); box-shadow: 0 8px 20px rgba(0,0,0,.48); transition: transform .2s; }
.map-marker:hover span, .map-marker:focus-visible span { transform: scale(1.13); }
.map-marker em { position: absolute; top: 48px; left: 50%; transform: translateX(-50%); opacity: 0; min-width: max-content; padding: 5px 9px; border: 1px solid #75502b; color: #351d10; background: rgba(225,195,135,.95); font-family: var(--display); font-style: normal; font-weight: 800; font-size: 11px; transition: opacity .2s; }
.map-marker:hover em, .map-marker:focus-visible em { opacity: 1; }
.map-card { position: absolute; z-index: 5; width: min(330px, calc(100% - 24px)); padding: 22px; color: #301a0f; background: #d7b77d; border: 1px solid #f0d9a7; box-shadow: 0 25px 55px rgba(0,0,0,.5); background-image: repeating-linear-gradient(0deg, transparent 0 5px, rgba(65,35,16,.035) 6px 7px); }
.map-card::after { content: ''; position: absolute; inset: 8px; pointer-events: none; border: 1px dashed rgba(64,35,17,.38); }
.map-card > * { position: relative; z-index: 1; }
.map-card > button { position: absolute; z-index: 3; top: 8px; right: 10px; border: 0; color: #422416; background: transparent; font-size: 24px; cursor: pointer; }
.map-card img { width: 100%; height: 125px; margin-bottom: 14px; object-fit: cover; border: 1px solid rgba(55,31,15,.3); filter: sepia(.35); }
.map-card small { color: #7b281d; text-transform: uppercase; letter-spacing: .15em; font-size: 9px; font-weight: 800; }
.map-card h3 { margin: 5px 0 7px; font-family: var(--display); font-size: 27px; }
.map-card p { margin: 0; line-height: 1.55; }

.gallery-toolbar { display: grid; grid-template-columns: 1fr 260px; gap: 14px; margin: 0 0 18px; }
.gallery-toolbar label { display: grid; gap: 7px; }
.gallery-toolbar label > span { color: var(--muted); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; }
.gallery-toolbar input, .gallery-toolbar select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  border: 1px solid var(--line); outline: 0;
  color: var(--ink); background: rgba(30,18,12,.7);
}
.gallery-toolbar input:focus, .gallery-toolbar select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197,144,72,.1); }
.album-filters { margin-top: -18px; }
.album-filters button { border-style: dashed; }
.media-card { cursor: default; }
.media-card::after { pointer-events: none; }
.media-open-button { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; }
.media-open-button img, .media-open-button video { width: 100%; height: 100%; }
.media-card-copy { pointer-events: none; }
.like-button {
  position: absolute; z-index: 4; top: 16px; left: 16px;
  min-width: 55px; padding: 8px 11px;
  border: 1px solid rgba(226,190,124,.48);
  color: #e0c69a; background: rgba(12,8,6,.72);
  cursor: pointer; backdrop-filter: blur(7px);
}
.like-button:hover, .like-button.liked { color: #fff; border-color: #c86449; background: rgba(126,31,23,.85); }
.like-button:disabled { opacity: .55; cursor: wait; }

.whitelist-section {
  background:
    radial-gradient(circle at 15% 18%, rgba(135, 57, 27, .18), transparent 26rem),
    linear-gradient(rgba(17,11,8,.97), rgba(17,11,8,.97)),
    repeating-linear-gradient(90deg, transparent 0 62px, rgba(177,114,60,.05) 63px 64px);
}
.whitelist-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(38px, 6vw, 80px); align-items: start; }
.whitelist-copy { position: sticky; top: 120px; }
.whitelist-copy h2 { margin: 0; font-family: var(--display); font-size: clamp(38px, 5vw, 64px); line-height: 1.03; }
.whitelist-copy > p { color: var(--muted); font-family: var(--display); font-size: 18px; }
.application-status-box { position: relative; margin-top: 34px; padding: 28px; color: #321c11; background: #ceb17d; box-shadow: var(--shadow); transform: rotate(-.35deg); background-image: repeating-linear-gradient(0deg, transparent 0 5px, rgba(63,35,17,.035) 6px 7px); }
.application-status-box::after { content: ''; position: absolute; inset: 10px; pointer-events: none; border: 1px dashed rgba(57,32,16,.4); }
.application-status-box > * { position: relative; z-index: 1; }
.status-paper-label { color: #812b1e; text-transform: uppercase; letter-spacing: .15em; font-size: 9px; font-weight: 800; }
.application-status-box h3 { margin: 5px 0 18px; font-family: var(--display); font-size: 27px; }
.application-status-box form { display: grid; gap: 13px; }
.application-status-box label, .application-form label { display: grid; gap: 7px; }
.application-status-box label > span, .application-form label > span { text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 800; }
.application-status-box input { width: 100%; padding: 13px; border: 1px solid rgba(57,32,16,.38); color: #2e1a0f; background: rgba(255,247,220,.36); outline: 0; }
.application-status-box .button-ghost { color: #f3dfbc; background: #5f2118; border-color: #7c2a1d; }
.application-form { position: relative; padding: 38px; color: #2e1a0f; background: #d5b77f; box-shadow: 0 35px 75px rgba(0,0,0,.48); background-image: repeating-linear-gradient(1deg, transparent 0 6px, rgba(62,34,16,.035) 7px 8px); }
.application-form::after { content: ''; position: absolute; inset: 13px; pointer-events: none; border: 2px solid rgba(64,35,17,.35); box-shadow: inset 0 0 0 4px rgba(239,216,168,.22); }
.application-form > * { position: relative; z-index: 1; }
.application-heading { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; padding-bottom: 17px; margin-bottom: 25px; border-bottom: 3px double rgba(57,31,15,.5); text-transform: uppercase; letter-spacing: .13em; font-size: 9px; }
.application-heading strong { font-family: var(--display); font-size: 21px; letter-spacing: .03em; }
.application-heading small { text-align: right; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.form-grid .wide { grid-column: 1 / -1; }
.application-form input, .application-form textarea { width: 100%; padding: 13px; border: 1px solid rgba(57,32,16,.38); outline: 0; color: #2e1a0f; background: rgba(255,247,220,.35); resize: vertical; }
.application-form input:focus, .application-form textarea:focus, .application-status-box input:focus { border-color: #7d2c20; box-shadow: 0 0 0 3px rgba(124,44,32,.1); }
.application-form .check { display: flex; grid-template-columns: none; align-items: center; gap: 10px; }
.application-form .check input { width: auto; }
.application-form .check span { text-transform: none; letter-spacing: normal; font-size: 13px; }
.application-submit { width: 100%; margin-top: 22px; }
.application-submit:disabled { opacity: .6; cursor: wait; }
.form-result { margin-top: 15px; padding: 13px 15px; border-left: 4px solid #7d2b1e; color: inherit; background: rgba(255,255,255,.17); line-height: 1.55; }
.form-result:empty { display: none; }
.form-result.error { color: #8a2019; border-color: #b1271b; background: rgba(255,229,218,.38); }
.form-result code { color: #6f2017; font-size: 16px; font-weight: 800; }

.toast.error { color: #fff2df; background: #86261c; border-color: #c65740; }

@media (max-width: 1320px) {
  .header-status { display: none; }
  .main-nav { gap: 10px; }
  .main-nav a { font-size: 9px; }
}

@media (max-width: 1040px) {
  .header-status { display: none; }
  .whitelist-grid { grid-template-columns: 1fr; }
  .whitelist-copy { position: static; }
  .map-toolbar { display: block; }
  .map-toolbar .button { width: 100%; margin-top: 10px; }
}

@media (max-width: 760px) {
  .server-status-card { grid-template-columns: auto minmax(0, 1fr) auto; width: 100%; }
  .status-ping { display: none; }
  .status-number { min-width: 68px; }
  .world-map-wrap { aspect-ratio: 1 / 1; overflow: auto; border-width: 7px; }
  .world-map-wrap > img, .map-markers { min-width: 850px; }
  .map-card { position: sticky; left: 12px !important; right: 12px !important; bottom: 12px !important; top: auto !important; }
  .gallery-toolbar { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .wide { grid-column: auto; }
  .application-form { padding: 27px 20px; }
  .application-heading { grid-template-columns: 1fr; text-align: center; }
  .application-heading small { text-align: center; }
  .application-status-box { padding: 24px 19px; }
  .album-filters { margin-top: -10px; }
}

@media (max-width: 520px) {
  .server-status-card { gap: 9px; padding: 11px 12px; }
  .status-copy small { display: none; }
  .status-copy strong { font-size: 14px; }
  .status-number { min-width: 60px; padding-left: 9px; }
  .map-marker span { width: 38px; height: 38px; }
}

/* Whitelist popup – 4.1.1 */
.whitelist-callout {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(34px, 5vw, 58px);
  text-align: center;
  color: #2f1a0f;
  background:
    linear-gradient(rgba(223,195,140,.94), rgba(202,169,108,.96)),
    repeating-linear-gradient(2deg, transparent 0 6px, rgba(65,35,17,.055) 7px 8px);
  box-shadow: 0 35px 75px rgba(0,0,0,.48);
  transform: rotate(.25deg);
  overflow: hidden;
}
.whitelist-callout::after {
  content: '';
  position: absolute;
  inset: 14px;
  pointer-events: none;
  border: 2px solid rgba(64,35,17,.35);
  box-shadow: inset 0 0 0 4px rgba(239,216,168,.22);
}
.whitelist-callout > * { position: relative; z-index: 1; }
.whitelist-callout img { width: 128px; height: 128px; object-fit: contain; filter: drop-shadow(0 13px 17px rgba(55,25,10,.28)); }
.whitelist-callout small, .whitelist-stamp { text-transform: uppercase; letter-spacing: .15em; font-size: 9px; font-weight: 800; }
.whitelist-stamp { position: absolute; top: 27px; right: 27px; padding: 7px 10px; border: 2px solid rgba(122,41,29,.62); color: #7c291e; transform: rotate(7deg); }
.whitelist-callout h3 { max-width: 560px; margin: 15px 0 10px; font-family: var(--display); font-size: clamp(29px, 3.2vw, 43px); line-height: 1.06; }
.whitelist-callout p { max-width: 590px; margin: 0; line-height: 1.65; }
.whitelist-callout ul { display: grid; gap: 8px; width: min(440px, 100%); margin: 25px auto; padding: 0; list-style: none; text-align: left; }
.whitelist-callout li { padding: 10px 12px 10px 34px; border-bottom: 1px dashed rgba(62,33,16,.34); }
.whitelist-callout li::before { content: '✦'; position: absolute; margin-left: -23px; color: #842b20; }
.whitelist-callout .button { width: min(420px, 100%); }

.application-modal { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; padding: clamp(12px, 3vw, 34px); }
.application-modal.open { display: flex; }
.application-modal-backdrop { position: absolute; inset: 0; background: rgba(7,4,3,.87); backdrop-filter: blur(10px); }
.application-modal-dialog { position: relative; z-index: 1; width: min(980px, 100%); max-height: calc(100dvh - 28px); overflow: auto; overscroll-behavior: contain; box-shadow: 0 40px 110px rgba(0,0,0,.7); scrollbar-color: #8e3426 #1a0e09; }
.application-modal-dialog .application-form { min-height: 0; }
.application-modal-close {
  position: sticky; top: 14px; float: right; z-index: 15;
  width: 44px; height: 44px; margin: 14px 14px -58px 0;
  border: 1px solid rgba(74,39,20,.55); border-radius: 50%;
  color: #2f180e; background: rgba(237,214,167,.9);
  font-size: 28px; line-height: 1; cursor: pointer;
}
.application-modal-close:hover { color: #fff; background: #81291e; }
body.modal-open { overflow: hidden; }

/* A belépési engedély maradjon az alsó pozícióban. */
.hero-ticket { bottom: 0 !important; }

@media (max-width: 760px) {
  .whitelist-callout { min-height: 0; padding: 54px 22px 28px; transform: none; }
  .whitelist-stamp { top: 18px; right: 18px; }
  .application-modal { padding: 0; align-items: stretch; }
  .application-modal-dialog { width: 100%; max-height: 100dvh; }
  .application-modal-dialog .application-form { min-height: 100dvh; padding-top: 72px; }
  .application-modal-close { position: fixed; top: 10px; right: 10px; margin: 0; }
}


/* BELÉPÉSI ENGEDÉLY – RESZPONZÍV JAVÍTÁS */
.hero {
    height: auto !important;
    min-height: 100svh !important;
    overflow: visible !important;
    padding-bottom: clamp(80px, 10vh, 150px) !important;
}

.hero-ticket {
    position: relative !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    inset: auto !important;

    display: block !important;
    float: none !important;
    clear: both !important;

    transform: none !important;
    translate: none !important;

    order: 99 !important;
    align-self: center !important;

    width: clamp(220px, 16vw, 285px) !important;
    max-width: calc(100vw - 32px) !important;

    margin: clamp(45px, 6vh, 85px) auto 0 !important;
    z-index: 10 !important;
}

@media (max-width: 1280px) {
    .hero {
        padding-bottom: 110px !important;
    }

    .hero-ticket {
        width: clamp(215px, 23vw, 265px) !important;
        margin-top: 55px !important;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto !important;
        padding-bottom: 70px !important;
    }

    .hero-ticket {
        width: min(260px, calc(100vw - 28px)) !important;
        margin-top: 38px !important;
    }
}

@media (max-height: 760px) and (min-width: 769px) {
    .hero {
        min-height: 900px !important;
    }

    .hero-ticket {
        margin-top: 60px !important;
    }
}




/* RW_WHITELIST_MENU_SCROLL_START */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

#whitelist {
    scroll-margin-top: 96px;
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 78px;
    }

    #whitelist {
        scroll-margin-top: 78px;
    }
}
/* RW_WHITELIST_MENU_SCROLL_END */

/* RW_WHITELIST_CHECKER_POPUP_START */
.application-modal-wide { width: min(1320px, calc(100vw - 32px)) !important; max-width: 1320px !important; }
.application-modal-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr); align-items: stretch; min-height: min(760px, calc(100dvh - 40px)); background: #160d08; }
.application-modal-layout .application-form { min-width: 0; }
.application-check-panel { position: relative; display: flex; flex-direction: column; min-width: 0; padding: clamp(34px, 4vw, 56px) clamp(24px, 3vw, 42px); color: #321c11; background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(63,35,17,.035) 6px 7px), #ceb17d; border-left: 1px solid rgba(255,230,179,.24); box-shadow: inset 18px 0 36px rgba(38,18,8,.14); }
.application-check-panel::after { content: ""; position: absolute; inset: 14px; pointer-events: none; border: 1px dashed rgba(57,32,16,.38); }
.application-check-panel > * { position: relative; z-index: 1; }
.application-check-heading { display: grid; gap: 5px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid rgba(69,37,18,.25); text-align: center; }
.application-check-heading span, .application-check-heading small { text-transform: uppercase; letter-spacing: .16em; font-size: 9px; font-weight: 800; }
.application-check-heading strong { font-family: var(--display); font-size: clamp(28px, 3vw, 40px); line-height: 1; }
.application-check-panel > p { margin: 0 0 22px; line-height: 1.65; }
.application-check-form { display: grid; gap: 15px; }
.application-check-form label { display: grid; gap: 7px; }
.application-check-form label > span { text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 800; }
.application-check-form input { width: 100%; padding: 14px; border: 1px solid rgba(57,32,16,.38); color: #2e1a0f; background: rgba(255,247,220,.42); outline: 0; }
.application-check-form input:focus { border-color: #7d2c20; box-shadow: 0 0 0 3px rgba(124,44,32,.12); }
.application-check-form .button-ghost { width: 100%; color: #f3dfbc; background: #5f2118; border-color: #7c2a1d; }
.application-status-result { margin-top: 18px; padding: 15px; min-height: 0; color: #321c11; background: rgba(255,246,219,.42); border: 1px solid rgba(57,32,16,.22); }
.application-status-result:empty { display: none; }
.application-status-result.error { color: #7d1f17; background: rgba(255,226,211,.62); }
.application-check-help { margin-top: auto; padding-top: 24px; font-size: 13px; line-height: 1.55; }
.application-check-help strong { display: block; margin-bottom: 8px; font-family: var(--display); font-size: 19px; }
.application-check-help ul { margin: 0; padding-left: 18px; }
.application-check-help li + li { margin-top: 7px; }
@media (max-width: 980px) { .application-modal-layout { grid-template-columns: 1fr; } .application-check-panel { border-left: 0; border-top: 1px solid rgba(255,230,179,.24); box-shadow: inset 0 18px 36px rgba(38,18,8,.12); } }
@media (max-width: 680px) { .application-modal-wide { width: 100% !important; max-width: 100% !important; } .application-modal-dialog .application-form { min-height: auto !important; padding-top: 72px; } .application-check-panel { padding: 34px 20px 44px; } .application-check-help { margin-top: 24px; } }
/* RW_WHITELIST_CHECKER_POPUP_END */


/* RW_WHITELIST_CLOSED_REASON_CSS_START */
.whitelist-closed-notice { display:grid; gap:7px; margin-top:22px; padding:18px 20px; border:1px solid rgba(157,57,42,.56); color:#f4dfbf; background:linear-gradient(135deg,rgba(117,34,25,.42),rgba(55,22,15,.72)); box-shadow:0 15px 35px rgba(0,0,0,.18); }
.whitelist-closed-notice.hidden { display:none!important; }
.whitelist-closed-notice span { color:#d99b72; font-size:10px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; }
.whitelist-closed-notice strong { font-size:clamp(16px,2vw,21px); line-height:1.5; }
.whitelist-section.whitelist-closed #openApplicationModal { cursor:not-allowed; opacity:.62; filter:grayscale(.42); }
@media (max-width:680px) { .whitelist-closed-notice { padding:16px; } }
/* RW_WHITELIST_CLOSED_REASON_CSS_END */
