/* Inner Orc — marketing site (modeled after the Bit Battler site) */

:root {
  /* Inner Orc: orc green, with Gunblade indigo as a secondary wash */
  --accent-green: #8ad14f;
  --accent-green-deep: #4c9a2a;
  --accent-indigo: #4e4dd0;
  --bg: #0a0b08;
  --bg-elevated: #14160f;
  --border: rgba(255, 255, 255, 0.08);
  --text: #ebeee4;
  --text-muted: #969c87;
  --accent: var(--accent-green);
  --accent-dim: rgba(138, 209, 79, 0.1);
  --wash-green: rgba(138, 209, 79, 0.14);
  --wash-indigo: rgba(78, 77, 208, 0.08);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 12px;
  --max: 640px;
  --max-wide: 760px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, var(--wash-green), transparent 52%),
    radial-gradient(ellipse 90% 55% at 85% -5%, var(--wash-indigo), transparent 50%),
    linear-gradient(180deg, transparent 0%, var(--bg) 40%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.015) 2px,
      rgba(255, 255, 255, 0.015) 4px
    );
}

a {
  color: var(--accent);
  text-decoration: none;
  text-underline-offset: 0.2em;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.wrap--wide {
  width: min(100% - 2rem, var(--max-wide));
}

/* Header */
.site-header {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
}

.site-title:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9375rem;
}

.nav-links a {
  color: var(--text-muted);
}

.nav-links a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Hero */
.hero {
  padding: clamp(3rem, 10vw, 5rem) 0 clamp(3rem, 9vw, 4.5rem);
  text-align: center;
}

.hero__badge {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(138, 209, 79, 0.22);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 2.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0 auto 2rem;
  max-width: 34ch;
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* Apple Watch renders (transparent PNGs — shadow follows the hardware) */
.device {
  margin: 0 auto 1.75rem;
  max-width: min(280px, 78vw);
}

.device img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.55))
    drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4));
}

/* Coming soon CTA */
.coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 auto 2rem;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid rgba(138, 209, 79, 0.3);
  border-radius: 999px;
}

.coming-soon::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.hero__credit {
  margin: 0 auto;
  max-width: 36ch;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* How it works */
.section {
  padding: clamp(2.5rem, 8vw, 4rem) 0;
  border-top: 1px solid var(--border);
}

.section__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: center;
}

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

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

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

.feature {
  padding: 1.5rem 1.35rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.feature__icon {
  font-size: 1.5rem;
  line-height: 1;
}

.feature h3 {
  margin: 0.85rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}

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

/* Screenshots carousel */
.carousel {
  position: relative;
  max-width: 380px;
  margin-inline: auto;
}

.carousel__viewport {
  overflow: hidden;
}

.carousel__track {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.45s ease;
}

.carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
}

.carousel__slide figure {
  margin: 0;
  padding: 0.5rem 0 0;
  text-align: center;
}

.carousel__slide img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.5));
}

.carousel__slide figcaption {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Prev / next controls */
.carousel__btn {
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text);
  background: rgba(20, 22, 15, 0.72);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.carousel__btn:hover {
  color: var(--accent);
  border-color: rgba(138, 209, 79, 0.4);
  background: rgba(20, 22, 15, 0.92);
}

.carousel__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.carousel__btn--prev {
  left: -0.5rem;
}

.carousel__btn--next {
  right: -0.5rem;
}

/* Dot indicators */
.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.carousel__dot {
  width: 0.625rem;
  height: 0.625rem;
  padding: 0;
  border: 1px solid rgba(138, 209, 79, 0.45);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.carousel__dot:hover {
  border-color: var(--accent);
}

.carousel__dot[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
}

.carousel__dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .carousel__track {
    transition: none;
  }
}

/* Contact panel */
.contact {
  text-align: center;
}

.hero__panel {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1.75rem;
  text-align: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

.hero__panel-label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero__panel a {
  font-weight: 600;
  word-break: break-all;
}

/* Footer */
.site-footer {
  margin-top: auto;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

.site-footer__brand {
  margin: 0 0 1.25rem;
  line-height: 0;
}

.site-footer__gi {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.site-footer__gi:hover {
  text-decoration: none;
}

.site-footer__gi img {
  height: 2.25rem;
  width: auto;
  display: block;
  opacity: 0.95;
}

.site-footer__gi:hover img {
  opacity: 1;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer__credit {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  opacity: 0.85;
}

/* Layout shell */
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Legal / privacy */
.legal {
  padding: 2.5rem 0 4rem;
}

.legal__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal__meta {
  margin: 0 0 2rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal article h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.legal article h2:first-of-type {
  margin-top: 0;
}

.legal article p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.legal article p:last-child {
  margin-bottom: 0;
}

.legal article ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.legal article li {
  margin-bottom: 0.5rem;
}

.legal article strong {
  color: var(--text);
}
