/* ==========================================================================
   King English Kids - Modern 3D Cartoon Landing Page
   ========================================================================== */

:root {
  --primary: #FF7F00;
  --primary-dark: #E66A00;
  --primary-light: #FFA947;
  --accent-blue: #10BBF1;
  --accent-blue-dark: #0091C2;
  --accent-pink: #FF4081;
  --accent-yellow: #FFD93D;
  --accent-purple: #7B5CFF;
  --accent-teal: #47C0BA;
  --bg-light: #F8FAFE;
  --bg-cream: #FFF9F0;
  --text-dark: #1B2C4F;
  --text-mid: #4A5879;
  --text-light: #7A8AAB;
  --white: #ffffff;
  --shadow-sm: 0 4px 12px rgba(31, 45, 87, 0.08);
  --shadow-md: 0 8px 24px rgba(31, 45, 87, 0.12);
  --shadow-lg: 0 16px 40px rgba(31, 45, 87, 0.18);
  --shadow-pop: 0 12px 28px rgba(255, 127, 0, 0.35);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --font-display: 'Baloo 2', 'Fredoka', system-ui, sans-serif;
  --font-body: 'Fredoka', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.container-feat {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Floating Background Shapes
   ========================================================================== */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.shape {
  position: absolute;
  opacity: 0.85;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.12));
}

.shape-1 { width: 90px; top: 10%; left: 6%; animation: float 7s ease-in-out infinite; }
.shape-2 { width: 70px; top: 60%; left: 4%; animation: float 9s ease-in-out infinite -2s; }
.shape-3 { width: 60px; top: 20%; right: 8%; animation: float 8s ease-in-out infinite -3s; }
.shape-4 { width: 80px; top: 70%; right: 6%; animation: spin-float 10s linear infinite; }
.shape-5 { width: 75px; top: 35%; right: 3%; animation: float 6s ease-in-out infinite -4s; }
.shape-6 { width: 180px; top: 8%; left: 35%; animation: drift 18s ease-in-out infinite; opacity: 0.55; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(8deg); }
}

@keyframes spin-float {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-18px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

@keyframes drift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(40px); }
}

/* ==========================================================================
   Side Nav
   ========================================================================== */
.side-nav {
  position: fixed;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  z-index: 1030;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  padding: 14px 8px;
  box-shadow: 0 8px 22px rgba(31, 45, 87, 0.15);
}

.side-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.side-nav li {
  margin: 6px 0;
}

.side-nav a {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cfd8e7;
  transition: all 0.3s ease;
  position: relative;
}

.side-nav a:hover {
  background: var(--primary-light);
  transform: scale(1.3);
}

/* Active dot — current section the user is viewing.
   Brighter, bigger, with a soft glow ring so it stands out from the others. */
.side-nav a.is-active {
  background: var(--primary);
  width: 12px;
  height: 12px;
  box-shadow: 0 0 0 4px rgba(255, 127, 0, 0.25), 0 0 12px rgba(255, 127, 0, 0.5);
  transform: scale(1);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.mainBanner {
  position: relative;
  background: linear-gradient(135deg, #6A8FFF 0%, #A06BFF 50%, #FF6B9D 100%);
  padding: 60px 0 100px;
  overflow: hidden;
  color: white;
}

.mainBanner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 217, 61, 0.35) 0%, transparent 35%),
    radial-gradient(circle at 85% 70%, rgba(16, 187, 241, 0.35) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-waves {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  min-height: 540px;
}

.hero-left {
  text-align: center;
  position: relative;
  z-index: 3;
}

/* Logo with glow */
.logo-wrap {
  position: relative;
  display: inline-block;
  margin: 0 auto 20px;
  padding: 0;
}

.logo-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(255, 217, 61, 0.6) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

.img-logo {
  position: relative;
  width: 130px;
  height: 130px;
  border-radius: 30px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25), inset 0 -4px 0 rgba(0, 0, 0, 0.1);
  animation: gentle-bounce 4s ease-in-out infinite;
}

