/* L2Astia additions on top of main.css */
html { scroll-behavior: smooth; }
section, #news { scroll-margin-top: 70px; }
body { background: #191818; }

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; background: rgba(27, 26, 26, 0.92); backdrop-filter: blur(6px); }
.nav__logo { width: auto; height: 46px; }
.nav__logo img { width: auto; height: 100%; border-radius: 6px; }
.nav__links { margin-left: 10px; }
.nav__right { margin-left: auto; }
.nav .button { margin-left: 0; }
.nav .button i { position: relative; z-index: 2; color: #1f1f1f; margin-right: 8px; font-size: 18px; }
@media (max-width: 1024px) {
  .nav__logo { height: 36px; }
  .nav .button i { margin-right: 0; }
  .nav__links { z-index: 5; }
}

/* header: our art behind, the video softly over it */
/* header: the video plays behind, only the L2Astia logo on top */
.header { background: #0c0b0e; padding-top: 80px; }
.header__video { background: #0c0b0e; top: 80px; height: calc(100% - 80px); max-height: none; }
.header__video-player {
  width: 100%; height: 100%; margin-left: 0; object-fit: cover; opacity: 0.75;
}
.header__video::after {   /* soft dark edges so the text stays readable */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(12, 11, 14, 0.15) 0%, rgba(12, 11, 14, 0.55) 70%, rgba(12, 11, 14, 0.85) 100%),
    linear-gradient(180deg, rgba(12, 11, 14, 0.4) 0%, transparent 20%, transparent 60%, #191818 100%);
}
.header__box { height: calc(100% - 20px); }
.header__content-logo-center { width: min(900px, 120vw); height: auto; margin: -20px -10vw 0; }
.header__content-logo-center img { height: auto; display: block; filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.8)); }
.header__content-promo { margin-top: 30px; }
.header__content-promo-title { text-shadow: 0 2px 14px #000; }
.header__content-promo-text { color: #c9c2b8; text-shadow: 0 1px 8px #000; }
.promo-badge { color: #ffc63c !important; font-weight: 600 !important; }
.status-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: 2px;
  background: #4be37a; box-shadow: 0 0 10px #4be37a;
}
.rates .header__content-timer-time-box { padding: 0 6px; }
.rates .header__content-timer-time-num { width: 170px; text-shadow: 0 2px 14px #000; }
.rates .header__content-timer-time-desc { text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 1024px) {
  .header { padding-top: 60px; }
  .header__video { display: block; top: 60px; height: calc(100% - 60px); }
  .header__box { padding-top: 30px; }
  .rates .header__content-timer-time-num { width: 78px; }
}
@media (max-width: 400px) {
  .rates .header__content-timer-time-num { width: 64px; font-size: 34px; }
}

/* feature boxes: icon font instead of pictures, no "more" button */
.information { padding-top: 120px; }
.information .col-1-4 { height: 390px; }
.information__box { min-height: 350px; max-height: 350px; cursor: default; animation: none !important; }
.information__box:after { display: none; }
.information__box-icon { width: 130px; height: 130px; display: flex; align-items: center; justify-content: center; }
.information__box-icon i { position: relative; z-index: 2; font-size: 58px; color: #ff9d00; text-shadow: 0 0 18px rgba(255, 157, 0, 0.45); }
.information__box-text { -webkit-line-clamp: unset; max-height: none; }
.information__box-text code {
  font-family: Consolas, monospace; color: #ffc63c; background: rgba(255, 157, 0, 0.12);
  padding: 1px 6px; border-radius: 4px;
}
@media (max-width: 1024px) {
  .information .col-1-4 { height: 370px; }
  .information { padding-top: 60px; }
}

/* start playing panels */
.play-grid { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 30px; padding: 40px 20px 0; }
.panel {
  background: rgba(37, 37, 36, 0.92); border-radius: 15px; padding: 30px;
  border: 1px solid #333231; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}
.panel.main { border-color: rgba(255, 157, 0, 0.55); box-shadow: 0 0 0 1px rgba(255, 157, 0, 0.15), 0 20px 50px rgba(0, 0, 0, 0.45); }
.panel h3 {
  font-family: "Vollkorn"; font-weight: 600; font-size: 24px; line-height: 28px; color: #fff;
  text-transform: uppercase; text-align: center; margin-bottom: 20px;
}
.panel h3 span { color: #ff9d00; font-family: inherit; font-size: inherit; }
.news { list-style: none; }
.news li { padding: 12px 0; border-bottom: 1px dotted #3e3e3e; color: #a7a2a2; line-height: 22px; }
.news li:last-child { border-bottom: 0; }
.news time { display: block; color: #ff9d00; font-weight: 600; font-size: 13px; letter-spacing: 0.06em; }
.info { list-style: none; }
.info li { display: flex; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px dotted #3e3e3e; }
.info li:last-child { border-bottom: 0; }
.info b { font-family: "Vollkorn"; font-weight: 600; color: #f0e3db; font-size: 17px; }
.info span { color: #a7a2a2; text-align: right; }
.steps-mini { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-bottom: 20px; color: #a7a2a2; }
.steps-mini b {
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-right: 6px;
  border-radius: 50%; border: 1px solid #ff9d00; color: #ff9d00; font-size: 13px; font-weight: 700;
}
.panel .button { margin-bottom: 18px; }
.panel .button i { position: relative; z-index: 2; color: #1f1f1f; margin-right: 10px; font-size: 18px; }
.button.discord { border-color: #5865f2; box-shadow: 0 0 1px 0 #5865f2 inset, 0 0 1px 0 #5865f2; }
.button.discord:after { background-color: #5865f2; }
.button.discord:hover:after { background-color: #7984ff; }
.button.discord span, .button.discord i { color: #fff !important; }
body:not(.joined) .button.discord { animation: dcpulse 2.4s ease-in-out infinite; }
@keyframes dcpulse { 50% { box-shadow: 0 0 26px 2px rgba(88, 101, 242, 0.75); } }
.locked { opacity: 0.4; cursor: not-allowed; filter: grayscale(0.7); }
.lock-note, .done { text-align: center; margin: -4px 0 18px; color: #8b8b8b; }
.done { color: #ffc63c; font-weight: 600; display: none; }
body.joined .done { display: block; }
body.joined .lock-note { display: none; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding: 70px 20px 0; counter-reset: s; }
.step { position: relative; background: rgba(37, 37, 36, 0.92); border-radius: 15px; padding: 38px 22px 24px; text-align: center; border: 1px solid #333231; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: "Vollkorn"; font-weight: 700; font-size: 22px; color: #1f1f1f;
  background: #ff9d00; box-shadow: 0 0 0 4px #191818, 0 0 0 5px #ff9d00, 0 0 22px rgba(255, 157, 0, 0.5);
}
.step h4 { font-family: "Vollkorn"; font-weight: 600; font-size: 20px; color: #fff; text-transform: uppercase; margin-bottom: 8px; }
.step p { color: #8b8b8b; line-height: 24px; }
.step a, .join__text a { color: #ffc63c; text-decoration: underline; }

@media (max-width: 1100px) {
  .play-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .play-grid .main { order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 50px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .panel { padding: 24px 18px; }
}

/* footer */
.footer__logo-center { width: min(340px, 80vw); height: auto; }
.footer__logo-center img {
  height: auto;
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 55%, transparent 100%);
}
.footer .footer-one { width: 100%; text-align: center; margin-top: 30px; padding: 0 20px; }
.footer .footer-one .footer__cpr-title, .footer .footer-one .footer__cpr-text { text-align: center; }
.footer .footer-one .footer__cpr-links, .footer .footer-one .footer__social { justify-content: center; }
.footer .footer-one .footer__info { justify-content: center; }
.footer .footer__social { margin-right: 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .header__video { display: none; }
}
