/* =========================================================
   SPIN GOLD & YONO GAMES - Official Landing Page Stylesheet
   Emerald & Royal Gold Theme
   ========================================================= */

:root {
  --bg-deep: #03140b;
  --bg-dark: #062415;
  --bg-card: #092e1c;
  --border-emerald: rgba(16, 185, 129, 0.28);
  --border-gold: rgba(255, 200, 45, 0.48);
  --gold-light: #ffe270;
  --gold-main: #ffc107;
  --emerald-bright: #00e676;
  --text-white: #f4fdf8;
  --text-muted: #b6dec8;
  --text-soft: #87baa0;
  --shadow-glow: 0 10px 32px rgba(0, 230, 118, 0.14);
  --shadow-gold: 0 8px 26px rgba(255, 193, 7, 0.3);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(circle at top center, #0b3a22 0%, var(--bg-deep) 55%, #020d07 100%);
  color: var(--text-white);
  line-height: 1.72;
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 18px;
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(3, 20, 11, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-emerald);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  flex-wrap: wrap;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-sm {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 2px solid var(--gold-main);
  box-shadow: 0 0 12px rgba(255, 193, 7, 0.35);
  object-fit: cover;
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  background: linear-gradient(90deg, #fff6b7, var(--gold-main), #ffaa00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.76rem;
  color: var(--emerald-bright);
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-bright);
  box-shadow: 0 0 8px var(--emerald-bright);
  display: inline-block;
  animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-btn {
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.22);
  transition: all 0.22s ease;
  white-space: nowrap;
}

.nav-btn:hover,
.nav-btn.active {
  color: #03140b;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-main));
  border-color: var(--gold-light);
  box-shadow: 0 4px 14px rgba(255, 193, 7, 0.35);
}

.nav-download-pill {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #021a0e;
  background: linear-gradient(135deg, #25ff92, #00c853);
  border: 1px solid #69f0ae;
  box-shadow: 0 4px 14px rgba(0, 230, 118, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.nav-download-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.5);
}

/* =========================================================
   HERO SECTION (Logo + Download Button Directly Below)
   ========================================================= */
.hero-section {
  padding: 36px 0 28px;
}

.hero-card {
  background: linear-gradient(160deg, rgba(13, 58, 37, 0.92), rgba(5, 29, 17, 0.96));
  border: 1.5px solid var(--border-gold);
  border-radius: 24px;
  padding: 36px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 226, 112, 0.22);
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 200, 45, 0.24), transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(255, 193, 7, 0.14);
  border: 1px solid rgba(255, 193, 7, 0.45);
  color: var(--gold-light);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 18px;
}

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.hero-main-logo {
  width: 175px;
  height: 175px;
  border-radius: 28px;
  border: 3px solid var(--gold-main);
  box-shadow: 0 0 34px rgba(255, 193, 7, 0.44), 0 12px 30px rgba(0, 0, 0, 0.5);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-main-logo:hover {
  transform: scale(1.04);
}

.hero-download-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.btn-download-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffe270 0%, #ffb300 50%, #ff8f00 100%);
  color: #091e12;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: 2px solid #fff3b0;
  box-shadow: 0 10px 28px rgba(255, 179, 0, 0.45), 0 0 0 0 rgba(255, 193, 7, 0.55);
  animation: btnPulse 2.2s infinite;
  transition: transform 0.2s ease, filter 0.2s ease;
  cursor: pointer;
}

.btn-download-main:hover {
  transform: translateY(-3px) scale(1.02);
  filter: brightness(1.06);
}

@keyframes btnPulse {
  0% { box-shadow: 0 10px 28px rgba(255, 179, 0, 0.45), 0 0 0 0 rgba(255, 193, 7, 0.55); }
  70% { box-shadow: 0 10px 28px rgba(255, 179, 0, 0.45), 0 0 0 14px rgba(255, 193, 7, 0); }
  100% { box-shadow: 0 10px 28px rgba(255, 179, 0, 0.45), 0 0 0 0 rgba(255, 193, 7, 0); }
}

.btn-download-main svg {
  width: 24px;
  height: 24px;
  fill: #091e12;
  flex-shrink: 0;
}

.download-meta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.meta-chip {
  background: rgba(0, 230, 118, 0.1);
  border: 1px solid rgba(0, 230, 118, 0.28);
  padding: 5px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.copy-code-btn {
  background: rgba(255, 193, 7, 0.14);
  border: 1px dashed var(--gold-main);
  color: var(--gold-light);
  padding: 5px 14px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.copy-code-btn:hover {
  background: rgba(255, 193, 7, 0.28);
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-title span {
  color: var(--gold-light);
}

.hero-subtitle {
  max-width: 780px;
  margin: 0 auto 24px;
  color: var(--text-muted);
  font-size: 1.03rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.stat-box {
  background: rgba(3, 20, 11, 0.65);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-md);
  padding: 14px 10px;
}

.stat-val {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.2;
}

.stat-lbl {
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-top: 3px;
}

/* =========================================================
   CONTENT SECTIONS & CARDS
   ========================================================= */
.section-block {
  margin: 28px 0;
  background: var(--bg-card);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-glow);
}

.section-heading {
  font-size: clamp(1.35rem, 2.6vw, 1.8rem);
  font-weight: 800;
  color: var(--gold-light);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 193, 7, 0.22);
  padding-bottom: 10px;
}

.sub-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: #69f0ae;
  margin: 20px 0 10px;
}

.section-block p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 1rem;
}

