:root {
  --accent-green: #10e396;
  --accent-dark-green: #00b686;
  --primary-gradient: linear-gradient(135deg, #10e396 0%, #00b686 100%);
  --bg-body: #060b09;
  --bg-surface: #0e1814;
  --bg-card: #15221e;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --text-main: #e6f4ef;
  --text-muted: #79988e;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-body);
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

/* ---------------- HEADER / NAVBAR ---------------- */
.nav {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.logo-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
}

.logo-badge img {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 4px 10px rgba(16, 227, 150, 0.35));
}

.logo-badge span {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.5px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  padding: 9px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn-login {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
}

.btn-login:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
}

.btn-signup {
  background: var(--primary-gradient);
  color: #042118;
  box-shadow: 0 4px 14px rgba(16, 227, 150, 0.25);
}

.btn-signup:hover {
  transform: scale(1.02);
}

.btn-signup:active {
  transform: scale(0.97);
}

/* ---------------- GLOWING PLAY STORE HEADER BADGE ---------------- */
.header-play-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  background: linear-gradient(135deg, rgba(11, 46, 33, 0.9) 0%, rgba(6, 26, 18, 0.95) 100%);
  border: 1px solid var(--accent-green);
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 0 12px rgba(16, 227, 150, 0.4), inset 0 0 6px rgba(16, 227, 150, 0.2);
  animation: pulseGlow 2.2s infinite alternate ease-in-out;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-play-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(16, 227, 150, 0.75), inset 0 0 10px rgba(16, 227, 150, 0.4);
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 8px rgba(16, 227, 150, 0.35), inset 0 0 4px rgba(16, 227, 150, 0.15);
  }
  100% {
    box-shadow: 0 0 18px rgba(16, 227, 150, 0.75), inset 0 0 8px rgba(16, 227, 150, 0.35);
  }
}

.header-play-badge svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-green);
}

/* ---------------- HERO SECTION ---------------- */
.hero {
  max-width: 1100px;
  width: 100%;
  margin: 10px auto 20px auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
}

.hero-content {
  flex: 1.1;
  text-align: left;
}

.hero-visual {
  flex: 0.9;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(16, 227, 150, 0.28) 0%, rgba(0, 182, 134, 0) 70%);
  filter: blur(28px);
  z-index: 1;
  pointer-events: none;
}

.hero-main-img {
  width: 100%;
  max-width: 340px;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.65));
  animation: floatHero 4.2s ease-in-out infinite alternate;
}

@keyframes floatHero {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(1.2deg); }
  100% { transform: translateY(-28px) rotate(-1.2deg); }
}

.sparkle {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--accent-green);
  clip-path: polygon(50% 0%, 61% 35%, 98% 50%, 61% 65%, 50% 100%, 39% 65%, 2% 50%, 39% 35%);
  z-index: 3;
  opacity: 0.8;
  animation: pulseSparkle 2.5s infinite ease-in-out alternate;
}

.sparkle-1 { top: 15%; left: 18%; animation-delay: 0.2s; }
.sparkle-2 { bottom: 20%; right: 15%; animation-delay: 1.1s; }

@keyframes pulseSparkle {
  0% { transform: scale(0.6) rotate(0deg); opacity: 0.3; }
  100% { transform: scale(1.1) rotate(45deg); opacity: 1; }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(16, 227, 150, 0.12);
  border: 1px solid rgba(16, 227, 150, 0.28);
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: 38px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  color: #fff;
}

.hero h1 span {
  color: var(--accent-green);
}

.hero p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 22px;
}

.hero-cta {
  display: flex;
  gap: 12px;
}

/* ---------------- INTRO VIDEO SECTION ---------------- */
.intro-video-section {
  max-width: 980px;
  width: 100%;
  margin: 30px auto 45px auto;
  padding: 0 20px;
  text-align: center;
}

.video-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: rgba(16, 227, 150, 0.1);
  border: 1px solid rgba(16, 227, 150, 0.25);
  border-radius: 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-green);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}

.intro-video-section h2 {
  color: #fff;
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 8px;
}

.intro-video-section p {
  color: var(--text-muted);
  font-size: 13.5px;
  max-width: 600px;
  margin: 0 auto 22px auto;
  line-height: 1.5;
}

