/* OK37 Game — premium landing (Vegas-style: black + gold + red, Inter, card UI) */

:root {
  --gold: #ffd700;
  --gold-dark: #b8860b;
  --gold-light: #ffe44d;
  --red: #dc2626;
  --red-dark: #991b1b;
  --red-light: #ef4444;
  --black: #0a0a0a;
  --black-light: #1a1a2e;
  --black-card: #16213e;
  --white: #ffffff;
  --gray: #9ca3af;
  --gray-light: #d1d5db;
  --transition: all 0.3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold-light);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  background: var(--gold);
  color: var(--black);
  z-index: 10001;
  border-radius: 8px;
  font-weight: 700;
}

/* ——— Navbar ——— */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.98);
  box-shadow: 0 4px 30px rgba(255, 215, 0, 0.08);
}

.nav-container {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-size: 1.45rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-logo span {
  color: var(--red);
  -webkit-text-fill-color: var(--red);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--gray-light);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white) !important;
  padding: 0.6rem 1.35rem;
  border-radius: 8px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
  color: var(--white) !important;
}

.nav-cta::after {
  display: none !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  margin: 6px 0;
  transition: var(--transition);
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 1.5rem 80px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(220, 38, 38, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, rgba(184, 134, 11, 0.08) 0%, transparent 50%);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffd700' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gray-light);
  margin: 0 auto 2rem;
  max-width: 700px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.hero-image-banner {
  max-width: 640px;
  margin: 2rem auto 0;
  position: relative;
  z-index: 1;
}

.hero-image-banner img {
  width: 100%;
  border-radius: 20px;
  border: 2px solid rgba(255, 215, 0, 0.25);
  box-shadow: 0 20px 60px rgba(255, 215, 0, 0.12), 0 0 80px rgba(220, 38, 38, 0.08);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.75rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: var(--white);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5);
  color: var(--white);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.25);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.45);
  color: var(--black);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: rgba(255, 215, 0, 0.12);
  color: var(--gold-light);
}

/* ——— Sections ——— */
main {
  overflow-x: hidden;
}

.section {
  padding: 80px 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.section--alt {
  background: linear-gradient(180deg, rgba(22, 33, 62, 0.35), transparent);
  border-top: 1px solid rgba(255, 215, 0, 0.08);
  border-bottom: 1px solid rgba(255, 215, 0, 0.08);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  font-weight: 800;
  margin: 0 0 1rem;
  background: linear-gradient(135deg, var(--white), var(--gray-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 640px;
  margin: 0 auto;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  margin: 1rem auto;
  border-radius: 2px;
}

.section-body {
  max-width: 800px;
  margin: 0 auto;
}

.section-body p {
  color: var(--gray-light);
  line-height: 1.85;
  margin: 0 0 1.25rem;
}

.section-body strong {
  color: var(--white);
}

/* ——— Feature cards ——— */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: linear-gradient(135deg, var(--black-light), var(--black-card));
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red), var(--gold));
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 215, 0, 0.3);
  box-shadow: 0 10px 40px rgba(255, 215, 0, 0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 215, 0, 0.04));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--white);
}

.feature-card p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0;
}

/* ——— Step cards ——— */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}

.step-card {
  position: relative;
  background: linear-gradient(135deg, var(--black-light), var(--black-card));
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  counter-increment: step;
}

.step-card::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--black);
  font-size: 1.15rem;
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto 1.1rem;
}

.step-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  color: var(--white);
}

.step-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* ——— FAQ (native details) ——— */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

details.faq-item {
  background: linear-gradient(135deg, var(--black-light), var(--black-card));
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition);
}

details.faq-item:hover {
  border-color: rgba(255, 215, 0, 0.28);
}

details.faq-item[open] {
  border-color: rgba(255, 215, 0, 0.35);
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.06);
}

details.faq-item summary {
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--white);
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 700;
}

