/* ================================================================
   GOLDENGAN.COM — ODINFORTUNE REVIEW SITE
   Design: dark navy · golden yellow · slate grey
   ================================================================ */

/* ── 1. Variables ─────────────────────────────────────────────── */
:root {
  --bg:           #070e1d;
  --surface:      #0d1b35;
  --surface-2:    #142844;
  --surface-3:    #1c3560;
  --border:       #1e3a6e;
  --border-light: #2a4a80;

  --accent:       #f5c518;
  --accent-2:     #ffd54f;
  --accent-dim:   rgba(245, 197, 24, .18);
  --accent-glow:  rgba(245, 197, 24, .45);

  --text:         #c8dcf0;
  --text-muted:   #6a8db5;
  --text-head:    #e8f2ff;
  --text-white:   #ffffff;

  --link:         #f5c518;
  --link-hover:   #ffd54f;

  --radius:       8px;
  --radius-lg:    14px;
  --shadow:       0 6px 32px rgba(0, 0, 0, .55);
  --shadow-gold:  0 0 24px rgba(245, 197, 24, .35);

  --tr:           .22s ease;
  --header-h:     68px;
  --font:         'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
}

/* ── 2. Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.72;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

main { flex: 1; }

/* ── 3. Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-head);
  line-height: 1.3;
  font-weight: 700;
  text-shadow:
    0 0 8px  rgba(55, 120, 255, .55),
    0 0 22px rgba(40, 100, 240, .30),
    0 0 48px rgba(25,  75, 210, .14);
}

h1 { font-size: clamp(1.65rem, 4vw, 2.5rem);  margin-bottom: 1rem; }
h2 { font-size: clamp(1.25rem, 3vw, 1.9rem);  margin: 2.25rem 0 .75rem; }
h3 { font-size: clamp(1.05rem, 2vw, 1.35rem); margin: 1.75rem 0 .6rem; }

p { margin-bottom: 1rem; }

ul, ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
li { margin-bottom: .4rem; }

strong { color: var(--text-head); font-weight: 700; }

/* ── 4. Links ─────────────────────────────────────────────────── */
a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--tr);
}
a:hover,
a:focus {
  color: var(--link-hover);
  text-decoration: underline;
}

/* ── 5. Layout ────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 3.5rem 0; }

/* ── 6. Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: .65rem 1.9rem;
  background: var(--accent);
  color: #06090f;
  font-family: var(--font);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--tr),
    box-shadow  var(--tr),
    transform   var(--tr),
    border-color var(--tr);
  box-shadow: 0 0 14px rgba(245, 197, 24, .28);
  white-space: nowrap;
}

.btn:hover,
.btn:focus {
  background: var(--accent-2);
  box-shadow: 0 0 32px var(--accent-glow),
              0 4px 16px rgba(0,0,0,.35);
  transform: translateY(-2px);
  text-decoration: none;
  color: #06090f;
  outline: none;
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 0 16px rgba(245, 197, 24, .3);
}

.btn--lg {
  padding: .9rem 2.8rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

.btn--outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: none;
}
.btn--outline:hover,
.btn--outline:focus {
  background: var(--accent);
  color: #06090f;
  box-shadow: var(--shadow-gold);
}

.btn--header {
  padding: .52rem 1.4rem;
  font-size: .85rem;
  border-radius: var(--radius);
  flex-shrink: 0;
}

/* ── 7. Header ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.header__logo img { height: 44px; width: auto; }
.header__logo:hover,
.header__logo:focus { opacity: .88; text-decoration: none; }

/* Nav */
.header__nav { flex: 1; }

.header__nav ul {
  display: flex;
  list-style: none;
  gap: .2rem;
  justify-content: center;
  padding: 0; margin: 0;
}

.header__nav a {
  display: block;
  padding: .48rem .95rem;
  color: var(--text);
  font-weight: 600;
  font-size: .93rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: color var(--tr), background var(--tr);
}
.header__nav a:hover,
.header__nav a:focus {
  color: var(--accent);
  background: var(--accent-dim);
  text-decoration: none;
}

/* CSS-only hamburger */
.nav-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: var(--radius);
  transition: background var(--tr);
}
.nav-burger:hover { background: var(--accent-dim); }

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--tr), opacity var(--tr);
}

@media (max-width: 900px) {
  .nav-burger { display: flex; }

  .header__nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--surface-2);
    border-bottom: 2px solid var(--border);
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,.55);
  }

  .header__nav ul {
    flex-direction: column;
    gap: .15rem;
  }
  .header__nav a {
    font-size: 1rem;
    padding: .75rem 1rem;
  }

  /* toggle via checked sibling */
  .nav-checkbox:checked ~ .header__nav { display: block; }

  .nav-checkbox:checked ~ .nav-burger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav-checkbox:checked ~ .nav-burger span:nth-child(2) {
    opacity: 0;
  }
  .nav-checkbox:checked ~ .nav-burger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

@media (max-width: 480px) {
  .btn--header  { font-size: .78rem; padding: .45rem .9rem; }
  .header__logo img { height: 36px; }
}

/* ── 8. Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.hero__img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(7, 14, 29, .78) 0%,
    rgba(7, 14, 29, .35) 55%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding-bottom: 2.5rem;
}

.hero__content {
  max-width: 620px;
}

.hero__title {
  font-size: clamp(1.4rem, 3.5vw, 2.1rem);
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.75);
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .hero__img { height: 260px; }
  .hero__overlay { padding-bottom: 1.25rem; }
  .hero__title { font-size: 1.2rem; }
}

/* ── 9. Article Content ───────────────────────────────────────── */
.home-content {
  padding: 2.75rem 0 1.5rem;
}