.video-player-wrapper {
  position: relative;
  border-radius: 24px;
  padding: 6px;
  background: linear-gradient(135deg, rgba(16, 227, 150, 0.3) 0%, rgba(11, 20, 17, 0.8) 50%, rgba(16, 227, 150, 0.15) 100%);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(16, 227, 150, 0.18);
}

.video-inner-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-inner-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------------- SECTION HEADER ---------------- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 30px auto 14px auto;
  padding: 0 20px;
}

.section-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.section-header p {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ---------------- SHOWCASE GRID ---------------- */
.showcase-grid {
  max-width: 1180px;
  width: 100%;
  margin: 16px auto 50px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.showcase-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.showcase-card:hover {
  border-color: rgba(16, 227, 150, 0.3);
  transform: translateY(-3px);
}

.card-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-green);
  background: rgba(16, 227, 150, 0.1);
  padding: 3px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.image-frame {
  width: 100%;
  height: 360px;
  background: #09120e;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.showcase-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-top: 18px;
  margin-bottom: 8px;
  color: #fff;
}

.showcase-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------------- PC FOOTER ---------------- */
.pc-footer {
  background: #09120e;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
  padding: 44px 20px 24px 20px;
  display: block;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.footer-col p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}

.footer-links a:hover {
  color: var(--accent-green);
}

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------------- MOBILE APP BOTTOM BAR ---------------- */
.mobile-app-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(14, 24, 20, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)) 16px;
  z-index: 999;
  gap: 12px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.5);
}

.mobile-app-bar .btn {
  flex: 1;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 700;
  border-radius: 14px;
}

/* ---------------- APP DOWNLOAD POP-UP MODAL ---------------- */
.app-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 5, 0.82);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.app-popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.app-popup-card {
  background: #0b1411;
  border: 1px solid rgba(16, 227, 150, 0.35);
  border-radius: 20px;
  padding: 28px 24px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(16, 227, 150, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.app-popup-overlay.active .app-popup-card {
  transform: translateY(0);
}

.app-popup-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 22px;
  cursor: pointer;
  transition: color 0.2s;
}

.app-popup-close:hover {
  color: #fff;
}

.app-popup-logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px auto;
  filter: drop-shadow(0 8px 16px rgba(16, 227, 150, 0.3));
}

.app-popup-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.app-popup-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.app-popup-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent-green);
  color: #060b09;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(16, 227, 150, 0.4);
  transition: all 0.2s ease;
}

.app-popup-btn:hover {
  background: #0ec982;
  box-shadow: 0 6px 20px rgba(16, 227, 150, 0.6);
  transform: translateY(-1px);
}

/* ---------------- AUTH MODAL & OVERLAY ---------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-overlay.active {
  display: flex;
}

.auth-card {
  background: #0e1814;
  border: 1px solid rgba(16, 227, 150, 0.25);
  border-radius: 28px;
  width: 100%;
  max-width: 400px;
  padding: 30px 24px 26px 24px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  animation: modalPop 0.2s ease-out;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.close-x {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: 0.15s;
}

.close-x:hover {
  background: rgba(255, 82, 82, 0.15);
  color: #ff6e6e;
  border-color: #ff6e6e;
}

.auth-tabs {
  display: flex;
  background: #060c09;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 20px;
}

.auth-tab {
  flex: 1;
  padding: 9px 0;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.15s ease;
}

.auth-tab.active {
  background: var(--bg-card);
  color: var(--accent-green);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: left;
}

.form-group label {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 2px;
}

.form-group input {
  background: #14221d;
  border: 1px solid var(--border-subtle);
  color: #fff;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus {
  border-color: var(--accent-green);
}

.forgot-password-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: -4px;
  margin-bottom: 2px;
}

.forgot-password-link {
  color: var(--accent-green);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.forgot-password-link:hover {
  text-decoration: underline;
}

/* ---------------- APP-STYLE NATIVE AUTH MODAL ---------------- */
.app-auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 6, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.app-auth-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.app-auth-container {
  background: radial-gradient(circle at top, #0f1c16 0%, #060b09 85%);
  border: 1px solid rgba(16, 227, 150, 0.18);
  border-radius: 28px;
  max-width: 410px;
  width: 100%;
  padding: 34px 26px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(16, 227, 150, 0.12);
  transform: translateY(22px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.app-auth-overlay.active .app-auth-container {
  transform: translateY(0) scale(1);
}

.auth-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  background: none;
  border: none;
  color: #64748b;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.auth-close-btn:hover {
  color: #fff;
}

.auth-vault-badge {
  width: 72px;
  height: 72px;
  background: #00e676;
  border-radius: 22px;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 230, 118, 0.38);
}

.auth-vault-badge svg {
  width: 32px;
  height: 32px;
  fill: #06150e;
}

.auth-heading {
  font-size: 23px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px 0;
  letter-spacing: -0.3px;
}

.auth-subheading {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0 0 26px 0;
  font-weight: 400;
}

.auth-app-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
}