.section-block p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   3 IMAGES SHOWCASE GALLERY (Spin Gold Widescreen Layout)
   ========================================================= */
.showcase-grid-gold {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.media-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.media-card-featured {
  grid-column: 1 / -1;
}

.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
}

.media-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  cursor: zoom-in;
}

.media-card-pair img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-caption {
  padding: 12px 14px;
  background: rgba(3, 20, 11, 0.92);
  border-top: 1px solid var(--border-emerald);
}

.media-caption strong {
  display: block;
  color: var(--gold-light);
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.media-caption span {
  font-size: 0.85rem;
  color: var(--text-soft);
}

/* =========================================================
   TABLES, GRIDS, LISTS
   ========================================================= */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-emerald);
  margin-top: 14px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 480px;
}

.info-table th,
.info-table td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(16, 185, 129, 0.18);
  font-size: 0.96rem;
}

.info-table th {
  background: rgba(0, 230, 118, 0.1);
  color: var(--gold-light);
  font-weight: 700;
  width: 36%;
}

.info-table td {
  background: rgba(3, 20, 11, 0.5);
  color: var(--text-white);
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.feature-item {
  background: var(--bg-dark);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-item:hover {
  border-color: var(--gold-main);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.feature-item h3 {
  font-size: 1.05rem;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.feature-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

.styled-list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 14px 0;
}

.styled-list li {
  background: rgba(3, 20, 11, 0.6);
  border-left: 3px solid var(--emerald-bright);
  padding: 12px 15px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-muted);
}

.styled-list li strong {
  color: var(--text-white);
}

.step-list {
  list-style: none;
  counter-reset: step-counter;
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

.step-list li {
  counter-increment: step-counter;
  position: relative;
  padding: 14px 16px 14px 54px;
  background: var(--bg-dark);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-md);
  color: var(--text-muted);
}

.step-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-main));
  color: #03140b;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.step-list li strong {
  color: var(--gold-light);
}

/* =========================================================
   CTA, FAQ, KEYWORDS, LIGHTBOX, FOOTER
   ========================================================= */
.cta-strip {
  margin: 28px 0;
  background: linear-gradient(135deg, #0b4429, #062517);
  border: 1.5px solid var(--gold-main);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-strip h2 {
  font-size: 1.4rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.cta-strip p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.faq-item {
  background: var(--bg-dark);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 15px 18px;
  color: var(--text-white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--gold-light);
}

.faq-icon {
  font-size: 1.2rem;
  color: var(--gold-main);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-item.open .faq-answer {
  padding: 0 18px 16px;
}

.keywords-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 14px;
}

.kw-tag {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.32);
  color: #b7f5d4;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.kw-tag:hover {
  border-color: var(--gold-main);
  color: var(--gold-light);
  background: rgba(255, 193, 7, 0.12);
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-modal.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 920px;
  max-height: 90vh;
}

.lightbox-content img {
  max-height: 85vh;
  width: auto;
  border-radius: 12px;
  border: 2px solid var(--gold-main);
}

.lightbox-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-main);
  color: #03140b;
  border: none;
  font-size: 1.3rem;
  font-weight: 800;
  cursor: pointer;
}

.site-footer {
  margin-top: 40px;
  background: #020e08;
  border-top: 1px solid var(--border-emerald);
  padding: 32px 0 24px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(16, 185, 129, 0.16);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--gold-light);
}

.footer-warning {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.28);
  border-radius: var(--radius-sm);
  color: #f8e59a;
  font-size: 0.84rem;
}

.footer-copy {
  margin-top: 14px;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-main));
  color: #03140b;
  border: none;
  font-size: 1.2rem;
  font-weight: 800;
  box-shadow: var(--shadow-gold);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 900;
}

.back-to-top.show {
  display: flex;
}

/* =========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================= */
@media (max-width: 900px) {
  .card-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .showcase-grid-gold {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header-inner {
    justify-content: center;
  }
  .main-nav {
    justify-content: center;
  }
  .nav-btn,
  .nav-download-pill {
    padding: 7px 12px;
    font-size: 0.83rem;
  }
  .hero-card {
    padding: 26px 16px;
  }
  .hero-main-logo {
    width: 145px;
    height: 145px;
  }
  .btn-download-main {
    width: 100%;
    padding: 14px 16px;
    font-size: 0.94rem;
    gap: 8px;
    white-space: nowrap;
  }
  .section-block {
    padding: 20px 16px;
  }
  .card-grid-3,
  .card-grid-2 {
    grid-template-columns: 1fr;
  }
}
