/* ─── RESET & VARIABLES ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

:root {
  --bg: #03070f;
  --bg2: #060d1a;
  --bg3: #091529;
  --blue: #00aaff;
  --cyan: #00e5ff;
  --blue2: #0055ee;
  --gold: #ffc400;
  --text: #d6eeff;
  --muted: #5a7ea0;
  --border: rgba(0, 170, 255, 0.22);
  --glow: 0 0 22px rgba(0, 170, 255, 0.35);
  --font-display: "Orbitron", sans-serif;
  --font-body: "Rajdhani", sans-serif;
  --font-mono: "Share Tech Mono", monospace;
  --r: 5px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

/* Subtle grid lines */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 170, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 170, 255, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

/* Scanlines */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.07) 2px,
    rgba(0, 0, 0, 0.07) 4px
  );
  pointer-events: none;
  z-index: 1;
}

section,
.wrapper,
header {
  position: relative;
  z-index: 2;
}

/* ─── LAYOUT HELPERS ─── */
.wrapper {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 6px;
  opacity: 0.85;
}

h2.section-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 28px rgba(0, 170, 255, 0.45);
}

.divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  margin: 12px 0 36px;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--blue);
}

/* ─── HERO ─── */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(60px, 8vh, 100px) 0 clamp(40px, 6vh, 80px);
  background:
    radial-gradient(
      ellipse 80% 55% at 50% 110%,
      rgba(0, 85, 238, 0.14) 0%,
      transparent 68%
    ),
    radial-gradient(
      ellipse 35% 35% at 80% 15%,
      rgba(0, 229, 255, 0.07) 0%,
      transparent 60%
    ),
    var(--bg);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr min(380px, 45%);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 32px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(0, 170, 255, 0.1);
  border: 1px solid rgba(0, 170, 255, 0.3);
  padding: 7px 18px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--cyan);
  margin-bottom: 20px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--cyan);
  animation: blink 1.6s ease-in-out infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}

h1.hero-name {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 900;
  line-height: 0.95;
  color: #fff;
  text-shadow:
    0 0 28px rgba(0, 170, 255, 0.75),
    0 0 60px rgba(0, 170, 255, 0.35);
  margin-bottom: 10px;
}

.hero-handle {
  font-family: var(--font-mono);
  color: var(--blue);
  font-size: clamp(14px, 2vw, 19px);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-tagline {
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 34px;
  max-width: 460px;
  line-height: 1.55;
}

.hero-tagline strong {
  color: var(--cyan);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.28s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue2), var(--blue));
  color: #fff;
  border: 1px solid rgba(0, 170, 255, 0.4);
  box-shadow:
    0 0 18px rgba(0, 102, 255, 0.35),
    0 4px 14px rgba(0, 0, 0, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 28px rgba(0, 170, 255, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(0, 229, 255, 0.38);
}
.btn-secondary:hover {
  background: rgba(0, 229, 255, 0.08);
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.2);
}

/* Hero photo */
.hero-photo-wrap {
  position: relative;
}

.hero-photo-frame {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--blue), var(--cyan), var(--blue2));
  z-index: -1;
  border-radius: calc(var(--r) + 2px);
  animation: glow-border 3s linear infinite;
}
@keyframes glow-border {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}

.hero-photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(3, 7, 15, 0.96) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: var(--r);
  filter: contrast(1.06) saturate(1.08);
}

.corner {
  position: absolute;
  width: 20px;
  height: 20px;
  z-index: 2;
  pointer-events: none;
}
.c-tl {
  top: -1px;
  left: -1px;
  border-top: 3px solid var(--cyan);
  border-left: 3px solid var(--cyan);
}
.c-tr {
  top: -1px;
  right: -1px;
  border-top: 3px solid var(--cyan);
  border-right: 3px solid var(--cyan);
}
.c-bl {
  bottom: -1px;
  left: -1px;
  border-bottom: 3px solid var(--cyan);
  border-left: 3px solid var(--cyan);
}
.c-br {
  bottom: -1px;
  right: -1px;
  border-bottom: 3px solid var(--cyan);
  border-right: 3px solid var(--cyan);
}

.photo-tag {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--cyan);
  letter-spacing: 3px;
  white-space: nowrap;
  text-shadow: 0 0 10px var(--cyan);
}

/* ─── STATS BAR ─── */
#statsbar {
  background: linear-gradient(90deg, var(--bg2), var(--bg3), var(--bg2));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: clamp(18px, 3vh, 28px) 0;
}

.sb-inner {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(16px, 3vw, 24px);
  padding: 0 clamp(16px, 4vw, 32px);
}

.sb-item {
  text-align: center;
}

.sb-val {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--blue);
  text-shadow: 0 0 14px rgba(0, 170, 255, 0.5);
  line-height: 1;
}
.sb-val.gold {
  color: var(--gold);
  text-shadow: 0 0 14px rgba(255, 196, 0, 0.5);
}
.sb-val.cyan {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(0, 229, 255, 0.5);
}