.app-input-field {
  width: 100%;
  background: #0e1914;
  border: 1px solid #1a2e24;
  border-radius: 12px;
  padding: 15px 18px;
  font-size: 14px;
  color: #fff;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.app-input-field::placeholder {
  color: #64748b;
}

.app-input-field:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 1px var(--accent-green);
}

.app-phone-row {
  display: flex;
  gap: 10px;
  width: 100%;
}

.app-country-pill {
  flex: 0 0 120px;
  background: #0e1914;
  border: 1px solid #1a2e24;
  border-radius: 12px;
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 600;
  padding: 0 14px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%2310e396' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

.app-country-pill:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 0 1px var(--accent-green);
}

.app-country-pill option {
  background: #0e1914;
  color: #fff;
}

.forgot-link-wrap {
  text-align: right;
  margin-top: -4px;
  margin-bottom: 4px;
}

.forgot-link-btn {
  color: var(--accent-green);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}

.app-action-btn {
  width: 100%;
  background: #00e676;
  color: #06130b;
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 230, 118, 0.35);
  transition: background-color 0.2s, transform 0.15s ease;
  font-family: inherit;
  margin-top: 4px;
}

.app-action-btn:hover {
  background: #00c853;
  transform: translateY(-1px);
}

.fingerprint-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0e271c;
  border: 1px solid rgba(16, 227, 150, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto 8px auto;
  cursor: pointer;
  transition: all 0.2s ease;
}

.fingerprint-btn svg {
  width: 26px;
  height: 26px;
  fill: var(--accent-green);
}

.fingerprint-btn:hover {
  background: #143527;
  transform: scale(1.05);
  border-color: var(--accent-green);
}

.auth-switch-text {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 14px;
}

.auth-switch-text button,
.auth-switch-text a {
  background: none;
  border: none;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  font-family: inherit;
}

.auth-switch-text button:hover,
.auth-switch-text a:hover {
  color: var(--accent-green);
}

.auth-terms-note {
  font-size: 11.5px;
  color: #64748b;
  line-height: 1.5;
  margin-top: 16px;
  padding: 0 8px;
}

.auth-terms-note a {
  color: var(--accent-green);
  text-decoration: none;
}

.reset-dialog-card {
  background: #0d1713;
  border: 1px solid rgba(16, 227, 150, 0.25);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  margin-top: 10px;
}

