/* ── Game page specific styles ── */

.game-page {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ── Game Hero ── */
.game-hero {
  position: relative;
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(232,255,0,.04) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 50%, rgba(255,60,110,.03) 0%, transparent 70%);
}

.game-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.game-studio {
  font-family: var(--pixel);
  font-size: .5rem;
  color: var(--accent2);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.game-hero-text h1 {
  font-family: var(--pixel);
  font-size: clamp(1rem, 3vw, 1.6rem);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.game-hero-text h1 span {
  color: var(--accent);
  display: block;
}

.game-tagline {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2rem;
  font-weight: 600;
  letter-spacing: .02em;
}

.game-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-play img {
  height: 60px;
  transition: transform .2s, filter .2s;
  filter: drop-shadow(0 0 10px rgba(232,255,0,.2));
}

.cta-play:hover img {
  transform: scale(1.04);
  filter: drop-shadow(0 0 20px rgba(232,255,0,.45));
}

.game-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.meta-tag {
  font-family: var(--pixel);
  font-size: .4rem;
  padding: .3rem .7rem;
  border: 1px solid var(--border);
  color: var(--muted);
  letter-spacing: .05em;
}

/* ── Phone frame + inline nav ── */
.game-hero-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
}

.phone-frame-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-frame {
  position: relative;
  width: clamp(180px, 28vw, 280px);
  border: 3px solid rgba(232,255,0,.25);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(232,255,0,.08),
    0 0 60px rgba(232,255,0,.08),
    inset 0 0 20px rgba(0,0,0,.5);
}

.phone-frame img {
  width: 100%;
  display: block;
  transition: opacity .25s;
}

.screen-nav {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent);
  font-size: .9rem;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: var(--radius);
  flex-shrink: 0;
  transition: background .2s, border-color .2s, transform .15s;
  align-self: center;
}

.screen-nav:hover {
  background: var(--surface2);
  border-color: rgba(232,255,0,.45);
  transform: scale(1.1);
}

.screen-dots {
  display: flex;
  justify-content: center;
  gap: .45rem;
}

.dot {
  width: 7px;
  height: 7px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 0;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  padding: 0;
}

.dot.active {
  background: var(--accent);
  border-color: var(--accent);
}

/* ── Demo ── */
.demo-section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.demo-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: rgba(232,255,0,.04);
  border: 1px solid rgba(232,255,0,.2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.demo-disclaimer svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: .1rem;
}

.demo-disclaimer p {
  flex: 1;
  font-size: .95rem;
  color: var(--muted);
  min-width: 200px;
}

.demo-store-link img {
  height: 108px;
  flex-shrink: 0;
  opacity: .9;
  transition: opacity .2s;
}

.demo-store-link:hover img { opacity: 1; }

.demo-mobile-note {
  font-family: var(--pixel);
  font-size: .45rem;
  color: var(--muted);
  letter-spacing: .08em;
  margin-bottom: 1.5rem;
}

@media (min-width: 769px) {
  .demo-mobile-note { display: none; }
}

.demo-wrap {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.demo-launch-btn {
  position: relative;
  width: 100%;
  aspect-ratio: 600 / 960;
  max-height: 780px;
  border: 2px solid rgba(232,255,0,.25);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  padding: 0;
  display: block;
  transition: border-color .25s;
}

.demo-launch-btn:hover { border-color: rgba(232,255,0,.5); }

.demo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.35) blur(2px);
}

.demo-launch-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 1rem;
  color: var(--text);
}

.demo-launch-inner svg {
  color: var(--accent);
  filter: drop-shadow(0 0 16px rgba(232,255,0,.5));
  transition: transform .2s;
}

.demo-launch-btn:hover .demo-launch-inner svg { transform: scale(1.15); }

.demo-launch-inner span {
  font-family: var(--pixel);
  font-size: .6rem;
  letter-spacing: .1em;
  color: var(--accent);
  text-shadow: 0 0 12px rgba(232,255,0,.4);
}

.demo-iframe {
  width: 100%;
  aspect-ratio: 600 / 960;
  max-height: 780px;
  border: 2px solid rgba(232,255,0,.25);
  border-radius: 8px;
  display: block;
}

/* ── Features ── */
.features-section {
  padding: 4rem 2rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-section .section-title {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  max-width: 1100px;
  margin: 0 auto;
}

.feature-card {
  padding: 1.75rem 1.5rem;
  background: var(--surface);
  border: 1px solid transparent;
  transition: background .2s, border-color .2s;
}

.feature-card:hover {
  background: var(--surface2);
  border-color: var(--border);
}

.feature-icon {
  font-size: 1.75rem;
  margin-bottom: .75rem;
}

.feature-card h3 {
  font-family: var(--pixel);
  font-size: .55rem;
  color: var(--accent);
  margin-bottom: .6rem;
  line-height: 1.6;
  letter-spacing: .05em;
}

.feature-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ── About ── */
.about-section {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.about-inner {
  display: flex;
  gap: 4rem;
  align-items: flex-start;
}

.about-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.about-cta-text {
  font-size: 1.1rem !important;
  color: var(--text) !important;
  font-weight: 700;
}

.big-cta img {
  height: 70px;
  flex-shrink: 0;
  transition: transform .2s, filter .2s;
  filter: drop-shadow(0 0 12px rgba(232,255,0,.2));
}

.big-cta:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 24px rgba(232,255,0,.5));
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .game-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .game-hero-actions { align-items: center; }
  .game-meta { justify-content: center; }

  .game-hero-screen { order: -1; }

  .phone-frame { width: clamp(140px, 45vw, 200px); }

  .about-inner { flex-direction: column; align-items: center; }
}

@media (max-width: 500px) {
  .game-hero { padding: 2.5rem 1rem; }
  .features-section,
  .about-section { padding: 2.5rem 1rem; }
}