.sb-lbl {
  font-size: clamp(9px, 1.2vw, 12px);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ─── ABOUT / PROFIL KREATOR ─── */
#about {
  padding: clamp(60px, 9vh, 88px) 0;
  background: var(--bg);
}

/* Tiga foto + teks */
.about-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

/* Foto kolom kiri: dua foto stacked dengan offset */
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: relative;
}

.aph {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--glow);
}

/* Foto besar (celebrate) ambil 2 kolom */
.aph.wide {
  grid-column: 1 / -1;
}

.aph img {
  width: 100%;
  object-fit: contain;
  background: #091529;
  display: block;
  filter: contrast(1.06) saturate(1.05);
  transition: transform 0.4s ease;
}

.aph:hover img {
  transform: scale(1.03);
}

/* Tinggi foto: wide = rasio 4:3, narrow = rasio 3:4 */
.aph.wide img {
  aspect-ratio: 4/3;
  object-position: center;
}
.aph.narrow img {
  aspect-ratio: 3/4;
  object-position: center;
}

/* Overlay bawah tiap foto */
.aph-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px 8px;
  background: linear-gradient(0deg, rgba(3, 7, 15, 0.92), transparent);
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--cyan);
  letter-spacing: 2px;
  text-align: center;
}

/* Teks kanan */
.about-text p {
  color: var(--text);
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 400;
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-text p strong {
  color: var(--cyan);
  font-weight: 700;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag {
  padding: 5px 14px;
  background: rgba(0, 170, 255, 0.08);
  border: 1px solid rgba(0, 170, 255, 0.2);
  border-radius: 2px;
  font-size: clamp(12px, 1.2vw, 13px);
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.5px;
}

/* ─── GAMES ─── */
#games {
  padding: clamp(60px, 9vh, 88px) 0;
  background: var(--bg2);
  position: relative;
}

#games::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 55% 40% at 50% 50%,
    rgba(0, 85, 238, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 20px);
}

.game-card {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg3);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease;
}
.game-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 8px 30px rgba(0, 170, 255, 0.22),
    var(--glow);
  border-color: rgba(0, 170, 255, 0.45);
}

.game-thumb {
  width: 100%;
  height: clamp(140px, 18vw, 195px);
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.1);
}

.game-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 28%,
    rgba(3, 7, 15, 0.97) 100%
  );
}

.game-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: clamp(12px, 2vw, 18px);
}

.game-name {
  font-family: var(--font-display);
  font-size: clamp(12px, 1.4vw, 15px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
  text-shadow: 0 0 10px rgba(0, 170, 255, 0.5);
}

.game-type {
  font-family: var(--font-mono);
  font-size: clamp(9px, 1vw, 11px);
  color: var(--cyan);
  letter-spacing: 1.5px;
  opacity: 0.8;
}

.game-uid {
  font-family: var(--font-mono);
  font-size: clamp(8px, 0.9vw, 10px);
  color: var(--muted);
  margin-top: 3px;
}

.game-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 170, 255, 0.15);
  border: 1px solid rgba(0, 170, 255, 0.3);
  padding: 4px 10px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--cyan);
  letter-spacing: 1px;
}
.game-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 8px;
  filter: drop-shadow(0 0 6px #00e5ff);
}
/* ─── STATS ─── */
#stats {
  padding: clamp(60px, 9vh, 88px) 0;
  background: var(--bg);
}

.stats-period {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 2px;
  margin-bottom: 32px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 18px);
}

.stat-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: clamp(18px, 2.5vw, 26px) clamp(14px, 2vw, 20px);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s ease;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}
.stat-card:hover {
  border-color: rgba(0, 170, 255, 0.48);
}

.sc-icon {
  font-size: clamp(20px, 2.5vw, 26px);
  margin-bottom: 8px;
  display: block;
}

.sc-val {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--blue);
  text-shadow: 0 0 18px rgba(0, 170, 255, 0.45);
  line-height: 1;
  margin-bottom: 6px;
}
.sc-val.gold {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(255, 196, 0, 0.4);
}
.sc-val.cyan {
  color: var(--cyan);
  text-shadow: 0 0 18px rgba(0, 229, 255, 0.4);
}

.sc-lbl {
  font-size: clamp(10px, 1.1vw, 12px);
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* ─── SCHEDULE ─── */
#schedule {
  padding: clamp(60px, 9vh, 88px) 0;
  background: var(--bg2);
}

.sched-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: clamp(24px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
}
.sched-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}

.sched-days {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 0;
}

.day {
  padding: 5px 13px;
  border-radius: 2px;
  font-family: var(--font-display);
  font-size: clamp(9px, 1.1vw, 11px);
  font-weight: 700;
  letter-spacing: 1px;
  border: 1px solid transparent;
}
.day.on {
  background: rgba(0, 170, 255, 0.14);
  border-color: rgba(0, 170, 255, 0.38);
  color: var(--cyan);
  box-shadow: 0 0 8px rgba(0, 170, 255, 0.12);
}
.day.off {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.sched-time {
  text-align: center;
  flex-shrink: 0;
}

.time-num {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 56px);
  font-weight: 900;
  color: var(--blue);
  text-shadow: 0 0 28px rgba(0, 170, 255, 0.55);
  line-height: 1;
  letter-spacing: 2px;
}
.time-tz {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 3px;
  margin-top: 4px;
}

