:root {
  --bg: #080b12;
  --surface: #101620;
  --surface-2: #151d29;
  --line: rgba(226, 237, 255, .12);
  --text: #f3f6fb;
  --muted: #98a6b8;
  --red: #ff4f63;
  --red-dark: #c92d48;
  --blue: #69b8ff;
  --gold: #f4cc77;
  --shadow: 0 30px 90px rgba(0, 0, 0, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: radial-gradient(circle at 80% 0, rgba(42, 84, 145, .18), transparent 34%), var(--bg); font: 15px/1.65 Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -2; opacity: .25; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, #000, transparent 80%); }
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='%23n'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.container { width: min(1184px, calc(100% - 56px)); margin-inline: auto; }
.accent, h1 em, h2 em { color: var(--red); font-style: normal; }
.site-header { width: min(1240px, calc(100% - 40px)); height: 80px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; z-index: 5; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 950; letter-spacing: .08em; font-size: 16px; }
.brand-mark { width: 38px; height: 38px; border-radius: 12px; object-fit: cover; box-shadow: 0 0 28px rgba(255, 79, 99, .28); }
.main-nav { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: 13px; }
.main-nav a:hover, .footer-links a:hover { color: #fff; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 11px; padding: 13px 19px; font-weight: 900; letter-spacing: .02em; transition: transform .2s ease, filter .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.button span { font-size: 17px; line-height: 1; }
.button-small { padding: 10px 14px; font-size: 12px; }
.button-large { padding: 17px 22px; }
.button-primary { color: #fff; background: linear-gradient(135deg, var(--red), var(--red-dark)); box-shadow: 0 14px 35px rgba(201, 45, 72, .23); }
.button-outline { color: #e7eef8; border-color: var(--line); background: rgba(255,255,255,.025); }
.button-outline:hover { border-color: rgba(255, 79, 99, .55); }
.button-discord { color: #fff; background: linear-gradient(135deg, #6575ff, #4755d6); box-shadow: 0 14px 35px rgba(75, 87, 214, .25); }
.announcement { width: min(1184px, calc(100% - 56px)); margin: 12px auto 0; padding: 11px 16px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(105, 184, 255, .2); border-radius: 12px; color: #cdd9e7; background: rgba(18, 35, 55, .72); font-size: 13px; }
.announcement strong { color: #fff; }
.announcement > span:nth-of-type(2) { color: var(--muted); }
.announcement a { margin-left: auto; color: var(--blue); font-weight: 800; }
.status-dot { display: inline-block; width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #55e39c; box-shadow: 0 0 0 4px rgba(85, 227, 156, .1), 0 0 18px #55e39c; }
.hero { min-height: 650px; padding: 88px 0 108px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 30px; position: relative; overflow: hidden; }
.hero-art { position: absolute; inset: 0 0 0 35%; background: url("assets/andaria-banner.png") center/cover; opacity: .42; filter: saturate(1.05) contrast(1.05); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(8,11,18,.92) 36%, rgba(8,11,18,.18) 100%); }
.hero-content, .hero-badge { position: relative; z-index: 1; }
.kicker { margin: 0; color: #ff8290; font-size: 11px; font-weight: 950; letter-spacing: .18em; }
.kicker .status-dot { margin-right: 8px; }
.kicker i { color: var(--gold); font-style: normal; padding-inline: 5px; }
h1 { max-width: 680px; margin: 18px 0 24px; font-size: clamp(56px, 7vw, 92px); line-height: .93; letter-spacing: -.07em; }
.hero-lead { max-width: 580px; margin: 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; gap: 12px; margin: 31px 0 23px; }
.server-address { width: min(345px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 13px 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(12, 18, 28, .78); backdrop-filter: blur(14px); }
.server-address span { display: block; color: #738296; font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.server-address strong { display: block; margin-top: 2px; font-size: 16px; letter-spacing: .03em; }
.server-address button { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 9px; color: #b6d7ff; background: #182333; }
.hero-badge { justify-self: end; width: min(350px, 80%); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(105, 184, 255, .22); border-radius: 34px; background: radial-gradient(circle, rgba(59, 131, 207, .2), transparent 63%), rgba(10, 15, 24, .68); box-shadow: var(--shadow), 0 0 110px rgba(42, 114, 190, .16); transform: rotate(2deg); }
.hero-badge img { width: 70%; border-radius: 25px; box-shadow: 0 0 70px rgba(105, 184, 255, .2); }
.hero-badge > span { position: absolute; right: 24px; bottom: 22px; color: #c0ccda; font-size: 11px; font-weight: 950; letter-spacing: .15em; text-align: right; }
.hero-badge small { display: block; margin-top: 3px; color: var(--gold); font-size: 10px; letter-spacing: .08em; }
.quick-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 105px; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: rgba(14, 21, 31, .72); }
.quick-stats div { padding: 22px; border-right: 1px solid var(--line); }
.quick-stats div:last-child { border: 0; }
.quick-stats strong, .quick-stats span { display: block; }
.quick-stats strong { font-size: 17px; }
.quick-stats span { color: var(--muted); font-size: 12px; }
.section, .start-guide { padding-bottom: 115px; }
.section-intro { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 35px; }
.section-intro > p { max-width: 420px; margin: 0; color: var(--muted); }
h2 { margin: 11px 0 0; font-size: clamp(40px, 5vw, 64px); line-height: .99; letter-spacing: -.06em; }
.feature-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 14px; }
.feature { min-height: 250px; padding: 28px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, #151d29, #0d131d); }
.feature::after { content: ""; position: absolute; width: 190px; height: 190px; right: -80px; bottom: -95px; border-radius: 50%; background: radial-gradient(circle, rgba(105, 184, 255, .17), transparent 70%); }
.feature-large { border-color: rgba(255, 79, 99, .25); background: linear-gradient(145deg, #26131f, #111620); }
.feature-index { position: absolute; top: 22px; right: 23px; color: #506073; font-size: 12px; font-weight: 950; }
.feature-icon { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 12px; color: #ff8a98; background: rgba(255, 79, 99, .1); font-size: 18px; }
.feature h3 { margin: 0 0 8px; font-size: 21px; }
.feature p { max-width: 325px; margin: 0; color: var(--muted); font-size: 14px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { display: flex; gap: 18px; min-height: 180px; padding: 25px; border: 1px solid var(--line); border-radius: 18px; background: rgba(15, 23, 34, .65); }
.step > span { color: var(--gold); font-weight: 950; font-size: 12px; }
.step h3 { margin: 0 0 7px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 13px; }
.step a { display: inline-block; margin-top: 15px; color: var(--blue); font-size: 12px; font-weight: 850; }
code { padding: 2px 6px; border-radius: 5px; color: #ffacb7; background: rgba(255, 79, 99, .1); }
.recruitment { padding-bottom: 115px; }
.recruitment-panel { display: grid; grid-template-columns: 1.1fr .9fr; gap: 35px; padding: 55px; border: 1px solid rgba(105, 184, 255, .22); border-radius: 25px; background: radial-gradient(circle at 88% 10%, rgba(67, 128, 198, .18), transparent 40%), linear-gradient(145deg, #121d2b, #0d131e); box-shadow: var(--shadow); }
.recruitment-copy > p:not(.kicker) { max-width: 510px; margin: 23px 0 27px; color: var(--muted); }
.roles { display: grid; gap: 12px; align-content: center; }
.role { display: flex; align-items: center; gap: 15px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.035); }
.role > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; background: rgba(105, 184, 255, .11); font-size: 19px; }
.role strong, .role small { display: block; }
.role strong { font-size: 16px; }
.role small { color: var(--muted); font-size: 12px; }
.voucher-section { display:grid; grid-template-columns:1fr 1fr; gap:35px; align-items:stretch; padding-bottom:115px; }
.voucher-info, .voucher-form { padding:34px; border:1px solid var(--line); border-radius:22px; background:linear-gradient(145deg,#131c28,#0d131d); }
.voucher-info > p:not(.kicker) { max-width:470px; margin:22px 0 0; color:var(--muted); font-size:16px; }
.voucher-form { display:grid; align-content:center; gap:15px; background:radial-gradient(circle at 90% 0,rgba(255,79,99,.16),transparent 48%),#111923; }
.voucher-form label { display:grid; gap:7px; color:#c4cfdd; font-size:12px; }
.voucher-form input { width:100%; padding:13px 14px; border:1px solid var(--line); border-radius:10px; outline:0; color:#fff; background:#080b12; }
.voucher-form input:focus { border-color:var(--red); }
.voucher-form .button { margin-top:3px; }
.voucher-result { min-height:23px; margin:0; font-size:13px; }
.voucher-result.success { color:#69e6a7; }
.voucher-result.error { color:#ff9aa7; }
.voucher-hint { display:flex; align-items:center; gap:13px; max-width:430px; margin-top:28px; padding:14px 15px; border:1px solid rgba(85,227,156,.2); border-radius:12px; background:rgba(85,227,156,.06); }
.voucher-hint > span { color:#55e39c; font-size:18px; }
.voucher-hint strong, .voucher-hint small { display:block; }
.voucher-hint small { color:var(--muted); font-size:12px; }
.rules { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; padding-bottom: 115px; }
.rules-art { overflow: hidden; border: 1px solid rgba(105, 184, 255, .2); border-radius: 24px; background: #101720; box-shadow: var(--shadow); }
.rules-art img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rules-copy > p:not(.kicker) { color: var(--muted); font-size: 16px; }
.rules-copy ul { display: grid; gap: 12px; padding: 0; margin: 27px 0; list-style: none; color: #d9e1ec; }
.rules-copy li b { margin-right: 12px; color: #ff8290; font-size: 11px; letter-spacing: .12em; }
.inline-link { display: inline-flex; padding-bottom: 3px; border-bottom: 1px solid rgba(255, 79, 99, .45); color: #ff9aa7; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.discord-cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; margin-bottom: 105px; padding: 43px 48px; border: 1px solid rgba(109, 119, 255, .25); border-radius: 22px; background: linear-gradient(110deg, rgba(52, 63, 148, .28), rgba(18, 24, 44, .72)); }
.discord-cta h2 { font-size: clamp(31px, 4vw, 47px); }
.discord-cta > div > p:last-child { max-width: 520px; margin: 15px 0 0; color: var(--muted); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 30px 0 45px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .08em; }
.footer-brand img { width: 40px; height: 40px; border-radius: 10px; }
.footer-brand small { display: block; color: #718096; font-size: 10px; font-weight: 500; letter-spacing: 0; }
.footer-links { display: flex; gap: 22px; color: #98a5b4; font-size: 12px; }
.copyright { color: #718096; font-size: 11px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 30; padding: 11px 15px; border: 1px solid rgba(85, 227, 156, .35); border-radius: 10px; color: #a9f1c9; background: #102219; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-art { inset: 0; }
  .hero-shade { background: linear-gradient(90deg, var(--bg), rgba(8,11,18,.68)); }
  .hero-badge { justify-self: start; width: min(300px, 70%); margin-top: 14px; }
  .feature-grid, .rules, .recruitment-panel, .voucher-section { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .section-intro { display: block; }
  .section-intro > p { margin-top: 20px; }
  .recruitment-panel { padding: 35px; }
  .rules { gap: 35px; }
  .discord-cta { display: block; padding: 35px; }
  .discord-cta .button { margin-top: 26px; }
}
@media (max-width: 620px) {
  .container, .announcement { width: calc(100% - 34px); }
  .site-header { width: calc(100% - 34px); }
  .button-small { padding: 9px 11px; }
  .announcement { flex-wrap: wrap; font-size: 12px; }
  .announcement a { width: 100%; margin-left: 20px; }
  .hero { padding-top: 48px; padding-bottom: 82px; }
  h1 { font-size: 57px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .quick-stats { grid-template-columns: 1fr 1fr; }
  .quick-stats div { padding: 17px 14px; border-bottom: 1px solid var(--line); }
  .quick-stats div:nth-child(2) { border-right: 0; }
  .recruitment-panel { padding: 27px 21px; }
  .site-footer { flex-wrap: wrap; }
  .footer-links { order: 3; width: 100%; justify-content: space-between; gap: 8px; }
}
