:root {
  /* Color Palette */
  --bg-primary: #eaf6ff;
  --bg-secondary: #d9efff;
  --surface-cloud: rgba(255, 255, 255, 0.75);
  --surface-solid: #ffffff;
  
  --accent-primary: #ff6b6b;
  --accent-secondary: #ffd166;
  --accent-sky: #4dabf7;
  
  --text-primary: #1b2a41;
  --text-secondary: #4f5d75;
  
  --border-sky: #bfe3ff;
  
  /* Layout Spacing (Mobile First) */
  --container-pad: 16px;
  --section-space: 50px;
  --border-rad: 16px;
  --game-rad: 20px;
}

@media (min-width: 768px) {
  :root {
    --container-pad: 24px;
    --section-space: 70px;
  }
}

@media (min-width: 1024px) {
  :root {
    --container-pad: 32px;
    --section-space: 100px;
  }
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: var(--text-primary);
}

ul {
  list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 2.5rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
p { color: var(--text-secondary); margin-bottom: 1rem; }

@media (min-width: 768px) {
  h1 { font-size: 3.5rem; }
  h2 { font-size: 2.5rem; }
}

/* Layout System */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-space) 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--border-rad);
  border: none;
  cursor: pointer;
  transition: background 0s; /* No animation */
}

.btn-primary {
  background: linear-gradient(180deg, #64b5f6 0%, #4dabf7 100%);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(180deg, #4dabf7 0%, #228be6 100%);
  color: #fff;
}

/* Sky Navbar */
.sky-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface-cloud);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-sky);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-sky);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-brand img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: none;
}

.nav-links li a {
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 16px;
}

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

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: 16px;
  }
}

/* Hero Section */
.hero {
  text-align: center;
  padding: calc(var(--section-space) * 1.5) 0;
  background: url('images/bright-sky-kites-background.webp') center/cover no-repeat;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(234, 246, 255, 0.4) 0%, var(--bg-primary) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-subtext {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.disclaimer-badge {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  background: var(--surface-cloud);
  padding: 12px 24px;
  border-radius: 50px;
  border: 1px solid var(--border-sky);
  margin-bottom: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.disclaimer-badge span {
  display: flex;
  align-items: center;
}

.disclaimer-badge span:not(:last-child)::after {
  content: "•";
  margin-left: 12px;
  color: var(--border-sky);
}

/* Game Section */
.game-section {
  background: var(--bg-secondary);
  padding: var(--section-space) 0;
}

.game-wrapper {
  max-width: 1300px;
  margin: 0 auto;
  background: var(--surface-cloud);
  padding: 16px;
  border-radius: var(--game-rad);
  border: 1px solid var(--border-sky);
  box-shadow: 0 10px 30px rgba(77, 171, 247, 0.08);
}

.game-wrapper iframe {
  width: 100%;
  aspect-ratio: 16/9;
  min-height: 500px;
  border: none;
  border-radius: calc(var(--game-rad) - 8px);
  background: var(--surface-solid);
  display: block;
}

@media (min-width: 1024px) {
  .game-wrapper {
    padding: 24px;
  }
}

/* Features / Legal Cards */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cloud-card {
  background: var(--surface-cloud);
  border: 1px solid var(--border-sky);
  border-radius: var(--border-rad);
  padding: 32px;
  text-align: center;
}

.cloud-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
}

.cloud-card h3 {
  color: var(--accent-sky);
  font-size: 1.25rem;
}

/* Internal Page Layouts */
.page-header {
  text-align: center;
  padding: var(--section-space) 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-sky);
}

.content-box {
  background: var(--surface-cloud);
  border: 1px solid var(--border-sky);
  border-radius: var(--border-rad);
  padding: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.content-box h2 {
  color: var(--accent-sky);
  margin-top: 2rem;
}

.content-box h2:first-child {
  margin-top: 0;
}

.content-box ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

/* Form */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-sky);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--surface-solid);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-sky);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.site-footer {
  background: var(--surface-cloud);
  border-top: 1px solid var(--border-sky);
  padding: var(--section-space) 0 24px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-col h4 {
  margin-bottom: 16px;
  color: var(--accent-sky);
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: var(--text-secondary);
}

.footer-col ul li a:hover {
  color: var(--accent-sky);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-sky);
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }