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

:root {
  --amber-dark: #7c4a03;
  --amber: #b45309;
  --gold: #f59e0b;
  --yellow: #fbbf24;
  --yellow-bright: #fde047;
  --cream: #fffbeb;
  --cream-dark: #fef3c7;
  --honey: #fcd34d;
  --text: #422006;
  --text-muted: #78350f;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(180, 83, 9, 0.14);
  --radius: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2 {
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.2;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(circle at 50% 35%, rgba(253, 224, 71, 0.55) 0%, transparent 45%),
    radial-gradient(circle at 15% 80%, rgba(251, 191, 36, 0.25) 0%, transparent 35%),
    radial-gradient(circle at 85% 20%, rgba(252, 211, 77, 0.3) 0%, transparent 30%),
    var(--cream);
  color: var(--text);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(180, 83, 9, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, black 60%, transparent);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--cream);
  clip-path: ellipse(75% 100% at 50% 100%);
  pointer-events: none;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  position: relative;
  z-index: 2;
}

.logo {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.15);
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.avatar {
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 3px solid var(--honey);
  box-shadow: var(--shadow);
  background: var(--cream);
}

.avatar-sm {
  width: 2.75rem;
  height: 2.75rem;
  border-width: 2px;
}

.avatar-md {
  width: 180px;
  height: 180px;
}

.avatar-lg {
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem;
  border-width: 4px;
  box-shadow: 0 8px 32px rgba(245, 158, 11, 0.35);
}

.nav ul {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--amber-dark);
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 1rem;
  color: var(--amber-dark);
}

.tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  align-self: center;
  padding: 0.875rem 2rem;
  background: var(--amber-dark);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--amber);
  box-shadow: 0 8px 24px rgba(180, 83, 9, 0.25);
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.35;
}

.shape-1 {
  width: 320px;
  height: 320px;
  top: -80px;
  right: -60px;
  background: var(--yellow-bright);
}

.shape-2 {
  width: 180px;
  height: 180px;
  bottom: 18%;
  left: -40px;
  background: var(--honey);
}

.shape-3 {
  width: 100px;
  height: 100px;
  top: 22%;
  left: 12%;
  background: var(--gold);
  opacity: 0.2;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--amber-dark);
}

.about {
  text-align: center;
}

.about-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.about p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.card-grid {
  display: flex;
  justify-content: center;
}

.card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 550px;
  text-align: center;
  transition: transform 0.25s;
}

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

.card-image {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--cream-dark);
  display: grid;
  place-items: center;
}

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

.card-image:not(.no-image) img {
  display: block;
}

.card-image .card-icon {
  display: none;
}

.card-image.no-image .card-icon {
  display: block;
}

.card-icon {
  font-size: 3rem;
}

.card p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.chess {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 100%);
}

.soccer {
  background: linear-gradient(180deg, var(--cream-dark) 0%, #fde68a 100%);
}

.soccer .card {
  border-top: 4px solid var(--gold);
}

.ocean {
  background: linear-gradient(180deg, #fde68a 0%, var(--cream) 100%);
}

.ocean .card {
  border-top: 4px solid var(--amber);
}

.chess .card {
  border-top: 4px solid var(--amber-dark);
}

/* Footer */
.footer {
  background: var(--amber-dark);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 600px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .card {
    padding: 2rem 1.5rem;
  }
}
