:root {
    --night: #08151f;
    --deep-blue: #0e2734;
    --slate: #183847;
    --parchment: #eee3c2;
    --paper: #f3eddb;
    --ink: #192730;
    --gold: #c79d48;
    --gold-light: #efd281;
    --line: rgba(218, 184, 102, .32);
    --sans: Arial, Helvetica, sans-serif;
    --serif: "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--serif); }
a { color: inherit; }
img { max-width: 100%; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 10px 14px; background: var(--gold-light); color: var(--night); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }
.container { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.site-header { position: absolute; z-index: 5; top: 0; right: 0; left: 0; display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: 0 5.5%; border-bottom: 1px solid rgba(239, 212, 137, .27); background: linear-gradient(180deg, rgba(2, 10, 16, .72), transparent); color: var(--parchment); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-seal { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid rgba(240, 210, 125, .67); border-radius: 50%; color: var(--gold-light); box-shadow: 0 0 21px rgba(226, 180, 75, .23); }
.brand strong { display: block; font-size: 19px; letter-spacing: .09em; line-height: 1; }
.brand small { display: block; margin-top: 4px; color: rgba(240, 227, 190, .7); font-family: var(--sans); font-size: 8px; letter-spacing: .19em; text-transform: uppercase; }
.site-nav { display: flex; gap: 28px; }
.site-nav a, .header-discord { color: rgba(244, 233, 203, .78); font-family: var(--sans); font-size: 10px; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; transition: color .2s; }
.site-nav a:hover, .header-discord:hover { color: var(--gold-light); }
.header-discord span { color: var(--gold-light); font-size: 15px; vertical-align: -1px; }

.hero { position: relative; display: flex; min-height: 760px; align-items: center; overflow: hidden; color: var(--parchment); background: var(--night); }
.hero-background, .hero-overlay, .journey-image, .journey-shade, .closing-image, .closing-overlay { position: absolute; inset: 0; }
.hero-background { background: center/cover no-repeat url("../images/hogwarts-day.jpg"); transform: scale(1.01); }
.hero-overlay { background: linear-gradient(90deg, rgba(3, 14, 22, .92) 0%, rgba(3, 14, 22, .54) 47%, rgba(3, 14, 22, .18) 100%), linear-gradient(0deg, rgba(3, 12, 18, .61), transparent 46%); }
.hero-content { position: relative; z-index: 1; padding-top: 74px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--gold-light); font-family: var(--sans); font-size: 10px; letter-spacing: .21em; text-transform: uppercase; }
.eyebrow span { width: 22px; height: 1px; background: var(--gold); box-shadow: 0 0 7px var(--gold); }
.eyebrow-dark { color: #926c2e; }
.hero h1, h2 { margin: 0; font-weight: 400; }
.hero h1 { max-width: 680px; font-size: clamp(59px, 7vw, 92px); letter-spacing: -.05em; line-height: .92; text-shadow: 0 6px 27px rgba(0, 0, 0, .42); }
h1 em, h2 em { color: var(--gold-light); font-style: italic; }
.hero-copy { max-width: 540px; margin: 25px 0 31px; color: rgba(245, 235, 211, .84); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 49px; padding: 0 21px; border: 1px solid transparent; font-family: var(--sans); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { border-color: rgba(255, 228, 147, .82); background: linear-gradient(135deg, #b68730, #efd480 48%, #b48632); box-shadow: inset 0 1px rgba(255,255,255,.5), 0 8px 28px rgba(0,0,0,.25), 0 0 22px rgba(214, 168, 62, .24); color: #11202a; }
.button-quiet { min-height: auto; padding: 0; color: var(--parchment); }
.button-quiet:hover { color: var(--gold-light); }
.hero-note { display: flex; gap: 8px; margin: 29px 0 0; color: rgba(240, 228, 197, .58); font-family: var(--sans); font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.hero-note span { color: var(--gold); font-size: 15px; }
.server-panel { position: absolute; z-index: 2; right: max(5.5%, calc((100% - 1120px) / 2)); bottom: 47px; width: min(330px, calc(100% - 48px)); padding: 22px 24px; border: 1px solid rgba(226, 193, 110, .38); background: linear-gradient(145deg, rgba(9, 33, 43, .91), rgba(4, 17, 25, .85)); box-shadow: inset 0 1px rgba(255,255,255,.07), 0 15px 36px rgba(0,0,0,.28); backdrop-filter: blur(12px); }
.server-panel__label { display: flex; align-items: center; gap: 7px; margin: 0 0 15px; color: var(--parchment); font-family: var(--sans); font-size: 8px; letter-spacing: .17em; text-transform: uppercase; }
.server-panel__label span { width: 6px; height: 6px; border-radius: 50%; background: #8cd6a4; box-shadow: 0 0 12px #8cd6a4; }
.server-panel__title { margin: 0 0 7px; font-size: 23px; }
.server-panel__copy { margin: 0 0 18px; color: rgba(238, 225, 190, .7); font-size: 13px; line-height: 1.5; }
.server-panel code { display: block; padding-top: 13px; border-top: 1px solid rgba(232, 204, 137, .18); color: var(--gold-light); font-family: var(--sans); font-size: 10px; letter-spacing: .08em; }

.section { padding: 110px 0; }
.intro { background: radial-gradient(circle at 50% 0, #fff9e7 0, var(--paper) 57%); }
.section-heading { max-width: 770px; text-align: center; }
.section-heading .eyebrow { justify-content: center; }
.section-heading h2, .community h2, .closing h2, .journey h2 { font-size: clamp(40px, 5vw, 65px); letter-spacing: -.045em; line-height: .97; }
.section-heading h2 em, .community h2 em { color: #9e7632; }
.section-heading > p:last-child { margin: 18px auto 0; color: #58646a; font-size: 17px; line-height: 1.65; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 56px; }
.pillar-card { min-height: 250px; padding: 30px; border: 1px solid rgba(151, 111, 42, .25); background: rgba(255, 253, 244, .55); box-shadow: 0 14px 28px rgba(63, 48, 25, .05); }
.pillar-number { display: block; margin-bottom: 42px; color: #ad833b; font-family: var(--sans); font-size: 10px; letter-spacing: .18em; }
.pillar-card h3 { margin: 0 0 10px; font-size: 25px; font-weight: 400; }
.pillar-card p { margin: 0; color: #667078; font-size: 14px; line-height: 1.6; }

.journey { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; color: var(--parchment); background: var(--night); }
.journey-image { background: center/cover no-repeat url("../images/hogwarts-express.jpg"); }
.journey-shade { background: linear-gradient(90deg, rgba(4, 15, 20, .9) 0%, rgba(4, 15, 20, .7) 46%, rgba(4, 15, 20, .15) 100%); }
.journey-content { position: relative; z-index: 1; padding: 80px 0; }
.journey h2 { max-width: 570px; }
.journey > .journey-content > p:not(.eyebrow) { max-width: 510px; margin: 22px 0 31px; color: rgba(245, 234, 209, .78); font-size: 16px; line-height: 1.65; }
.steps { max-width: 590px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.steps li { display: flex; align-items: center; gap: 20px; min-height: 77px; border-bottom: 1px solid var(--line); }
.steps li > span { color: var(--gold-light); font-family: var(--sans); font-size: 10px; letter-spacing: .16em; }
.steps strong, .steps small { display: block; }
.steps strong { margin-bottom: 4px; font-size: 18px; font-weight: 400; }
.steps small { color: rgba(241, 230, 203, .62); font-size: 12px; }

.community { background: #edf0e8; }
.community-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 78px; }
.community h2 { margin-bottom: 17px; }
.community > .community-grid > div > p:last-child { max-width: 470px; margin: 0; color: #5c6b70; font-size: 16px; line-height: 1.65; }
.community-links { display: grid; gap: 12px; }
.community-link { display: grid; grid-template-columns: 47px 1fr auto; align-items: center; gap: 14px; min-height: 84px; padding: 15px 18px; border: 1px solid rgba(147, 111, 42, .23); background: rgba(255, 255, 255, .64); text-decoration: none; transition: transform .2s, border-color .2s; }
.community-link:hover { border-color: rgba(175, 128, 41, .65); transform: translateX(4px); }
.community-icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid #be9348; border-radius: 50%; color: #9a7130; }
.community-link strong, .community-link small { display: block; }
.community-link strong { margin-bottom: 5px; font-size: 18px; font-weight: 400; }
.community-link small { color: #6c777b; font-family: var(--sans); font-size: 10px; letter-spacing: .05em; }
.community-link b { color: #a37935; font-family: var(--sans); font-size: 17px; font-weight: 400; }

.closing { position: relative; display: grid; min-height: 470px; place-items: center; overflow: hidden; color: var(--parchment); text-align: center; background: var(--night); }
.closing-image { background: center/cover no-repeat url("../images/hogwarts-night.jpg"); }
.closing-overlay { background: linear-gradient(180deg, rgba(5, 15, 25, .51), rgba(5, 15, 25, .88)); }
.closing-content { position: relative; z-index: 1; }
.closing-content .eyebrow { justify-content: center; }
.closing h2 { margin-bottom: 28px; }

.site-footer { display: flex; justify-content: space-between; gap: 15px; padding: 22px 5.5%; background: #06111a; color: rgba(238, 224, 187, .52); font-family: var(--sans); font-size: 8px; letter-spacing: .14em; text-transform: uppercase; }
.site-footer i { display: inline-block; width: 4px; height: 4px; margin: 0 8px; border-radius: 50%; background: var(--gold); vertical-align: 1px; }

@media (max-width: 800px) {
    .site-header { min-height: 70px; padding: 0 24px; }
    .site-nav { display: none; }
    .header-discord { font-size: 9px; }
    .hero { min-height: 720px; }
    .hero-content { padding-top: 117px; }
    .hero h1 { font-size: clamp(53px, 15vw, 75px); }
    .hero-copy { font-size: 16px; }
    .server-panel { right: 24px; bottom: 25px; left: 24px; width: auto; }
    .pillars, .community-grid { grid-template-columns: 1fr; }
    .community-grid { gap: 38px; }
    .section { padding: 75px 0; }
    .journey { min-height: 710px; }
    .journey-shade { background: rgba(4, 15, 20, .78); }
    .site-footer { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 450px) {
    .container { width: min(100% - 36px, 1120px); }
    .brand strong { font-size: 17px; }
    .brand small { font-size: 7px; }
    .header-discord { font-size: 0; }
    .header-discord span { font-size: 17px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
    .pillar-card { min-height: auto; }
    .section-heading h2, .community h2, .closing h2, .journey h2 { font-size: 43px; }
}


.download-page { min-height: 100vh; display: flex; flex-direction: column; background: radial-gradient(circle at 50% 0, rgba(208, 170, 84, .14), transparent 34%), var(--night); color: var(--parchment); }
.download-header { display: flex; align-items: center; justify-content: space-between; min-height: 82px; padding: 0 5.5%; border-bottom: 1px solid rgba(239, 212, 137, .27); background: rgba(2, 10, 16, .68); }
.download-header .brand { color: var(--parchment); }
.download-back { color: rgba(244, 233, 203, .78); font-family: var(--sans); font-size: 10px; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; }
.download-back:hover { color: var(--gold-light); }
.download-main { flex: 1; display: grid; place-items: center; padding: 70px 24px; }
.download-panel { width: min(720px, 100%); padding: clamp(32px, 7vw, 68px); border: 1px solid rgba(226, 193, 110, .42); background: linear-gradient(145deg, rgba(15, 45, 57, .95), rgba(5, 18, 27, .94)); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 24px 65px rgba(0,0,0,.42); text-align: center; }
.download-panel .eyebrow { justify-content: center; }
.download-panel h1 { margin: 0; color: #f4ead0; font-size: clamp(45px, 7vw, 72px); font-weight: 400; letter-spacing: -.045em; line-height: .94; }
.download-panel h1 em { color: var(--gold-light); }
.download-copy { max-width: 500px; margin: 22px auto 0; color: rgba(245, 235, 211, .78); font-size: 17px; line-height: 1.65; }
.release-card { display: grid; grid-template-columns: auto 1fr; gap: 16px; margin: 35px auto 0; padding: 19px; border: 1px solid rgba(232, 204, 137, .22); background: rgba(2, 14, 21, .36); text-align: left; }
.release-card__seal { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(240, 210, 125, .67); border-radius: 50%; color: var(--gold-light); }
.release-card strong, .release-card small { display: block; }
.release-card strong { margin-bottom: 5px; color: var(--parchment); font-size: 20px; font-weight: 400; }
.release-card small { color: rgba(238, 225, 190, .62); font-family: var(--sans); font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.download-actions { display: flex; justify-content: center; gap: 16px; margin-top: 29px; }
.download-actions .button { border: 0; }
.download-note { margin: 24px 0 0; color: rgba(238, 225, 190, .53); font-family: var(--sans); font-size: 9px; letter-spacing: .07em; line-height: 1.6; text-transform: uppercase; }
@media (max-width: 520px) {
    .download-header { padding: 0 24px; }
    .download-header .brand small { display: none; }
    .download-main { padding: 36px 18px; }
    .download-panel { padding: 34px 24px; }
    .download-actions { flex-direction: column; }
}