.sched-body-lbl {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.3vw, 13px);
  color: var(--blue);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.sched-desc {
  color: var(--muted);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.6;
  max-width: 480px;
  margin-top: 10px;
}

.sched-platform {
  color: var(--cyan);
  font-size: clamp(12px, 1.3vw, 13px);
  margin-top: 8px;
  font-family: var(--font-mono);
}

/* ─── SERVICES ─── */
#services {
  padding: clamp(60px, 9vh, 88px) 0;
  background: var(--bg);
}

.srv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(14px, 2vw, 20px);
}

.srv-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: clamp(20px, 3vw, 28px) clamp(18px, 2.5vw, 24px);
  position: relative;
  overflow: hidden;
  transition: all 0.28s ease;
}
.srv-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue2), var(--cyan));
  transform: scaleX(0);
  transition: transform 0.28s ease;
  transform-origin: left;
}
.srv-card:hover {
  border-color: rgba(0, 170, 255, 0.42);
  transform: translateY(-2px);
}
.srv-card:hover::after {
  transform: scaleX(1);
}

.srv-icon {
  font-size: clamp(26px, 3.5vw, 34px);
  margin-bottom: 10px;
  display: block;
}

.srv-name {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.srv-desc {
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--muted);
  line-height: 1.6;
}

/* ─── CONTACT ─── */
#contact {
  padding: clamp(60px, 9vh, 88px) 0;
  background: var(--bg2);
  overflow: hidden;
}

#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 55% 70% at 50% 110%,
    rgba(0, 85, 238, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: start;
}

.c-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  background: rgba(0, 170, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: var(--r);
  margin-bottom: 10px;
  text-decoration: none;
  transition: all 0.28s ease;
}
.c-item:hover {
  background: rgba(0, 170, 255, 0.1);
  border-color: rgba(0, 170, 255, 0.4);
  transform: translateX(4px);
}
.c-icon {
  font-size: 22px;
  flex-shrink: 0;
}
.c-lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.c-val {
  font-family: var(--font-display);
  font-size: clamp(11px, 1.3vw, 13px);
  font-weight: 600;
  color: var(--cyan);
}

.support-box {
  background: linear-gradient(
    135deg,
    rgba(0, 85, 238, 0.1),
    rgba(0, 229, 255, 0.05)
  );
  border: 1px solid rgba(0, 170, 255, 0.28);
  border-radius: var(--r);
  padding: clamp(22px, 3vw, 30px);
  text-align: center;
}
.support-box h3 {
  font-family: var(--font-display);
  font-size: clamp(15px, 2vw, 19px);
  color: #fff;
  margin-bottom: 8px;
}
.support-box p {
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--muted);
  margin-bottom: 20px;
  line-height: 1.65;
}
.support-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--blue2), var(--blue));
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 0 18px rgba(0, 102, 255, 0.3);
  transition: all 0.28s ease;
}
.support-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(0, 170, 255, 0.5);
}

.journey-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 196, 0, 0.1),
    rgba(255, 196, 0, 0.04)
  );
  border: 1px solid rgba(255, 196, 0, 0.28);
  padding: 12px 22px;
  border-radius: var(--r);
}
.jb-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 2px;
}
.jb-val {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  text-shadow: 0 0 14px rgba(255, 196, 0, 0.4);
}

/* ─── FOOTER ─── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 22px;
  text-align: center;
  position: relative;
  z-index: 2;
}
footer p {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 2px;
}

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════ */

/* Tablet: ≤ 768px */
@media (max-width: 768px) {
  /* Hero → single column, photo below text */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-tagline {
    max-width: 100%;
  }
  .hero-cta {
    justify-content: center;
  }
  .hero-photo-wrap {
    order: -1;
    max-width: 260px;
    margin: 0 auto 8px;
  }

  /* About → single column */
  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-photos {
    max-width: 480px;
    margin: 0 auto;
  }

  /* Games → single column */
  .games-grid {
    grid-template-columns: 1fr;
  }

  /* Stats → 2 kolom */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Services → single column */
  .srv-grid {
    grid-template-columns: 1fr;
  }

  /* Contact → single column */
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* Mobile: ≤ 480px */
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .time-num {
    font-size: 36px;
  }
  .sched-card {
    flex-direction: column;
  }
  h1.hero-name {
    font-size: clamp(32px, 9vw, 48px);
  }
  .sb-inner {
    gap: 10px 16px;
  }
  .about-photos {
    grid-template-columns: 1fr;
  }
  .aph.narrow {
    display: none;
  } /* hide one photo on very small screens */
}

/* Very small: ≤ 360px */
@media (max-width: 360px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
}
