/* OceanArcade — core styles */
:root {
  --oph-bg-deep: #0a1628;
  --oph-bg-mid: #0f2744;
  --oph-surface: #132f4d;
  --oph-card: #1a3d5c;
  --oph-teal: #14b8a6;
  --oph-teal-dim: #0d9488;
  --oph-blue: #0e7fa8;
  --oph-sky: #38bdf8;
  --oph-text: #e8f4fc;
  --oph-muted: #94a3b8;
  --oph-slate: #94a3b8;
  --oph-border: rgba(20, 184, 166, 0.25);
  --oph-glow: rgba(56, 189, 248, 0.15);
  --oph-font-display: "Sora", system-ui, sans-serif;
  --oph-font-body: "Source Sans 3", system-ui, sans-serif;
  --oph-radius: 14px;
  --oph-max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--oph-font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--oph-text);
  background: var(--oph-bg-deep);
  min-height: 100vh;
}

a {
  color: var(--oph-sky);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--oph-teal);
}

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

/* Top bar */
.oph-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.97), rgba(15, 39, 68, 0.95));
  border-bottom: 1px solid var(--oph-border);
  backdrop-filter: blur(10px);
}

.oph-topbar__inner {
  max-width: var(--oph-max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.oph-topbar__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--oph-font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--oph-text);
  text-decoration: none;
}

.oph-topbar__brand svg {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.oph-topbar__toggle {
  display: none;
  background: var(--oph-card);
  border: 1px solid var(--oph-border);
  color: var(--oph-text);
  padding: 0.45rem 0.75rem;
  border-radius: 8px;
  font-size: 1.25rem;
  cursor: pointer;
}

.oph-topbar__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
}

.oph-topbar__links a {
  color: var(--oph-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.oph-topbar__links a:hover,
.oph-topbar__links a[aria-current="page"] {
  color: var(--oph-teal);
}

.oph-topbar__age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: 0.2rem 0.5rem;
  background: linear-gradient(135deg, #b45309, #d97706);
  color: #fff;
  font-family: var(--oph-font-display);
  font-weight: 800;
  font-size: 0.8rem;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .oph-topbar__toggle {
    display: block;
  }

  .oph-topbar__links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--oph-bg-mid);
    border-bottom: 1px solid var(--oph-border);
    gap: 0.5rem;
  }

  .oph-topbar__links.is-open {
    display: flex;
  }

  .oph-topbar__links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.35rem 0;
  }
}

/* Hero */
.oph-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 8vw, 5.5rem) 1.25rem 6rem;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(14, 127, 168, 0.35), transparent),
    linear-gradient(180deg, var(--oph-bg-mid), var(--oph-bg-deep));
}

.oph-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--oph-max);
  margin: 0 auto;
  text-align: center;
}

.oph-hero__badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oph-teal);
  margin-bottom: 1rem;
}

.oph-hero__title {
  font-family: var(--oph-font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 5vw, 2.85rem);
  line-height: 1.15;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.oph-hero__sub {
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  color: var(--oph-muted);
  font-size: 1.1rem;
}

.oph-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  background: linear-gradient(135deg, var(--oph-teal), var(--oph-blue));
  color: #fff;
  font-family: var(--oph-font-display);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(20, 184, 166, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.oph-hero__cta:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(20, 184, 166, 0.45);
}

.oph-hero__waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  pointer-events: none;
}

.oph-hero__wave {
  position: absolute;
  bottom: 0;
  left: -5%;
  width: 110%;
  height: 60px;
  background: linear-gradient(90deg, transparent, var(--oph-glow), transparent);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  opacity: 0.5;
  animation: oph-wave 8s ease-in-out infinite;
}

.oph-hero__wave--1 {
  background: rgba(20, 184, 166, 0.12);
  height: 45px;
  animation-delay: 0s;
}

.oph-hero__wave--2 {
  background: rgba(14, 127, 168, 0.15);
  height: 70px;
  bottom: -10px;
  animation-delay: -2s;
}

