/* =====================================================================
   LA2STAR — inner pages (about, files, news, register ...)
   ---------------------------------------------------------------------
   Header, banner and footer are the ORIGINAL artwork (same scaled
   coordinate system as the home page). The content area between them is
   new HTML, styled to match the original palette. Fonts are system
   serif fonts — the original typeface is unknown, so this is an
   approximation, not a match.
   ===================================================================== */

:root {
  --gold:        #e3bd72;
  --gold-bright: #f7dc9c;
  --gold-deep:   #a8742a;
  --text:        #efe6d2;
  --muted:       #b8ab92;
  --panel:       rgba(16, 11, 8, .92);
  --panel-line:  rgba(214, 170, 90, .45);
  --good:        #6fd36b;
  --evil:        #e0553a;
  --serif: Georgia, "Times New Roman", Times, serif;
  --content-max: 1240px;
}

body.page-inner {
  font: 17px/1.6 var(--serif);
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 0% 30%, rgba(214, 150, 60, .10), transparent 70%),
    radial-gradient(1200px 700px at 100% 30%, rgba(200, 50, 30, .10), transparent 70%),
    #090706;
  background-attachment: fixed;
}

/* ---------------------------------------------------------------------
   Banner (original upper hero artwork) + fade into page
   --------------------------------------------------------------------- */
.inner-banner { z-index: 1; overflow: hidden; }
.inner-banner .banner-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9,7,6,0) 35%, rgba(9,7,6,.65) 72%, #090706 100%);
  pointer-events: none;
}
.page-inner .site-header { z-index: 4; }

/* Footer background normally overlaps the panels above it by 32 source
   px; on inner pages there are no panels, so clip that strip. */
.page-inner .site-footer .section-bg {
  clip-path: inset(calc(32 * var(--u)) 0 0 0);
}
.page-inner .site-footer { margin-top: 64px; }

/* The footer bar crop carries hero flame artwork at both ends (it sits
   under the hero on the home page). Inner pages cover those rows with the
   bar's own near-black; links, ornament and gold line stay visible. */
.footer-bar-cover { background: #020202; pointer-events: none; }

/* ---------------------------------------------------------------------
   Content column
   --------------------------------------------------------------------- */
.inner-main {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin: calc(-1 * clamp(40px, 7vw, 140px)) auto 0;
  padding: 0 24px;
}

.inner-title { text-align: center; margin-bottom: 28px; }
.breadcrumbs {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 6px;
  letter-spacing: .03em;
}
.breadcrumbs a { color: var(--gold); }
.breadcrumbs a:hover { color: var(--gold-bright); }
.breadcrumbs span { margin: 0 8px; opacity: .6; }

.inner-title h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 54px);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gold-bright);
  text-shadow: 0 2px 0 #3a2206, 0 0 24px rgba(240, 180, 80, .35), 0 4px 18px #000;
}
.inner-title .lead {
  max-width: 760px;
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 18px;
}
/* gold rule with a diamond, echoing the original title underline */
.title-rule {
  position: relative;
  display: block;
  width: min(420px, 70%);
  height: 2px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, #c99a45 20%, #ffe3a3 50%, #c99a45 80%, transparent);
  box-shadow: 0 0 10px rgba(255, 200, 100, .45);
}
.title-rule::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 9px; height: 9px;
  background: #ffe3a3;
  transform: translate(-50%, -50%) rotate(45deg);
  box-shadow: 0 0 10px rgba(255, 210, 120, .9);
}
.breadcrumbs {
  display: inline-block;
  padding: 3px 14px;
  background: rgba(9, 7, 6, .72);
  border: 1px solid rgba(214, 170, 90, .25);
}

/* ---------------------------------------------------------------------
   Panels
   --------------------------------------------------------------------- */