.reset-dialog-card h3 {
  color: #fff;
  font-size: 18px;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.reset-dialog-card p {
  color: #94a3b8;
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0 0 18px 0;
}

.dialog-cancel-btn {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 14px;
  font-weight: 500;
  margin-top: 14px;
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
}

.dialog-cancel-btn:hover {
  color: #fff;
}

/* ---------------- RESPONSIVE MEDIA QUERIES ---------------- */
@media (max-width: 768px) {
  .nav-actions {
    display: none !important;
  }

  .nav-actions .btn-login,
  .nav-actions .btn-signup {
    display: none !important;
  }

  .header-play-badge span {
    display: none;
  }

  .header-play-badge {
    padding: 8px;
    border-radius: 10px;
  }

  .pc-footer {
    display: none !important;
  }

  .mobile-app-bar {
    display: flex;
  }

  body {
    padding-bottom: 84px;
  }

  .nav {
    padding: 14px 16px;
  }

  .logo-badge span {
    font-size: 18px;
  }

  .hero {
    flex-direction: column-reverse;
    text-align: center;
    margin: 10px auto 14px auto;
    padding: 0 16px;
    gap: 16px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-visual {
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
  }

  .hero-main-img {
    max-width: 210px;
    animation: floatHeroMobile 3.6s ease-in-out infinite alternate;
  }

  @keyframes floatHeroMobile {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-14px); }
  }

  .hero h1 {
    font-size: 25px;
    line-height: 1.25;
    margin-bottom: 8px;
  }

  .hero p {
    font-size: 12.5px;
    line-height: 1.5;
    margin-bottom: 14px;
    padding: 0 4px;
  }

  .hero-cta {
    display: none;
  }

  .intro-video-section {
    margin: 20px auto 35px auto;
    padding: 0 16px;
  }

  .intro-video-section h2 {
    font-size: 21px;
  }

  .section-header {
    margin-top: 14px;
  }

  .section-header h2 {
    font-size: 20px;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 14px;
    margin: 10px auto 30px auto;
  }

  .image-frame {
    height: auto;
  }

  .image-frame img {
    height: auto;
    object-fit: contain;
  }

  .showcase-card {
    padding: 16px;
    border-radius: 20px;
  }

  .modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .auth-card {
    max-width: 100%;
    border-radius: 26px 26px 0 0;
    border-bottom: none;
    border-left: none;
    border-right: none;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px)) 20px;
    animation: sheetUp 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
  }
  /* ---------------- ROCKET THRUSTER FIRE EFFECT ---------------- */
.hero-visual {
  position: relative;
}

/* Base anchor positioned at the bottom-left rocket nozzle */
.rocket-thruster-flame {
  position: absolute;
  bottom: 14%;
  left: 2%;
  width: 140px;
  height: 110px;
  pointer-events: none;
  z-index: 1; /* Sits right under the transparent rocket edge */
  transform-origin: right center;
  transform: rotate(-18deg);
  animation: thrustJitter 0.12s infinite alternate ease-in-out;
}

/* Intense white/yellow plasma core */
.flame-core {
  position: absolute;
  top: 30%;
  right: 15%;
  width: 55px;
  height: 45px;
  background: radial-gradient(circle, #ffffff 10%, #ffe600 55%, rgba(255, 120, 0, 0) 80%);
  border-radius: 50%;
  filter: blur(4px);
  animation: coreFlicker 0.18s infinite alternate ease-in-out;
}

/* Expanding fiery orange/red blast plume */
.flame-outer {
  position: absolute;
  top: 15%;
  left: 5%;
  width: 110px;
  height: 85px;
  background: radial-gradient(
    ellipse at right center,
    rgba(255, 200, 0, 0.95) 0%,
    rgba(255, 80, 0, 0.8) 40%,
    rgba(220, 30, 0, 0.4) 70%,
    transparent 100%
  );
  border-radius: 50%;
  filter: blur(10px);
  animation: blastTurbulence 0.22s infinite alternate ease-in-out;
}

/* Embers and radiant glow wash */
.flame-sparks {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle, rgba(255, 140, 0, 0.45) 0%, rgba(255, 50, 0, 0) 70%);
  filter: blur(18px);
  animation: radiantPulse 0.4s infinite alternate ease-in-out;
}

/* ---------------- FIRE ANIMATIONS ---------------- */
@keyframes thrustJitter {
  0% {
    transform: rotate(-18deg) scale(0.96) translate(0, 0);
  }
  50% {
    transform: rotate(-19deg) scale(1.08) translate(-4px, 2px);
  }
  100% {
    transform: rotate(-17.5deg) scale(1.02) translate(-2px, -1px);
  }
}

@keyframes coreFlicker {
  0% {
    opacity: 0.85;
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes blastTurbulence {
  0% {
    opacity: 0.75;
    transform: scaleX(0.92) scaleY(0.95);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.14) scaleY(1.05);
  }
  100% {
    opacity: 0.88;
    transform: scaleX(1.02) scaleY(1);
  }
}

@keyframes radiantPulse {
  0% {
    opacity: 0.4;
  }
  100% {
    opacity: 0.85;
  }
}

/* Responsive adjustment for mobile screens */
@media (max-width: 768px) {
  .rocket-thruster-flame {
    width: 100px;
    height: 80px;
    bottom: 12%;
    left: 4%;
  }
}

  @keyframes sheetUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }
}