:root {
  --poke-red: #e3350d;
  --poke-red-dark: #b82000;
  --poke-yellow: #ffcb05;
  --poke-blue: #2a75bb;
  --nintendo-charcoal: #2f2f32;
  --paper: #fffdf7;
  --text: #18181a;
  --muted: #565860;
  --line: rgba(30, 30, 36, 0.14);
  --shadow: 0 18px 35px rgba(16, 17, 20, 0.18);
}

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

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background: url("./pokecade-bg.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
}

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

.background-shapes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 999px;
  opacity: 0.26;
}

.shape.one {
  width: 240px;
  height: 240px;
  left: -80px;
  top: 8%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0, #ffffff 36%, #202025 37%, #202025 42%, #f04a2a 43%, #b82000 100%);
}

.shape.two {
  width: 280px;
  height: 280px;
  right: -100px;
  top: 36%;
  background: radial-gradient(circle at 35% 35%, #ffffff 0, #ffffff 34%, #242428 35%, #242428 41%, #ffd84a 42%, #ffcb05 100%);
}

.shape.three {
  width: 170px;
  height: 170px;
  left: 40%;
  bottom: -70px;
  background: radial-gradient(circle at 35% 35%, #ffffff 0, #ffffff 36%, #202025 37%, #202025 42%, #4292dc 43%, #2a75bb 100%);
}

.hero {
  padding: 4.1rem 0 2.6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.kicker {
  margin: 0 0 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--poke-red);
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Trebuchet MS", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  margin-bottom: 1rem;
  color: var(--poke-blue);
}

h2,
h3 {
  color: var(--nintendo-charcoal);
}

.lead {
  margin: 0;
  color: #1f5f99;
  font-size: 1.08rem;
  max-width: 62ch;
}

.ip-card {
  margin-top: 1.4rem;
  background: linear-gradient(160deg, #fff3c6, #ffe082);
  border: 2px solid rgba(47, 47, 50, 0.15);
  border-radius: 14px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.ip-label {
  margin: 0;
  font-size: 0.84rem;
  color: #575962;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.ip-row code {
  font-size: clamp(1.05rem, 3vw, 1.4rem);
  font-weight: 800;
  color: #1a1a1f;
}

button,
.btn {
  font: inherit;
  border: 0;
  border-radius: 11px;
  cursor: pointer;
  text-decoration: none;
  transition: 180ms ease;
}

#copy-ip-btn {
  background: #2a75bb;
  color: #fff;
  padding: 0.52rem 0.9rem;
  font-weight: 700;
}

#copy-ip-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.copy-status {
  margin: 0.35rem 0 0;
  min-height: 1.2em;
  color: #1f2937;
  font-size: 0.9rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.12rem;
  font-weight: 800;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--poke-blue), #1f5f99);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(90deg, var(--poke-red), var(--poke-red-dark));
}

.btn-curseforge {
  color: #fff;
  background: linear-gradient(90deg, #f16436, #d94924);
}

.btn-modrinth {
  color: #fff;
  background: linear-gradient(90deg, #1bd96a, #14b857);
}

.btn-discord {
  color: #fff;
  background: linear-gradient(90deg, #5865f2, #4452e4);
}

.discord-icon {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  margin-right: 0.45rem;
  font-size: 0.75rem;
  font-weight: 800;
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.hero-shot .shot-card {
  min-height: 280px;
  border: none;
  background: transparent;
  border-radius: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0;
  color: #fff;
  box-shadow: none;
}

.hero-logo-image {
  width: min(420px, 90%);
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.28));
}

.shot-title {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.shot-subtitle {
  margin: 0.4rem 0 0;
  color: rgba(255, 255, 255, 0.9);
}

.section {
  padding: 2.4rem 0;
}

.steps .container,
.methods .container,
.screenshots .container,
.support .container {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.section-intro {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.step-grid,
.shot-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: linear-gradient(130deg, var(--poke-yellow), #ffd84a);
  color: #1e1e22;
  font-weight: 800;
}

.step-card h3 {
  margin-top: 0.8rem;
}

.step-card p,
.step-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.method-note {
  font-size: 0.9rem;
  margin-top: 0.8rem;
}

.method-note a {
  color: var(--poke-blue);
  font-weight: 700;
}

.method-picker {
  margin-top: 1.2rem;
}

.method-picker label {
  display: block;
  font-weight: 700;
  color: var(--nintendo-charcoal);
  margin-bottom: 0.45rem;
}

.method-picker select {
  width: min(420px, 100%);
  padding: 0.72rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(42, 117, 187, 0.35);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-weight: 600;
}

.method-directions {
  margin-top: 1rem;
}

.method-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
}

.method-panel h3 {
  margin-bottom: 0.7rem;
}

.method-panel ol {
  margin: 0;
  padding-left: 1.15rem;
}

.method-panel li {
  margin-bottom: 0.5rem;
  color: var(--muted);
}

.method-panel .btn {
  margin-top: 0.65rem;
}

.hidden {
  display: none;
}

.shot-placeholder {
  margin: 0;
  min-height: 180px;
  border-radius: 14px;
  border: 2px dashed rgba(42, 117, 187, 0.35);
  background: linear-gradient(170deg, #fef4cc, #ffffff);
  display: flex;
  align-items: flex-end;
  padding: 0.9rem;
}

.shot-placeholder figcaption {
  color: var(--muted);
  font-size: 0.95rem;
}

.shot-viewer {
  margin-top: 1.2rem;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.real-shot-card {
  padding: 0;
  overflow: hidden;
  display: block;
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-height: 520px;
  border-style: solid;
  border-width: 1px;
  border-color: var(--line);
  background: #fff;
}

.real-shot {
  width: 100%;
  height: 460px;
  object-fit: contain;
  background: #f6f8fb;
  display: block;
}

.real-shot-card figcaption {
  padding: 0.85rem 1rem;
  background: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.support-card {
  background: linear-gradient(140deg, #ffffff, #f8f9ff);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem;
}

.support-card p {
  margin: 0.8rem 0 0;
  color: var(--muted);
}

.support-discord {
  margin-top: 0.9rem;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding: 1rem 0 1.5rem;
  color: #fff4db;
}

@media (max-width: 900px) {
  .hero-grid,
  .step-grid,
  .shot-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.8rem;
  }

  .hero-shot .shot-card {
    min-height: 220px;
  }

  .real-shot-card {
    min-height: 360px;
  }

  .real-shot {
    height: 300px;
  }
}

