/* Golden Express Slots — product site styles
   Rebuilt from www.goldenexpressslots.top (Tailwind SPA);
   golden desert theme tokens ported from the live bundle CSS. */

@font-face {
  font-family: "Manrope";
  src: url("../assets/fonts/Manrope.ttf") format("truetype");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --bg-art-bottom: #ffffff;
  --yellow: #fff741;
  --card-title: #fede02;
  --input-border: #fff741;
  --input-bg: #6a1d13;
  --title-shadow: rgba(52, 23, 22, 0.31);
  --border-grad: linear-gradient(to bottom, #fdb064, #fcfe2a 10%, #ff7f00 50%, #ffaa01 80%, #ffcd00);
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-art-bottom) url("../assets/page-bg.webp") top center / 100% auto no-repeat;
  color: #fff;
  font-family: var(--font);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

section { scroll-margin-top: 80px; }

h1, h2, h3 { font-weight: 700; }

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

a:focus-visible,
.submit-button:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.container {
  width: min(calc(100% - 64px), 1280px);
  margin: 0 auto;
}

@media (max-width: 768px) {
  .container { width: calc(100% - 32px); }
}

.text-center { text-align: center; }

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.logo-box .logo { width: 56px; height: auto; border-radius: 12px; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-link {
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active { color: var(--yellow); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: #fff;
}

/* ---------- home / hero ---------- */

.home { padding-bottom: 104px; }

.home-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto 24px;
  text-shadow: 0 2px 0 var(--title-shadow);
}

.home-title .ball {
  width: 140px;
  margin-right: -2px;
  position: relative;
  top: 10px;
}

.home-title span {
  color: var(--yellow);
  font-size: clamp(48px, 5.8vw, 72px);
}

.home-content {
  max-width: 960px;
  margin: 0 auto 56px;
  color: #fff;
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 500;
  line-height: 1.6;
  white-space: pre-line;
}

.banner {
  display: block;
  width: min(100%, 720px);
  margin: 0 auto;
}

/* ---------- features (gradient-border frosted panel) ---------- */

.features { padding-bottom: 64px; }

.stroke {
  text-shadow:
    2px 2px #8f98ff,
    -2px -2px #8f98ff,
    2px -2px #8f98ff,
    -2px 2px #8f98ff;
}

.features h2 {
  margin-bottom: 48px;
  text-align: center;
  color: var(--yellow);
  font-size: clamp(36px, 4vw, 48px);
}

.border-box {
  border-radius: 24px;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.border-box:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 24px;
  padding: 2px;
  background: var(--border-grad);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 24px;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 16px;
}

.card-item {
  padding: 24px 16px;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}

.card-item:hover { transform: scale(1.05); }

.card-item h3 {
  margin-bottom: 8px;
  color: var(--card-title);
  font-size: 24px;
}

.card-item p { color: #fff; font-size: 16px; line-height: 1.5; }

/* ---------- download (gradient-border panel) ---------- */

.download { padding: 24px 0 104px; }

.download h2 {
  margin-bottom: 24px;
  text-align: center;
  color: var(--yellow);
  font-size: clamp(36px, 4vw, 48px);
}

.download-panel {
  width: min(100%, 740px);
  margin: 0 auto;
  padding: 40px 24px 36px;
  text-align: center;
}

.download-btn {
  display: inline-flex;
  width: min(100%, 300px);
  transition: transform 0.3s;
}

.download-btn:hover { transform: scale(1.05); }

.download-btn img { display: block; width: 100%; }

.dl-available {
  margin: 16px 0 0;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
}

.dl-contact { margin: 16px 0 0; color: #fff; font-size: 20px; }

.dl-mail:hover { color: var(--yellow); }

/* ---------- contact (gradient-border panel) ---------- */

.contact { padding: 24px 0 104px; }

.contact h2 {
  margin-bottom: 24px;
  text-align: center;
  color: var(--yellow);
  font-size: clamp(36px, 4vw, 48px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: min(100%, 576px);
  margin: 0 auto;
  padding: 20px 20px 24px;
}

.form-item-label {
  display: block;
  margin-bottom: 8px;
  color: var(--yellow);
  font-size: 20px;
  font-weight: 600;
}

.form-item-control {
  width: 100%;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  outline: none;
  padding: 12px 16px;
  background: var(--input-bg);
  color: #fff;
  font: inherit;
  font-size: 16px;
}

.form-item-control::placeholder { color: #beaeb6; }

.form-item-control:focus {
  box-shadow: 0 0 0 2px var(--yellow);
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

textarea.form-item-control { min-height: 140px; resize: vertical; }

.form-error {
  color: #ffd7d7;
  font-size: 14px;
  font-weight: 700;
}

.submit-button {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 16px 24px;
  background: var(--yellow);
  color: #000;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s;
}

.submit-button:hover { transform: scale(1.02); }

/* ---------- footer ---------- */

.site-footer { background: transparent; }

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.footer-brand .logo { width: 48px; border-radius: 10px; }

.footer-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: #fff;
  font-size: 16px;
}

@media (min-width: 768px) {
  .footer-tools { gap: 48px; }
}

.footer-tools a { font-weight: 500; }

.footer-tools a:hover { color: var(--yellow); }

.copy-right {
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  margin-top: 20px;
  padding: 20px 16px;
  text-align: center;
  font-size: 14px;
}

/* ---------- legal page (privacy) ---------- */

.legal-page { padding-bottom: 60px; }

.legal {
  padding: 24px 0 40px;
  scroll-margin-top: 96px;
}

.legal .container {
  width: min(100%, 980px);
  border-radius: 24px;
  padding: 40px 48px 48px;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
}

.legal h1 {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(36px, 3.6vw, 48px);
}

.legal h3 {
  margin: 28px 0 4px;
  color: var(--yellow);
  font-size: 18px;
}

.legal p {
  margin: 0 0 9px;
  font-size: 16px;
  line-height: 1.65;
  color: #f2e8ee;
}

.privacy-mail { color: var(--yellow); font-weight: 700; }

/* ---------- reveal animation (visible by default: works without JS) ---------- */

.reveal.in { animation: reveal-in 0.6s ease both; }

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal.in { animation: none; }
  .card-item, .download-btn, .submit-button { transition: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .home-title span { font-size: min(72px, 6vw); }

  .home-content { font-size: min(24px, 2vw); }

  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }

  .features h2, .download h2, .contact h2 { font-size: min(48px, 3.8vw); }

  .banner { width: min(720px, 56vw); }

  .home-title .ball { width: min(140px, 10.5vw); }
}

/* ---------- ≤768px: hamburger + stacked ---------- */

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 56px 24px 24px;
    background: #4b120c;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  }

  .nav-menu.open { display: flex; }

  .nav-menu li { width: 100%; text-align: center; }

  .nav-link {
    display: block;
    padding: 12px 0;
    font-size: 17px;
  }

  .logo-box { font-size: 18px; }

  .logo-box .logo { width: 44px; }

  .home { padding-bottom: 56px; }

  .home-title {
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
  }

  .home-title .ball { width: 90px; top: 0; }

  .home-title span { font-size: 44px; }

  .home-content { font-size: 18px; margin-bottom: 32px; }

  .banner { width: min(100%, 560px); }

  .features { padding-bottom: 40px; }

  .features h2, .download h2, .contact h2 { font-size: 32px; }

  .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 20px; padding: 14px 12px; }

  .card-item { padding: 20px 16px; }

  .card-item h3 { font-size: 20px; }

  .card-item p { font-size: 15px; }

  .download { padding-bottom: 48px; }

  .download-panel { padding: 24px 16px 20px; }

  .dl-available { font-size: 19px; }

  .dl-contact { font-size: 15px; }

  .contact { padding-bottom: 56px; }

  .contact-form { padding: 18px 14px 20px; }

  .form-item-label { font-size: 17px; }

  .form-item-control { height: 48px; padding: 0 14px; font-size: 15px; }

  textarea.form-item-control { height: auto; min-height: 120px; padding: 12px 14px; }

  .submit-button { padding: 14px 20px; font-size: 16px; }

  .footer-brand { font-size: 17px; }

  .footer-brand .logo { width: 40px; }

  .footer-tools { gap: 10px 24px; flex-wrap: wrap; font-size: 14px; }

  .copy-right { font-size: 13px; }
}

/* ---------- ≤768px: footer sits on the light area below the art ---------- */

@media (max-width: 768px) {
  .footer-brand { color: #4b120c; }

  .footer-tools { color: #4b120c; }

  .footer-tools a:hover { color: #8a2b16; }

  .copy-right { color: #4b120c; border-top-color: rgba(75, 18, 12, 0.4); }
}