.oph-hero__wave--3 {
  background: rgba(56, 189, 248, 0.08);
  height: 95px;
  bottom: -25px;
  animation-delay: -4s;
}

@keyframes oph-wave {
  0%,
  100% {
    transform: translateX(0) scaleY(1);
  }
  50% {
    transform: translateX(2%) scaleY(1.05);
  }
}

/* Sections */
.oph-section {
  padding: clamp(3rem, 6vw, 4.5rem) 1.25rem;
  background: var(--oph-bg-deep);
}

.oph-section--alt {
  background: linear-gradient(180deg, var(--oph-bg-mid), var(--oph-bg-deep));
}

.oph-section__inner {
  max-width: var(--oph-max);
  margin: 0 auto;
}

.oph-section__title {
  font-family: var(--oph-font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
  text-align: center;
}

.oph-section__lead {
  text-align: center;
  color: var(--oph-muted);
  max-width: 40rem;
  margin: 0 auto 2.5rem;
}

/* Trident grid */
.oph-trident {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .oph-trident {
    grid-template-columns: 1fr;
  }
}

.oph-trident__prong {
  background: var(--oph-card);
  border: 1px solid var(--oph-border);
  border-radius: var(--oph-radius);
  padding: 1.5rem 1.35rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.oph-trident__prong--link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.oph-trident__prong--link:hover {
  border-color: var(--oph-teal);
  box-shadow: 0 0 0 1px var(--oph-teal), 0 16px 48px rgba(0, 0, 0, 0.25);
}

.oph-trident__icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.oph-trident__heading {
  font-family: var(--oph-font-display);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.oph-trident__text {
  margin: 0;
  color: var(--oph-muted);
  font-size: 0.98rem;
}

/* Buttons */
.oph-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  font-family: var(--oph-font-display);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--oph-teal), var(--oph-blue));
  color: #fff;
  text-decoration: none;
}

.oph-btn:hover {
  color: #fff;
  filter: brightness(1.08);
}

.oph-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.oph-btn--outline {
  background: transparent;
  border: 2px solid var(--oph-teal);
  color: var(--oph-teal);
}

.oph-trident__prong--link:hover .oph-btn--outline {
  background: rgba(20, 184, 166, 0.12);
}

/* Tide stats */
.oph-tide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .oph-tide {
    grid-template-columns: repeat(2, 1fr);
  }
}

.oph-tide__card {
  background: var(--oph-card);
  border: 1px solid var(--oph-border);
  border-radius: var(--oph-radius);
  padding: 1.5rem 1rem;
  text-align: center;
}

