@import url('https://fonts.googleapis.com/css2?family=Darumadrop+One&family=Zen+Kaku+Gothic+New:wght@300;400;500;700&display=swap');

:root {
  --royal:        #5B1A9A;
  --royal-light:  #7C28D4;
  --royal-deep:   #3A1070;
  --sapphire:     #162C6E;
  --sapphire-light:#2D6ACC;
  --sapphire-deep: #0f1d4a;
  --gold:         #E8B020;
  --gold-soft:    #F5D878;
  --cream:        #EDE6FF;
  --parchment:    #E2D6FF;
  --ink:          #160830;
  --muted:        #5A4A80;
  --surface:      #F5EFFF;
  --surface2:     #E8DEFF;

  --font-display: 'Darumadrop One', cursive;
  --font-body:    'Zen Kaku Gothic New', sans-serif;

  --shadow-soft: 0 4px 24px rgba(107, 33, 168, 0.12);
  --shadow-card: 0 8px 40px rgba(107, 33, 168, 0.18);
  --shadow-glow: 0 0 40px rgba(147, 51, 234, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── BACKGROUND TEXTURE ───────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(107,33,168,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 100%, rgba(30,58,138,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(147,51,234,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── NAVIGATION ───────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 245, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(107, 33, 168, 0.15);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--royal);
  text-decoration: none;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo .paw {
  font-size: 1.3rem;
  display: inline-block;
  animation: pawbounce 3s ease-in-out infinite;
}

@keyframes pawbounce {
  0%, 100% { transform: rotate(-5deg); }
  50% { transform: rotate(8deg) scale(1.1); }
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--royal);
  background: rgba(107, 33, 168, 0.08);
}

/* ── MAIN CONTENT ─────────────────────────────── */
main {
  position: relative;
  z-index: 1;
}

/* ── HERO ─────────────────────────────────────── */
.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem 6rem;
  position: relative;
}

.hero-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  animation: float 8s ease-in-out infinite;
}

.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #9333EA, transparent);
  top: -100px; left: -150px;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #3B82F6, transparent);
  bottom: -50px; right: -100px;
  animation-delay: -3s;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, #F0C040, transparent);
  top: 40%; left: 60%;
  opacity: 0.15;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 15px) scale(0.97); }
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--royal-light);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeup 0.8s 0.2s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  color: var(--royal);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeup 0.8s 0.4s forwards;
  text-shadow: 0 4px 24px rgba(107,33,168,0.2);
}

.hero-title span {
  color: var(--sapphire);
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeup 0.8s 0.6s forwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeup 0.8s 0.8s forwards;
}

@keyframes fadeup {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── BUTTONS ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--royal), var(--sapphire));
  color: white;
  box-shadow: 0 4px 20px rgba(107, 33, 168, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(107, 33, 168, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--royal);
  border: 2px solid rgba(107, 33, 168, 0.3);
}

.btn-outline:hover {
  background: rgba(107, 33, 168, 0.06);
  border-color: var(--royal);
  transform: translateY(-2px);
}

/* ── SECTIONS ─────────────────────────────────── */
section {
  padding: 5rem 2rem;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--royal-light);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--royal-deep);
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── CARDS ────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--surface);
  border: 1px solid rgba(107, 33, 168, 0.12);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow-soft);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: rgba(107, 33, 168, 0.3);
}

.card-cover {
  width: 100%;
  aspect-ratio: 2/3;
  background: linear-gradient(135deg, var(--royal-deep), var(--sapphire-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.card-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(147,51,234,0.4), transparent 60%);
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.25rem;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--royal-deep);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--parchment);
  color: var(--royal);
}

.card-platforms {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.platform-link {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s;
  border: 1.5px solid;
}

.platform-rr   { color: #f59e0b; border-color: #f59e0b; }
.platform-sh   { color: #7c3aed; border-color: #7c3aed; }
.platform-wp   { color: #f97316; border-color: #f97316; }
.platform-link:hover { opacity: 0.75; transform: scale(1.05); }

/* ── GAME CARD ────────────────────────────────── */
.game-card {
  background: linear-gradient(135deg, var(--royal-deep) 0%, var(--sapphire-deep) 100%);
  border-radius: 24px;
  padding: 3rem;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(147,51,234,0.3), transparent 50%);
  pointer-events: none;
}

.game-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(240, 192, 64, 0.2);
  color: var(--gold);
  border: 1px solid rgba(240, 192, 64, 0.4);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.game-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 3rem);
  color: white;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.game-tagline {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.game-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.game-meta-item {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.game-meta-item strong {
  color: rgba(255,255,255,0.9);
}

.game-art-placeholder {
  aspect-ratio: 1;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px dashed rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.game-art-placeholder .art-icon {
  font-size: 3rem;
  opacity: 0.4;
}

/* ── ABOUT SECTION ────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: center;
}

.about-emblem {
  aspect-ratio: 1;
  max-width: 320px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--royal-deep), var(--sapphire-deep));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 5rem;
  color: rgba(255,255,255,0.15);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.about-emblem::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 40% 30%, rgba(147,51,234,0.5), transparent 60%);
}

.about-emblem-text {
  position: relative;
  z-index: 1;
  font-size: 4rem;
}

.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--royal-deep);
  margin-bottom: 0.5rem;
}

.about-content .studio-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--royal-light);
  margin-bottom: 1.5rem;
}

.about-content p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-pillars {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pillar {
  background: var(--parchment);
  border: 1px solid rgba(107,33,168,0.15);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.pillar-icon { font-size: 1.5rem; margin-bottom: 0.25rem; }
.pillar-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--royal);
}

/* ── DIVIDER ──────────────────────────────────── */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107,33,168,0.2), transparent);
  margin: 0 auto;
}

/* ── FOOTER ───────────────────────────────────── */
footer {
  background: var(--royal-deep);
  color: rgba(255,255,255,0.6);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(147,51,234,0.2), transparent 60%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.9); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .game-card { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-emblem { max-width: 200px; }
}