.panel-box {
  position: relative;
  background: linear-gradient(180deg, rgba(26, 18, 12, .94), var(--panel));
  border: 1px solid var(--panel-line);
  box-shadow: 0 0 0 1px rgba(0,0,0,.7), 0 18px 40px rgba(0,0,0,.55), inset 0 0 40px rgba(0,0,0,.6);
  padding: 28px 32px;
  margin: 0 0 28px;
}
.panel-box::before {           /* fine inner frame like the original panels */
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(214, 170, 90, .14);
  pointer-events: none;
}
.panel-box::after {            /* gold corner accents */
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(var(--gold), var(--gold)) top left / 26px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top left / 2px 26px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top right / 26px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) top right / 2px 26px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom left / 26px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom left / 2px 26px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 26px 2px no-repeat,
    linear-gradient(var(--gold), var(--gold)) bottom right / 2px 26px no-repeat;
}

.panel-box h2,
.section-heading {
  margin: 0 0 18px;
  padding-bottom: 12px;
  font-weight: 400;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gold);
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, var(--gold-deep), rgba(168,116,42,.15) 70%, transparent) 1;
}
.panel-box h3,
.panel-box h2.as-h3 {
  margin: 0 0 8px;
  font-weight: 400;
  font-size: 19px;
  color: var(--gold-bright);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.panel-box p { margin: 0 0 14px; }
.panel-box p:last-child { margin-bottom: 0; }
.muted { color: var(--muted); }
.gold { color: var(--gold); }

.inner-main a:not([class]) { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.inner-main a:not([class]):hover { color: var(--gold-bright); }

.inner-main ul.list { margin: 0 0 14px; padding-left: 0; list-style: none; }
.inner-main ul.list li { position: relative; padding-left: 22px; margin: 6px 0; }
.inner-main ul.list li::before {
  content: "";
  position: absolute; left: 4px; top: .62em;
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 6px rgba(240, 190, 90, .6);
}

/* ---------------------------------------------------------------------
   Grids
   --------------------------------------------------------------------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-aside { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
.grid > .panel-box { margin: 0; }
.stack > * + * { margin-top: 24px; }

/* Original icon artwork — dark backing is dropped with "lighten" */
.art-icon { mix-blend-mode: lighten; display: block; height: auto; }

.feature-tile { text-align: center; }
.feature-tile .art-icon {
  width: 112px; margin: -6px auto 0;
  clip-path: inset(0 0 16% 0);          /* crop baked-in caption tops */
  margin-bottom: -12px;
}
.feature-tile p { color: var(--muted); font-size: 16px; }

.icon-row { display: flex; gap: 18px; align-items: flex-start; }
.icon-row .art-icon[src*="rates-medallion-full"] {
  /* keep the baked "x100.000" label whole: soft fade on all four edges */
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%),
                      linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%) !important;
  -webkit-mask-composite: source-in !important;
          mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 78%, transparent 100%),
                      linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%) !important;
          mask-composite: intersect !important;
}
.icon-row .art-icon {
  width: 72px; flex: 0 0 72px;
  /* soften the rectangular edges of the original icon crops */
  -webkit-mask-image: radial-gradient(closest-side, #000 78%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 78%, transparent 100%);
}
.icon-row h3 { margin-top: 6px; }

/* ---------------------------------------------------------------------
   Buttons (new UI in the original gold palette)
   --------------------------------------------------------------------- */
.btn {
  --cut: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 10px 34px;
  font: 18px/1.1 var(--serif);
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  cursor: pointer;
  border: 0;
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% 50%, calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 50%);
  transition: filter .18s ease, transform .18s ease;
}
.btn-gold {
  color: #2b1604;
  background: linear-gradient(180deg, #fff0bf 0%, #f2c86e 30%, #c98d2e 70%, #8f5c17 100%);
  text-shadow: 0 1px 0 rgba(255, 240, 200, .6);
}
.btn-dark {
  color: var(--text);
  background:
    linear-gradient(#120c08, #120c08) padding-box,
    linear-gradient(180deg, #f2d08a, #8f5c17) border-box;
  border: 2px solid transparent;
}
.btn:hover { filter: brightness(1.12); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }
.btn.is-pending { filter: grayscale(.6) brightness(.75); cursor: not-allowed; }
.pending-note { display: block; margin-top: 6px; font-size: 13px; color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-start; margin-top: 18px; }
.btn-row > div { display: flex; flex-direction: column; }

/* ---------------------------------------------------------------------
   Tables
   --------------------------------------------------------------------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.data-table { width: 100%; border-collapse: collapse; font-size: 17px; }
.data-table th {
  text-align: left;
  font-weight: 400;
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(214,170,90,.3);
}
.data-table td { padding: 10px; border-bottom: 1px solid rgba(214,170,90,.12); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table .num { text-align: right; color: var(--gold); white-space: nowrap; }
.data-table .ico { width: 44px; }
.data-table .ico img { width: 34px; }

.status-online { color: var(--good); }
.status-dot {
  display: inline-block; width: 10px; height: 10px; border-radius: 50%;
  background: var(--good); box-shadow: 0 0 8px var(--good); margin-right: 8px;
}

.big-stats { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 18px; }
.big-stat { text-align: center; padding: 18px 10px; }
.big-stat .art-icon {
  width: 54px; margin: 0 auto 2px;
  /* soft round edge hides the crop's box; clip removes baked caption fragments */
  clip-path: inset(4% 0 20% 0);
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
          mask-image: radial-gradient(closest-side, #000 62%, transparent 100%);
}
.big-stat b { display: block; font-weight: 400; font-size: 28px; color: var(--gold-bright); white-space: nowrap; } /* fix: stats wrap */
.big-stat span { color: var(--muted); font-size: 15px; }

/* ---------------------------------------------------------------------
   Steps
   --------------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps > li {
  position: relative;
  counter-increment: step;
  padding: 4px 0 22px 66px;
  min-height: 70px;
}
.steps > li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  font-size: 22px;
  color: #2b1604;
  background: linear-gradient(180deg, #fff0bf, #e5b45a 45%, #8f5c17);
  border-radius: 50%;
  box-shadow: 0 0 0 2px #3a2408, 0 0 14px rgba(240, 180, 80, .45);
}
.steps > li:not(:last-child)::after {
  content: "";
  position: absolute; left: 22px; top: 52px; bottom: 4px;
  width: 2px; background: linear-gradient(var(--gold-deep), transparent);
}
.steps h3 { margin-bottom: 4px; }

/* ---------------------------------------------------------------------
   Forms (frontend only)
   --------------------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 15px; color: var(--muted); }
.form input[type=text],
.form input[type=email],
.form input[type=password],
.form select,
.form textarea {
  width: 100%;
  font: 17px/1.4 var(--serif);
  color: var(--text);
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(214,170,90,.35);
  padding: 12px 14px;
  border-radius: 0;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form textarea { min-height: 150px; resize: vertical; }
.form select option { background: #120c08; }
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(227,189,114,.18);
}
.form .check { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.form .check input { margin-top: 5px; accent-color: #d9a648; width: 17px; height: 17px; }
.form .hint { font-size: 13px; color: var(--muted); }
.form .field-error { font-size: 14px; color: #ff8a6a; min-height: 0; }
.form [aria-invalid="true"] { border-color: #d0543a !important; }
.form-status {
  display: none;
  padding: 14px 16px;
  border: 1px solid rgba(214,170,90,.45);
  background: rgba(214,170,90,.08);
}
.form-status.is-visible { display: block; }
.form-status.is-error { border-color: rgba(224,85,58,.6); background: rgba(224,85,58,.08); }
.form-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 15px; }

/* ---------------------------------------------------------------------
   FAQ
   --------------------------------------------------------------------- */
.faq details { border-bottom: 1px solid rgba(214,170,90,.18); padding: 12px 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  color: var(--gold-bright);
  font-size: 18px;
  padding-right: 30px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: 4px; top: -2px;
  font-size: 24px; color: var(--gold);
}
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding-top: 10px; color: var(--text); }

/* ---------------------------------------------------------------------
   News
   --------------------------------------------------------------------- */
.news-card { display: grid; grid-template-columns: 260px minmax(0,1fr); gap: 24px; align-items: center; text-decoration: none; color: inherit; }
.news-card + .news-card { margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(214,170,90,.18); }
.news-card img { width: 100%; height: auto; display: block; border: 1px solid rgba(214,170,90,.35); }
.news-card time { color: var(--gold); font-size: 15px; }
.news-card h3, .news-card h2 { margin: 4px 0 6px; text-transform: none; font-size: 22px; color: var(--text); }
.news-card:hover h3, .news-card:hover h2 { color: var(--gold-bright); }
.news-card p { margin: 0; color: var(--muted); }
.read-more { color: var(--gold); font-size: 15px; display: inline-block; margin-top: 8px; }

.article-cover { width: 100%; max-width: 640px; height: auto; display: block; margin: 0 auto 20px; border: 1px solid rgba(214,170,90,.4); }
.article-meta { color: var(--gold); margin-bottom: 14px; display: block; }
.article-nav { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 16px; }

/* ---------------------------------------------------------------------
   Trailer
   --------------------------------------------------------------------- */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000 center / cover no-repeat;
  border: 1px solid var(--panel-line);
  overflow: hidden;
}
.video-frame--native {
  aspect-ratio: 16 / 9;
  min-height: 0;
  background: #000;
}
.video-frame--native .trailer-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  background: #000;
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
  filter: brightness(.7);
}
.video-frame .poster-overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center; align-content: center; gap: 14px;
  text-align: center; padding: 20px;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,.15), rgba(0,0,0,.6));
}
.play-ring {
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--gold);
  background: rgba(0,0,0,.55);
  box-shadow: 0 0 30px rgba(240,180,80,.45);
}
.play-ring::before {
  content: "";
  margin-left: 8px;
  border-left: 30px solid var(--gold-bright);
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
}

