:root {
  --brand-primary: #2563eb; /* blue */
  --brand-primary-hover: #3b82f6; /* lighter blue on hover */
  --brand-dark: #0f1115;
  --brand-muted: #a7b0c0;
  --card-bg: #ffffff;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  color: #1a1f2b;
  background-color: #f6f7fb;
}

.navbar {
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-primary-hover));
}

.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 0; /* image sits right below navbar */
  margin-bottom: 6px;
}

.hero-img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-overlay {
  position: absolute;
  bottom: 8%; /* place text near bottom of featured image */
  left: 50%;
  transform: translateX(-50%);
}

.hero-section .container {
  z-index: 2;
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 70vh;
  background: radial-gradient(600px 300px at 50% 10%, rgba(108, 99, 255, 0.35), rgba(108, 99, 255, 0) 60%);
  filter: blur(10px);
  z-index: 1;
}

.section-padding {
  padding: 80px 0;
}

.app-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 18px;
  border: 1px solid rgba(16, 18, 24, 0.06);
  box-shadow: 0 10px 30px rgba(16, 18, 24, 0.06);
}

.app-icon {
  width: 84px;
  height: 84px;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(108, 99, 255, 0.25);
}

/* Carousels should show full screenshots without cropping */
.carousel .carousel-inner img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #000;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid rgba(16, 18, 24, 0.06);
  border-radius: 16px;
  padding: 20px;
  height: 100%;
  text-align: center;
}

.feature-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 10px;
}

footer {
  background: #fff;
}

.btn-primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-outline-primary {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}

.btn-outline-primary:hover {
  background: var(--brand-primary);
  color: #fff;
}

@media (max-width: 575.98px) {
  .section-padding {
    padding: 56px 0;
  }
  .hero-section { padding-top: 0; }
  .hero-overlay { bottom: 6%; }
  .hero-section .btn { display: none; }
}

/* Platform store buttons */
.store-buttons {
  display: grid;
  grid-template-columns: 1fr; /* stack vertically */
  gap: 10px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  border-radius: 0;
  font-weight: 600;
  border: 0;
  text-decoration: none;
  background: transparent;
  color: inherit;
}

.store-btn svg {
  width: 18px;
  height: 18px;
}

.store-btn img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}

.store-btn:hover { opacity: 0.9; }

/* Section variants */
.section-grey {
  background: #eef1f7;
}

/* Reduce space after apps section */
#apps.section-padding { padding-top: 8px; padding-bottom: 24px; }

/* App card light backgrounds per app */
.app-card.animal { background: #E4F0A3; }
.app-card.kids { background: #90BCF0; }
.app-card.naughty { background: #F08D84; }