/* ── 10. CTA Block ────────────────────────────────────────────── */
.cta-block {
  text-align: center;
  padding: 2.75rem 1.5rem;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  margin: 2.5rem 0;
  box-shadow: var(--shadow);
}

.cta-block p {
  font-size: 1.08rem;
  color: var(--text-head);
  margin-bottom: 1.4rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA with banner background — top of image anchored, dimmed overlay */
.cta-block--banner {
  background-image:
    linear-gradient(
      rgba(7, 14, 29, .70) 0%,
      rgba(7, 14, 29, .62) 50%,
      rgba(7, 14, 29, .74) 100%
    ),
    url('/imgs/Odinfortune-bannergirl.webp');
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  border-color: rgba(245, 197, 24, .28);
  padding: calc(4rem + 25px) 2.25rem calc(4rem + 25px);
  text-align: left;
}

.cta-block--banner p {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
  margin-left: 0;
  margin-right: 0;
}

/* ── 11. Banner Sections ──────────────────────────────────────── */
.banner-section { padding: 1rem 0; }

.banner-link {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--tr), box-shadow var(--tr);
  text-decoration: none;
}
.banner-link:hover,
.banner-link:focus {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(245, 197, 24, .22);
  text-decoration: none;
}
.banner-link img {
  width: 100%;
  height: auto;
  display: block;
}

.banners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .banners-grid { grid-template-columns: 1fr; }
}

/* ── 12. Winners Strip ────────────────────────────────────────── */
.winners {
  padding: 2.5rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.winners__label {
  text-align: center;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.winners__grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.winners__grid::-webkit-scrollbar { height: 4px; }
.winners__grid::-webkit-scrollbar-track { background: var(--surface-2); border-radius: 2px; }
.winners__grid::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

.winners__item {
  display: block;
  flex: 0 0 auto;
  width: 190px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform var(--tr), border-color var(--tr), box-shadow var(--tr);
  text-decoration: none;
}
.winners__item:hover,
.winners__item:focus {
  transform: scale(1.04);
  border-color: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
  text-decoration: none;
}
.winners__item img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

/* ── 13. Tables ───────────────────────────────────────────────── */
.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0 1.75rem;
  border-radius: var(--radius);
  box-shadow: 0 3px 18px rgba(0,0,0,.4);
  border: 1px solid var(--border);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  background: var(--surface-2);
  min-width: 360px;
}

.table-wrap thead th {
  background: var(--surface-3);
  color: var(--accent);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  padding: .8rem 1.1rem;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.table-wrap tbody td {
  padding: .7rem 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  vertical-align: middle;
}

.table-wrap tbody tr:last-child td { border-bottom: none; }

.table-wrap tbody tr:hover td {
  background: rgba(245, 197, 24, .05);
}

/* ── 14. FAQ ──────────────────────────────────────────────────── */
.faq {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.5rem;
}

.faq__item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--tr);
}

.faq__item[open] {
  border-color: var(--accent);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: .98rem;
  color: var(--text-head);
  cursor: pointer;
  list-style: none;
  gap: 1rem;
  user-select: none;
  transition: background var(--tr), color var(--tr);
}

.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::marker { display: none; }

.faq__item summary::after {
  content: '+';
  font-size: 1.55rem;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  font-weight: 400;
  transition: transform var(--tr);
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
}
.faq__item summary:hover,
.faq__item summary:focus {
  background: rgba(245, 197, 24, .07);
  color: var(--accent);
  outline: none;
}

.faq__body {
  padding: 0 1.25rem 1.25rem;
  font-size: .95rem;
  color: var(--text);
  border-top: 1px solid var(--border);
}

.faq__body p:first-child { padding-top: 1rem; }
.faq__body p:last-child  { margin-bottom: 0; }

/* ── 15. Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  margin-top: auto;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

.footer__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.footer__logo img  { height: 38px; width: auto; opacity: .82; }
.footer__logo:hover,
.footer__logo:focus { opacity: 1; text-decoration: none; }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.75rem;
}
.footer__nav a {
  color: var(--text-muted);
  font-size: .88rem;
  text-decoration: none;
  transition: color var(--tr);
}
.footer__nav a:hover,
.footer__nav a:focus {
  color: var(--accent);
  text-decoration: none;
}

.footer__cta { margin: .25rem 0; }

.footer__disclaimer {
  font-size: .78rem;
  color: var(--text-muted);
  max-width: 680px;
  line-height: 1.6;
}
.footer__disclaimer a { color: var(--text-muted); }
.footer__disclaimer a:hover { color: var(--accent); }

.footer__copy {
  font-size: .78rem;
  color: var(--text-muted);
  opacity: .65;
}

/* ── 16. Shell / Empty Pages ──────────────────────────────────── */
.page-shell {
  padding: 5rem 0;
  text-align: center;
  min-height: 40vh;
  display: flex;
  align-items: center;
}
.page-shell h1 {
  margin-bottom: .75rem;
}
.page-shell p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 1.5rem;
}

/* ── 17. Utilities ────────────────────────────────────────────── */
.text-center  { text-align: center; }
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }
.mt-2         { margin-top: 2rem; }
.mb-2         { margin-bottom: 2rem; }