/* ---------------------------------------------------------------------
   Responsive (content area only — header/footer art scales uniformly)
   --------------------------------------------------------------------- */
@media (max-width: 980px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-aside { grid-template-columns: 1fr; }
  .big-stats { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 680px) {
  body.page-inner { font-size: 16px; }
  .inner-main { padding: 0 14px; margin-top: -24px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .big-stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .big-stat:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* lone 5th stat spans the row */
  .big-stat b { font-size: 24px; }
  /* trailer placeholder fits a small 16:9 frame */
  .play-ring { width: 56px; height: 56px; }
  .play-ring::before { border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; margin-left: 5px; }
  .video-frame .poster-overlay { gap: 6px; padding: 10px; }
  .video-frame .poster-overlay p:first-of-type { font-size: 15px !important; }
  .video-frame .poster-overlay p.muted { font-size: 13px; }
  .panel-box { padding: 22px 18px; }
  .news-card { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row > div { width: 100%; }
  .data-table { font-size: 15px; }
  .data-table th, .data-table td { padding: 8px 6px; }
  .data-table th { font-size: 12px; letter-spacing: .03em; }
}

/* very small phones: tables fit without their own scrollbar */
@media (max-width: 480px) {
  .data-table th { font-size: 11px; letter-spacing: 0; }
  .data-table th, .data-table td { padding: 7px 4px; }
}

/* h2 elements that look like h3 (keeps heading order h1 > h2 > h3 for screen readers) */
.panel-box h2.as-h3 { padding-bottom: 0; border: 0; border-image: none; margin: 0 0 8px; font-size: 19px; }
.news-card h2.as-h3 { margin: 4px 0 6px; text-transform: none; font-size: 22px; color: var(--text); padding: 0; }
.news-card:hover h2.as-h3 { color: var(--gold-bright); }

/* Native MP4 trailer player */
.video-frame--native {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.video-frame--native .trailer-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}