@keyframes gentle-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Hero title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  margin: 10px 0 16px;
  line-height: 1;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
}

.title-king,
.title-english,
.title-kids {
  display: inline-block;
  -webkit-text-stroke: 2px rgba(0, 0, 0, 0.15);
}

.title-king { color: #FFD93D; }
.title-english { color: #ffffff; }
.title-kids { color: #FFB7E5; }

.hero-slogan {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 500;
  margin: 0 auto 22px;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}

.hero-slogan b {
  font-weight: 600;
}

/* Star rating */
.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-rating svg {
  width: 22px;
  height: 22px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.rating-text {
  font-weight: 600;
  font-size: 14px;
  margin-left: 8px;
  color: white;
}

/* Buttons */
.buttons-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.button-play {
  position: relative;
  background: linear-gradient(180deg, #FF9F43 0%, #FF7F00 60%, #E66A00 100%);
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  box-shadow: 0 10px 24px rgba(255, 127, 0, 0.45), inset 0 -4px 0 rgba(0, 0, 0, 0.18), inset 0 2px 0 rgba(255, 255, 255, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  overflow: hidden;
  animation: pulse-btn 2.4s ease-in-out infinite;
}

.button-play:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 16px 32px rgba(255, 127, 0, 0.55), inset 0 -4px 0 rgba(0, 0, 0, 0.18);
}

.button-play:active {
  transform: translateY(1px) scale(0.99);
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% { left: -75%; }
  60%, 100% { left: 125%; }
}

@keyframes pulse-btn {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.row-button-play {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-wrap svg {
  width: 26px;
  height: 26px;
  animation: arrow-bob 1.6s ease-in-out infinite;
}

@keyframes arrow-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.btn-text {
  text-align: left;
  color: white;
}

.txt-button-play {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}

.btn-sub {
  display: block;
  font-size: 12px;
  font-weight: 500;
  opacity: 0.9;
  margin-top: 2px;
}

/* Store badges */
.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  padding: 8px 16px;
  color: white;
  transition: transform 0.2s ease, background 0.2s ease;
}

.store-badge:hover {
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.7);
}

.store-badge svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.store-badge div {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.badge-small {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.badge-big {
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-display);
}

/* Hero right (video) */
.hero-right {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-frame {
  position: relative;
  width: 100%;
  max-width: 560px;
  padding: 14px;
  background: linear-gradient(145deg, #ffffff, #e8edf7);
  border-radius: 28px;
  box-shadow:
    0 30px 60px rgba(31, 45, 87, 0.35),
    inset 0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 -2px 0 rgba(0, 0, 0, 0.08);
  transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
  transition: transform 0.5s ease;
}

.device-frame:hover {
  transform: perspective(1200px) rotateY(0deg) rotateX(0deg);
}

.device-shadow {
  position: absolute;
  bottom: -30px;
  left: 8%;
  width: 84%;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.4) 0%, transparent 70%);
  filter: blur(12px);
  z-index: -1;
}

.video-container {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  position: relative;
}

.video-container video,
.video-container iframe {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border: none;
}

/* Floating decorations around device */
.deco {
  position: absolute;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.deco-abc {
  width: 80px;
  top: -28px;
  left: -28px;
  animation: float 5s ease-in-out infinite;
}

.deco-123 {
  width: 70px;
  bottom: -20px;
  right: -20px;
  animation: float 6s ease-in-out infinite -2s;
}

.deco-heart {
  width: 60px;
  top: 50%;
  right: -32px;
  animation: heart-beat 1.8s ease-in-out infinite;
}

@keyframes heart-beat {
  0%, 100% { transform: scale(1); }
  25%, 75% { transform: scale(1.1); }
  50% { transform: scale(0.95); }
}

/* Banner divider wave */
.banner-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 2;
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
  text-align: center;
  padding: 60px 24px 40px;
}

.section-eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--accent-pink));
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 14px;
  line-height: 1.1;
}

.title-underline {
  width: 200px;
  margin: 0 auto;
}

.title-underline svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Features section
   ========================================================================== */
.ourFeatures {
  background: linear-gradient(180deg, #F8FAFE 0%, #EAF2FF 100%);
  padding: 0 0 80px;
  position: relative;
  overflow: hidden;
}

.ourFeatures::before,
.ourFeatures::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
  z-index: 0;
}

.ourFeatures::before {
  width: 300px;
  height: 300px;
  background: #FFD93D;
  top: 10%;
  left: -10%;
}

.ourFeatures::after {
  width: 350px;
  height: 350px;
  background: #FFB7C5;
  bottom: 5%;
  right: -10%;
}

.feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Slideshow card */
.slideshow-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 18px;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: rotate(-1.5deg);
  transition: transform 0.4s ease;
}

.slideshow-card::before {
  content: "";
  position: absolute;
  top: -16px;
  right: -16px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #FFD93D, #FF8F00);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(255, 143, 0, 0.4);
  z-index: 2;
}

.slideshow-card::after {
  content: "★";
  position: absolute;
  top: -5px;
  right: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: white;
  z-index: 3;
}

.slideshow-card:hover {
  transform: rotate(0) scale(1.02);
}

/* Feature description text */
.features p {
  font-size: clamp(0.95rem, 1.3vw, 1.05rem);
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.features p:first-child {
  font-weight: 500;
  color: var(--text-dark);
}

/* Feature mini cards */
.feat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.feat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 18px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feat-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, currentColor 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feat-yellow { border-color: #FFE082; color: #FFB300; }
.feat-pink { border-color: #FFB7C5; color: #FF4081; }
.feat-blue { border-color: #B3E5FC; color: #10BBF1; }

.feat-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  position: relative;
  z-index: 1;
}

.feat-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
  animation: gentle-bounce 4s ease-in-out infinite;
}

.feat-pink .feat-icon svg { animation-delay: -1.3s; }
.feat-blue .feat-icon svg { animation-delay: -2.6s; }

.feat-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 6px;
}

.feat-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin: 0;
  line-height: 1.4;
}

.btn-secondary-cta {
  margin: 8px 0;
}

/* ==========================================================================
   Slideshow
   ========================================================================== */
.slideshow-container {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #f0f4fb;
}

.mySlides {
  display: none;
  width: 100%;
}

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

.fade {
  animation: fade 1s ease-in-out;
}

@keyframes fade {
  from { opacity: 0.3; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  color: var(--primary);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
  z-index: 5;
}

.prev { left: 12px; }
.next { right: 12px; }

.prev:hover,
.next:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.prev svg,
.next svg {
  width: 22px;
  height: 22px;
}

.dots-row {
  text-align: center;
  margin-top: 16px;
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 4px;
  background-color: #cbd5e6;
  border-radius: 50%;
  display: inline-block;
  transition: all 0.3s ease;
}

.dot:hover { background-color: var(--primary-light); }

.dot.active {
  background-color: var(--primary);
  width: 28px;
  border-radius: 6px;
}

/* ==========================================================================
   Highlights / Social
   ========================================================================== */
.highlights {
  background: linear-gradient(180deg, #EAF2FF 0%, #ffffff 100%);
  padding: 0 0 100px;
  position: relative;
  overflow: hidden;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.social-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 18px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.social-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255, 255, 255, 0.5) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.social-card:hover::before {
  transform: translateX(100%);
}

.social-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: var(--shadow-lg);
}

.social-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 14px;
  transition: transform 0.4s ease;
}

.social-card:hover .social-icon {
  transform: rotate(-8deg) scale(1.1);
}

.social-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.social-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-section {
  background: linear-gradient(135deg, #1B2C4F 0%, #0F1B3D 100%);
  color: white;
  padding: 100px 0 30px;
  position: relative;
}

.footer-wave {
  position: absolute;
  top: -80px;
  left: 0;
  width: 100%;
  height: 80px;
  display: block;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.footer-logo {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}

.footer-tagline {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  max-width: 260px;
}

.footer-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  border: none;
  border-radius: 100px;
  padding: 12px 24px;
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
  margin: 0;
  box-shadow: 0 6px 16px rgba(255, 127, 0, 0.4);
}

.footer-btn:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

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

.footer-mail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-mail:hover {
  color: white;
}

.footer-mail svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    gap: 30px;
  }

  .feat-grid {
    gap: 40px;
  }

  .deco-abc { width: 64px; top: -22px; left: -22px; }
  .deco-123 { width: 56px; bottom: -16px; right: -16px; }
  .deco-heart { width: 50px; right: -25px; }
}

@media (max-width: 860px) {
  .mainBanner {
    padding: 50px 0 80px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-right {
    order: 2;
  }

  .hero-left {
    order: 1;
  }

  .device-frame {
    transform: none;
    max-width: 480px;
  }

  .device-frame:hover {
    transform: scale(1.02);
  }

  .feat-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feat-right {
    text-align: center;
  }

  .feat-cards {
    margin-left: auto;
    margin-right: auto;
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }

  .footer-brand {
    flex-direction: column;
    text-align: center;
  }

  .footer-actions {
    align-items: center;
  }

  .side-nav {
    right: 12px;
    padding: 10px 6px;
  }

  .shape-6 { display: none; }
}

@media (max-width: 600px) {
  .container,
  .container-feat {
    padding: 0 18px;
  }

  .mainBanner {
    padding: 40px 0 70px;
  }

  .img-logo {
    width: 96px;
    height: 96px;
    border-radius: 22px;
  }

  .hero-title {
    font-size: 2.2rem;
    gap: 8px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
  }

  .hero-slogan {
    font-size: 1rem;
    padding: 0 8px;
  }

  .hero-rating {
    padding: 6px 14px;
  }

  .hero-rating svg {
    width: 18px;
    height: 18px;
  }

  .rating-text {
    font-size: 12px;
  }

  .button-play {
    padding: 10px 20px;
  }

  .icon-wrap {
    width: 40px;
    height: 40px;
  }

  .icon-wrap svg {
    width: 22px;
    height: 22px;
  }

  .txt-button-play {
    font-size: 1.05rem;
  }

  .btn-sub {
    font-size: 11px;
  }

  .store-badges {
    gap: 8px;
  }

  .store-badge {
    padding: 6px 12px;
    gap: 8px;
  }

  .store-badge svg {
    width: 22px;
    height: 22px;
  }

  .badge-big {
    font-size: 13px;
  }

  .deco-abc { width: 54px; top: -16px; left: -14px; }
  .deco-123 { width: 48px; bottom: -12px; right: -12px; }
  .deco-heart { width: 42px; right: -18px; }

  .section-header {
    padding: 48px 18px 28px;
  }

  .feat-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feat-card {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 14px;
    gap: 14px;
  }

  .feat-icon {
    width: 48px;
    height: 48px;
    margin: 0;
    flex-shrink: 0;
  }

  .feat-card h3 {
    margin-bottom: 2px;
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .social-card {
    padding: 22px 12px;
  }

  .social-icon {
    width: 64px;
    height: 64px;
  }

  .social-card h4 {
    font-size: 0.9rem;
  }

  .shape-1, .shape-2 { width: 60px; }
  .shape-3, .shape-5 { width: 50px; }
  .shape-4 { width: 60px; }

  .slideshow-card {
    padding: 12px;
    transform: none;
  }

  .slideshow-card::before {
    width: 44px;
    height: 44px;
    top: -10px;
    right: -10px;
  }

  .slideshow-card::after {
    font-size: 22px;
    width: 44px;
    height: 44px;
    top: 0;
    right: 5px;
  }

  .prev, .next {
    width: 36px;
    height: 36px;
  }

  .prev { left: 8px; }
  .next { right: 8px; }

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

  .footer-mail span {
    font-size: 0.85rem;
    word-break: break-all;
  }

  .side-nav {
    display: none;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 1.85rem;
  }

  .txt-button-play {
    font-size: 0.95rem;
  }

  .store-badges {
    flex-direction: column;
    width: 100%;
  }

  .store-badge {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