.oph-tide__num {
  font-family: var(--oph-font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--oph-teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.oph-tide__label {
  font-size: 0.9rem;
  color: var(--oph-muted);
}

/* Depth two-column */
.oph-depth {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .oph-depth {
    grid-template-columns: 1fr;
  }
}

.oph-depth__sidebar {
  background: var(--oph-card);
  border: 1px solid var(--oph-border);
  border-radius: var(--oph-radius);
  padding: 1.5rem;
}

.oph-depth__sidebar h3,
.oph-depth__main h3 {
  font-family: var(--oph-font-display);
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}

.oph-depth__sidebar p,
.oph-depth__main p {
  margin: 0 0 1.25rem;
  color: var(--oph-muted);
}

.oph-depth__main p:last-child {
  margin-bottom: 0;
}

/* Reef tiles */
.oph-reef {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (max-width: 640px) {
  .oph-reef {
    grid-template-columns: 1fr;
  }
}

.oph-reef__tile {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--oph-card);
  border: 1px solid var(--oph-border);
  border-radius: var(--oph-radius);
  padding: 1.15rem 1.25rem;
}

.oph-reef__tile-icon {
  font-size: 1.75rem;
  line-height: 1;
  flex-shrink: 0;
}

.oph-reef__tile-body h4 {
  font-family: var(--oph-font-display);
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.oph-reef__tile-body p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--oph-muted);
}

/* FAQ */
.oph-current {
  max-width: 720px;
  margin: 0 auto;
}

.oph-current__item {
  border-bottom: 1px solid var(--oph-border);
  padding: 1.15rem 0;
}

.oph-current__item:first-child {
  padding-top: 0;
}

.oph-current__q {
  font-family: var(--oph-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.oph-current__a {
  color: var(--oph-muted);
  font-size: 0.98rem;
}

/* Lighthouse aside — high-visibility support strip */
.oph-lighthouse {
  background: linear-gradient(160deg, #143252 0%, #0c4a4a 45%, var(--oph-bg-mid) 100%);
  border-top: 3px solid var(--oph-teal);
  border-bottom: 1px solid rgba(20, 184, 166, 0.45);
  padding: clamp(2.75rem, 6vw, 4rem) 1.25rem;
  box-shadow: 0 -16px 48px rgba(20, 184, 166, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.oph-lighthouse__inner {
  max-width: var(--oph-max);
  margin: 0 auto;
  text-align: center;
  background: rgba(7, 15, 26, 0.72);
  border: 1px solid rgba(20, 184, 166, 0.45);
  border-radius: calc(var(--oph-radius) + 4px);
  padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.25rem, 4vw, 2rem);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(56, 189, 248, 0.08);
}

.oph-lighthouse__title {
  font-family: var(--oph-font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  margin: 0 0 0.85rem;
  color: var(--oph-text);
  letter-spacing: -0.02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.oph-lighthouse__text {
  color: #cbd5e1;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.55;
  max-width: 38rem;
  margin: 0 auto 1.5rem;
}

.oph-lighthouse__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 0.75rem;
}

.oph-lighthouse__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ecfeff;
  font-weight: 700;
  font-size: clamp(0.88rem, 2vw, 0.98rem);
  text-decoration: none;
  padding: 0.55rem 1rem;
  background: rgba(20, 184, 166, 0.28);
  border: 1px solid rgba(45, 212, 191, 0.55);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: background 0.2s, border-color 0.2s, transform 0.15s, color 0.2s;
}

.oph-lighthouse__link:hover {
  color: #fff;
  background: rgba(20, 184, 166, 0.42);
  border-color: var(--oph-teal);
  transform: translateY(-1px);
  text-decoration: none;
}

.oph-lighthouse__link:focus-visible {
  outline: 2px solid var(--oph-sky);
  outline-offset: 3px;
}

/* Footer */
.oph-footer {
  background: #070f1a;
  padding: 2.5rem 1.25rem 0;
  border-top: 1px solid var(--oph-border);
}

.oph-footer__grid {
  max-width: var(--oph-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 900px) {
  .oph-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .oph-footer__grid {
    grid-template-columns: 1fr;
  }
}

.oph-footer__heading {
  font-family: var(--oph-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.75rem;
  color: var(--oph-teal);
}

.oph-footer__col p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--oph-muted);
  line-height: 1.55;
}

.oph-footer__col a {
  display: block;
  color: var(--oph-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.2rem 0;
}

.oph-footer__col a:hover {
  color: var(--oph-teal);
}

.oph-footer__bar {
  max-width: var(--oph-max);
  margin: 2rem auto 0;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--oph-muted);
}

/* Inner page shell */
.oph-page {
  padding: 2rem 1.25rem 3rem;
  max-width: 46rem;
  margin: 0 auto;
}

.oph-page__title {
  font-family: var(--oph-font-display);
  font-weight: 800;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  margin: 0 0 1rem;
}

.oph-page__lead {
  color: var(--oph-muted);
  margin: 0 0 1.5rem;
}

.oph-page h2 {
  font-family: var(--oph-font-display);
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

.oph-page p,
.oph-page li {
  color: var(--oph-muted);
}

.oph-page ul {
  padding-left: 1.25rem;
}

/* Contact / editorial layout */
.oph-page-hero {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 3.75rem) 1.25rem 1.75rem;
  background: linear-gradient(180deg, var(--oph-bg-mid), var(--oph-bg-deep));
  border-bottom: 1px solid var(--oph-border);
}

.oph-page-hero h1.oph-prose {
  font-family: var(--oph-font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  margin: 0 auto;
  max-width: 42rem;
  color: var(--oph-text);
}

.oph-section .oph-prose {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  overflow-x: auto;
}

.oph-section .oph-prose.oph-prose--wide {
  max-width: 51.25rem;
}

.oph-section .oph-prose.oph-prose--mid {
  max-width: 47.5rem;
}

.oph-section .oph-prose.oph-prose--slots-desc {
  max-width: 43.75rem;
}

.oph-section__inner--slots-board {
  max-width: 520px;
  margin: 0 auto;
}

.oph-prose h2 {
  font-family: var(--oph-font-display);
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
  color: var(--oph-text);
}

.oph-prose h2:first-child {
  margin-top: 0;
}

.oph-prose h3 {
  font-family: var(--oph-font-display);
  font-size: 1.08rem;
  font-weight: 700;
  margin: 1.35rem 0 0.5rem;
  color: var(--oph-sky);
}

.oph-topbar__age-inline {
  display: inline-block;
  vertical-align: 0.15em;
  margin-left: 0.4rem;
  font-family: var(--oph-font-display);
  font-size: 0.42em;
  font-weight: 800;
  line-height: 1;
  padding: 0.2rem 0.45rem;
  background: linear-gradient(135deg, #b45309, #d97706);
  color: #fff;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.oph-prose p,
.oph-prose li {
  color: var(--oph-muted);
}

.oph-prose ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.oph-prose ol {
  padding-left: 1.35rem;
  margin: 0 0 1rem;
}

.oph-prose ol li {
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.oph-prose ol li:last-child {
  margin-bottom: 0;
}

.oph-prose table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--oph-border);
  border-radius: var(--oph-radius);
  overflow: hidden;
}

.oph-prose th,
.oph-prose td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--oph-border);
}

.oph-prose thead th {
  font-family: var(--oph-font-display);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--oph-text);
  background: var(--oph-card);
}

.oph-prose tbody tr:last-child td {
  border-bottom: none;
}

.oph-prose tbody tr:nth-child(even) td {
  background: rgba(26, 61, 92, 0.35);
}

.oph-prose code {
  font-size: 0.88em;
  padding: 0.12rem 0.35rem;
  background: var(--oph-bg-deep);
  border: 1px solid var(--oph-border);
  border-radius: 4px;
  color: var(--oph-teal);
}

.oph-prose em {
  color: var(--oph-muted);
  font-size: 0.95rem;
}

.oph-info-box {
  background: var(--oph-card);
  border: 1px solid var(--oph-border);
  border-radius: var(--oph-radius);
  padding: 1.25rem 1.35rem;
  margin: 1rem 0 1.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.oph-info-box p {
  margin: 0 0 0.75rem;
  color: var(--oph-muted);
}

.oph-info-box p:last-child {
  margin-bottom: 0;
}

.oph-info-box strong {
  color: var(--oph-text);
}

.oph-info-box h3 {
  font-family: var(--oph-font-display);
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: var(--oph-teal);
}

.oph-warn-box {
  background: rgba(180, 83, 9, 0.14);
  border: 1px solid rgba(217, 119, 6, 0.5);
  border-radius: var(--oph-radius);
  padding: 1rem 1.2rem;
  margin: 1.25rem 0 1.5rem;
  color: #e2e8f0;
  font-size: 0.98rem;
  line-height: 1.55;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.oph-warn-box strong {
  color: #fcd34d;
}

/* Game shell */
.oph-game {
  max-width: 520px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.oph-game__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.oph-game__title {
  font-family: var(--oph-font-display);
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0 0 0.35rem;
}

.oph-game__meta {
  color: var(--oph-muted);
  font-size: 0.9rem;
  margin: 0;
}

.oph-game__panel {
  background: var(--oph-card);
  border: 1px solid var(--oph-border);
  border-radius: var(--oph-radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.oph-game__status {
  text-align: center;
  min-height: 1.5rem;
  font-weight: 600;
  color: var(--oph-teal);
  margin-bottom: 1rem;
}

.oph-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--oph-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.oph-back:hover {
  color: var(--oph-teal);
}

/* Slots */
.oph-slots__reels {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.oph-slots__reel {
  width: 5rem;
  height: 5.5rem;
  background: var(--oph-bg-deep);
  border: 2px solid var(--oph-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  line-height: 1;
  overflow: hidden;
}

.oph-slots__reel.spinning {
  animation: oph-slot-shake 0.12s infinite;
}

@keyframes oph-slot-shake {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

.oph-slots__coins {
  text-align: center;
  font-family: var(--oph-font-display);
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 1rem;
}

.oph-slots__actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.oph-game-board {
  background: var(--oph-card);
  border: 1px solid var(--oph-border);
  border-radius: var(--oph-radius);
  padding: 1.5rem 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.oph-slots__display {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.oph-slots__display .oph-slots__reel span {
  display: block;
  line-height: 1;
}

.oph-slots__info {
  text-align: center;
  margin-bottom: 1.15rem;
}

.oph-slots__info .oph-slots__coins {
  margin-bottom: 0.35rem;
  font-size: 1.1rem;
}

.oph-slots__result {
  min-height: 1.5rem;
  font-weight: 600;
  color: var(--oph-teal);
  font-size: 0.98rem;
}

.oph-slots__spin {
  width: 100%;
  margin-top: 0.25rem;
  padding: 0.85rem 1.25rem;
  font-size: 1.05rem;
}

.oph-slots__legal {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--oph-muted);
  line-height: 1.45;
}

.oph-btn--primary {
  background: linear-gradient(135deg, var(--oph-teal), var(--oph-blue));
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.35);
}

.oph-btn--primary:hover:not(:disabled) {
  filter: brightness(1.06);
  color: #fff;
}

/* Wheel */
.oph-wheel-wrap {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  margin: 0 auto 1.25rem;
}

.oph-wheel-pointer {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 22px solid var(--oph-teal);
  z-index: 3;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.oph-wheel {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px solid var(--oph-teal);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
}

.oph-section__inner--wheel {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.oph-wheel-game {
  position: relative;
  display: inline-block;
  max-width: 100%;
  vertical-align: top;
}

.oph-wheel-game .oph-wheel__pointer {
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--oph-teal);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.75);
  pointer-events: none;
}

.oph-wheel-game canvas {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 50%;
  border: 4px solid var(--oph-teal);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

/* Memory */
.oph-memory__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  max-width: 360px;
  margin: 0 auto 1rem;
}

.oph-memory__card {
  aspect-ratio: 1;
  border-radius: 10px;
  border: 2px solid var(--oph-border);
  background: linear-gradient(145deg, var(--oph-blue), var(--oph-bg-mid));
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  transition: transform 0.2s, border-color 0.2s;
  user-select: none;
}

.oph-memory__card:hover:not(.matched):not(.flipped) {
  border-color: var(--oph-teal);
}

.oph-memory__card.flipped,
.oph-memory__card.matched {
  background: var(--oph-card);
  border-color: var(--oph-teal);
}

.oph-memory__card.matched {
  opacity: 0.85;
  cursor: default;
}

.oph-memory__inner {
  line-height: 1;
}

.oph-memory__card:not(.flipped):not(.matched) .oph-memory__symbol {
  visibility: hidden;
}

.oph-memory__stats {
  text-align: center;
  color: var(--oph-muted);
  font-size: 0.95rem;
}