details.faq-item[open] summary::after {
  content: "−";
}

details.faq-item p {
  margin: 0;
  padding: 0 1.5rem 1.25rem;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* ——— Blog grid ——— */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.blog-card {
  display: block;
  background: linear-gradient(135deg, var(--black-light), var(--black-card));
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 16px;
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 215, 0, 0.35);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.blog-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--white);
}

.blog-card p {
  margin: 0;
  color: var(--gray);
  font-size: 0.92rem;
}

/* ——— CTA strip ——— */
.cta-strip {
  text-align: center;
  padding: 2.5rem 1.5rem;
  margin-top: 2.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 215, 0, 0.2);
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.06), rgba(220, 38, 38, 0.06));
}

.cta-strip h3 {
  margin: 0 0 1.25rem;
  font-size: 1.35rem;
}

.cta-strip .btn {
  margin: 0.35rem;
}

/* ——— Share ——— */
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
}

.share-row > span {
  font-size: 0.85rem;
  color: var(--gray);
  width: 100%;
  text-align: center;
}

@media (min-width: 480px) {
  .share-row > span {
    width: auto;
    margin-right: 0.35rem;
  }
}

.share-btn {
  padding: 0.45rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 0, 0.25);
  background: rgba(255, 215, 0, 0.06);
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.share-btn:hover {
  background: rgba(255, 215, 0, 0.14);
  color: var(--gold);
}

/* ——— Breadcrumbs ——— */
.breadcrumbs {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
}

.breadcrumbs--below-hero {
  padding-top: 0;
}

.breadcrumbs--inner {
  padding-top: 96px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--gray);
  opacity: 0.6;
}

.breadcrumbs a {
  color: var(--gold);
}

.breadcrumbs [aria-current="page"] {
  color: var(--gray);
}

/* ——— Inner page header ——— */
.page-header {
  text-align: center;
  padding: 0 1.5rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.page-header h1 {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  margin: 0 0 1rem;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--white), var(--gray-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  color: var(--gray);
  font-size: 1.05rem;
  margin: 0;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.content-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem 80px;
}

.content-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 2.25rem 0 1rem;
  color: var(--gold);
}

.content-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 1.75rem 0 0.65rem;
  color: var(--white);
}

.content-section p,
.content-section li {
  color: var(--gray-light);
  line-height: 1.85;
}

.content-section p {
  margin: 0 0 1rem;
}

.content-section ul,
.content-section ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.content-section li {
  margin-bottom: 0.45rem;
}

.content-section a {
  color: var(--gold);
}

.content-section a:hover {
  text-decoration: underline;
}

.content-section strong {
  color: var(--white);
}

/* ——— Footer ——— */
.footer {
  background: linear-gradient(180deg, var(--black), #050505);
  border-top: 1px solid rgba(255, 215, 0, 0.1);
  padding: 60px 1.5rem 28px;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  color: var(--gold);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.55rem;
}

.footer-col ul a {
  color: var(--gray);
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--gold);
  padding-left: 3px;
}

.footer-col .nav-logo {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-col > p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
  max-width: 36ch;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer-bottom p {
  color: var(--gray);
  font-size: 0.82rem;
  margin: 0;
}

.text-center {
  text-align: center;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  animation: fadeInUp 0.7s ease both;
}

.hero-content .hero-badge {
  animation-delay: 0.05s;
}

.hero-content h1 {
  animation-delay: 0.1s;
}

.hero-content .hero-subtitle {
  animation-delay: 0.15s;
}

.hero-content .hero-buttons {
  animation-delay: 0.2s;
}

/* ——— Mobile ——— */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem 1.5rem;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a.nav-cta {
    display: block;
    text-align: center;
    width: 100%;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }

  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }

  .hero {
    min-height: auto;
    padding: 110px 1.25rem 56px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .section {
    padding: 56px 1.25rem;
  }

  .features-grid,
  .steps-container,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
