/* ── Dog Eat Fly — Watercolor showcase theme ── */

:root {
  --sky-blue: #6AC8F8;
  --sky-light: #A8E8FF;
  --sky-deep: #3A98D8;
  --pink-soft: #FFB8D0;
  --pink-mid: #F8A0C0;
  --pink-deep: #E878A8;
  --yellow-warm: #FFE878;
  --yellow-soft: #FFF4BD;
  --yellow-deep: #F0C848;
  --cream: #FFFEF8;
  --ink: #2A2838;
  --ink-soft: #4A4860;
  --white: #FFFFFF;
  --shadow: rgba(42, 40, 56, 0.12);
  --shadow-strong: rgba(42, 40, 56, 0.22);
  --radius: 20px;
  --radius-sm: 12px;
  --font-pixel: "Press Start 2P", monospace;
  --font-body: "Nunito", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--sky-deep);
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

a:hover {
  color: var(--pink-deep);
}

/* ── Watercolor background ── */

.watercolor-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 15% 10%, rgba(168, 232, 255, 0.9) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(255, 184, 208, 0.75) 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 50% 55%, rgba(255, 232, 120, 0.6) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(248, 160, 192, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse 50% 40% at 80% 85%, rgba(106, 200, 248, 0.45) 0%, transparent 50%),
    linear-gradient(180deg, var(--sky-light) 0%, var(--pink-soft) 45%, var(--yellow-soft) 100%);
}

.paper-texture {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* ── Navigation ── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 4vw;
  background: rgba(255, 254, 248, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 20px var(--shadow);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--ink);
  line-height: 1.4;
}

.nav-logo img {
  border-radius: 10px;
  image-rendering: pixelated;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.nav-links a:hover {
  color: var(--sky-deep);
}

.nav-cta {
  background: linear-gradient(135deg, var(--sky-blue), var(--pink-mid));
  color: var(--white) !important;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(106, 200, 248, 0.4);
}

.nav-cta:hover {
  opacity: 0.9;
  color: var(--white) !important;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--sky-deep), var(--pink-deep));
  color: var(--white);
  box-shadow: 0 6px 24px rgba(58, 152, 216, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  border: 2px solid rgba(106, 200, 248, 0.5);
  backdrop-filter: blur(4px);
}

.btn-full {
  width: 100%;
}

/* ── Hero ── */

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  min-height: calc(100vh - 64px);
  padding: 3rem 4vw 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  letter-spacing: 0.05em;
  color: var(--pink-deep);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  border: 2px solid var(--pink-soft);
}

.hero-title-img {
  width: min(420px, 90%);
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 12px var(--shadow-strong));
}

.hero-tagline {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-icon-frame {
  position: relative;
  z-index: 2;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 28px;
  box-shadow:
    0 20px 60px var(--shadow-strong),
    inset 0 0 0 3px rgba(255, 255, 255, 0.8);
  animation: float 4s ease-in-out infinite;
}

.hero-icon {
  width: min(280px, 70vw);
  border-radius: 22px;
  image-rendering: auto;
}

.hero-splash {
  position: absolute;
  right: -5%;
  bottom: -8%;
  width: min(320px, 55vw);
  opacity: 0.18;
  z-index: 1;
  pointer-events: none;
}

.pixel-art {
  image-rendering: pixelated;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ── Sections ── */

.section {
  padding: 5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}

.section-title {
  font-family: var(--font-pixel);
  font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  text-align: center;
  margin-bottom: 0.75rem;
  color: var(--ink);
  line-height: 1.6;
}

.section-subtitle {
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

/* ── About ── */

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.about-text p {
  font-size: 1.08rem;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.about-text strong {
  color: var(--sky-deep);
}

.about-pills {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-pills li {
  background: rgba(255, 255, 255, 0.65);
  border: 2px solid rgba(106, 200, 248, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  box-shadow: 0 4px 16px var(--shadow);
}

/* ── Steps ── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
  counter-reset: steps;
}

.step {
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: 0 8px 32px var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.25s;
}

.step:hover {
  transform: translateY(-4px);
}

.step-num {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--pink-deep);
  display: block;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.step p {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ── Features ── */

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

.feature-card {
  background: rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: 0 6px 24px var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.85);
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px var(--shadow-strong);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ── Game cards showcase ── */

.cards-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 10px 36px var(--shadow-strong);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: default;
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 48px var(--shadow-strong);
}

.game-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-card-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(to top, rgba(42, 40, 56, 0.82) 0%, rgba(42, 40, 56, 0.2) 55%, transparent 100%);
  color: var(--white);
}

.game-card-category {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 0.25rem;
}

.game-card-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.game-card-content p {
  font-size: 0.82rem;
  opacity: 0.9;
  line-height: 1.4;
  margin-bottom: 0.6rem;
}

.game-card-rarity {
  align-self: flex-start;
  font-family: var(--font-pixel);
  font-size: 0.45rem;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.game-card[data-rarity="common"] .game-card-rarity { color: var(--white); }
.game-card[data-rarity="rare"] .game-card-rarity { color: #4DA6FF; }
.game-card[data-rarity="epic"] .game-card-rarity { color: #D084FF; }
.game-card[data-rarity="special"] .game-card-rarity { color: var(--yellow-warm); }

.cards-note {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 640px;
  margin: 0 auto;
}

/* ── Contact ── */

.contact-container {
  max-width: 860px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-info {
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 8px 32px var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.85);
}

.contact-info p {
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.contact-email {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--sky-deep);
  word-break: break-all;
  margin-bottom: 1.5rem;
}

.contact-studio {
  font-family: var(--font-pixel);
  font-size: 0.5rem;
  color: var(--pink-deep);
  line-height: 1.6;
}

.contact-form {
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 8px 32px var(--shadow);
  border: 2px solid rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-form label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 1rem;
  border: 2px solid rgba(106, 200, 248, 0.35);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sky-blue);
  box-shadow: 0 0 0 3px rgba(106, 200, 248, 0.25);
}

.form-note {
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 0.25rem;
}

/* ── Footer ── */

.footer {
  padding: 2rem 0;
  background: rgba(42, 40, 56, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.5);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-pixel);
  font-size: 0.45rem;
  color: var(--ink);
}

.footer-logo img {
  border-radius: 8px;
}

.footer-link {
  font-weight: 700;
}

/* ── Scroll reveal ── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-splash {
    display: none;
  }

  .about-grid,
  .steps,
  .features-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 254, 248, 0.96);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    gap: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
    box-shadow: 0 8px 24px var(--shadow);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 480px) {
  .hero-title-img {
    width: 100%;
  }

  .section {
    padding: 3.5rem 0;
  }

  .cards-showcase {
    grid-template-columns: 1fr 1fr;
  }
}
