* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", sans-serif;
}

body {
  color: #1d3557;
  background: #ffffff;
}

/* HEADER */
.header {
  padding: 10px 40px;
}

.logo img {
  height: 50px;
}

/* HERO */
.hero {
  background: #fff5eb;
  text-align: center;
  padding: 45px 20px;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 16px;
}

.hero p {
  color: #555;
  max-width: 700px;
  margin: 0 auto 35px;
}

/* SEARCH */
.search-box {
  display: flex;
  max-width: 620px;
  margin: auto;
  background: white;
  border-radius: 50px;
  padding: 8px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.search-box input {
  flex: 1;
  border: none;
  padding: 16px 20px;
  font-size: 16px;
  outline: none;
}

.search-box button {
  background: #ff7a2f;
  border: none;
  color: white;
  padding: 14px 34px;
  border-radius: 40px;
  cursor: pointer;
}

/* WHY SECTION */
.why {
  background: #fff3e8;
  padding: 80px 20px;
  text-align: center;
}

.why h2 {
  font-size: 32px;
  margin-bottom: 50px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 22px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.card h3 {
  margin: 15px 0 10px;
}

.card p {
  color: #555;
}

/* BUTTON */
.orange-btn {
  margin-top: 40px;
  padding: 14px 30px;
  background: #ff7a2f;
  border: none;
  color: white;
  border-radius: 40px;
  cursor: pointer;
}

/* OLYMPIC */
.olympic {
  text-align: center;
  padding: 80px 20px;
}

.olympic p {
  max-width: 720px;
  margin: 20px auto;
  color: #555;
}

/* FOOTER */
footer {
  background: #0B1F3A;
  color: white;
  text-align: center;
  padding: 20px;
}

/* RESULTS PAGE */
.results-section {
  padding: 20px 20px 60px;
  max-width: 1200px;
  margin: auto;
}

.results-section h1 {
  margin-bottom: 30px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.academy-card {
  background: #ffffff;
  padding: 25px;
  border-radius: 22px;
  box-shadow:
    0 12px 30px rgba(0,0,0,0.12),
    0 2px 8px rgba(0,0,0,0.08);
}

.academy-card h3 {
  margin-bottom: 10px;
}

.academy-card .sport-line {
  color: #ff7a2f;
  font-weight: 600;
}

.view-btn {
  display: inline-block;
  margin-top: 0;
  padding: 10px 18px;
  background: #ff7a2f;
  color: white;
  text-decoration: none;
  border-radius: 25px;
}

.no-result {
  font-size: 18px;
  color: #777;
}

/* CARD HEADER */
.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sport-icon {
  font-size: 32px;
}

/* CARD ACTIONS */
.card-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.yt-btn {
  padding: 10px 16px;
  background: #ff0000;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 14px;
}

/* ACADEMY PAGE */
.academy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-search {
  display: flex;
  gap: 10px;
}

.top-search input {
  padding: 10px 14px;
  border-radius: 10px;
  border: none;
  background: #9aa0a6;
  color: white;
}

.yellow-btn {
  background: #fbbc04;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
}

.back-wrap {
  padding: 20px 40px;
}

.back-btn {
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid #ff7a2f;
  text-decoration: none;
  color: #ff7a2f;
}

/* CARD */
.academy-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px 80px;
}

.academy-card-full {
  background: white;
  border-radius: 22px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* IMAGE */
.academy-image {
  height: 260px;
  background: linear-gradient(#f6e6d3, #e8d6c0);
  display: flex;
  align-items: center;
  justify-content: center;
}

.academy-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.academy-thumbnail:hover {
  opacity: 0.9;
}


.no-image {
  text-align: center;
  color: #c09a6b;
  font-size: 18px;
}

/* CONTENT */
.academy-content {
  padding: 35px;
}

.academy-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rating {
  background: #fff1e6;
  color: #ff7a2f;
  padding: 8px 14px;
  border-radius: 30px;
  font-weight: bold;
}

.location {
  margin: 10px 0;
  color: #666;
}

.description {
  margin-bottom: 25px;
  color: #444;
}

.sports-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.sports-tags span {
  background: #eef6ff;
  color: #0077cc;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
}

.muted {
  color: #999;
  font-style: italic;
  margin-bottom: 25px;
}

/* CATEGORY FILTER BUTTONS */
.category-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 1px 4px;
  border-radius: 20px;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
}

.filter-btn:hover {
  background: #f3f4f6;
}

.filter-btn.active {
  background: #ff7a2f;
  color: white;
  border-color: #ff7a2f;
}

.academy-image {
  height: 260px;
  background: linear-gradient(#f6e6d3, #e8d6c0);
  position: relative;
  overflow: hidden;        /* 🔥 THIS FIXES OVERFLOW */
}

/* wrapper takes full space */
.video-wrapper {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

/* thumbnail image fits perfectly */
.video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* 🔥 PERFECT FIT */
  display: block;
}

/* play button overlay */
.play-overlay {
  position: absolute;
  inset: 0;                    /* 🔥 perfect centering */
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.25);
  color: white;
  font-size: 52px;
  pointer-events: none;
}


/* hover effect */
.video-wrapper:hover img {
  opacity: 0.92;
}

.skills-hero {
  padding: 60px 20px;
  text-align: center;
  background: #f9fafb;
}

.skills-hero h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

.skills-hero p {
  max-width: 700px;
  margin: auto;
  font-size: 16px;
  color: #555;
}

.skills-content {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.skill-box {
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.skill-box h2 {
  margin-bottom: 10px;
}

.skills-cta {
  text-align: center;
  padding: 50px 20px;
  background: #ff7a2f;
  color: white;
}

.skills-cta .cta-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background: white;
  color: #ff7a2f;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
}

.learn-more-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #ff8a00, #ff6a00);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.35);
  transition: all 0.3s ease;
}

.learn-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(255, 106, 0, 0.45);
}

.youtube-container {
  position: relative;
  width: 100%;
  max-width: 720px;     /* looks better on desktop */
  margin: auto;
  aspect-ratio: 16 / 9; /* 🔥 KEY FIX */
  overflow: hidden;
  border-radius: 14px;
}


.youtube-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


@media (max-width: 768px) {
  .how-to-use {
    padding: 20px 12px;
  }

  .youtube-container {
    max-width: 100%;
  }

  .play-button {
    font-size: 24px;
    padding: 10px 14px;
  }
}

.youtube-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.action-buttons {
  display: flex;
  gap: 14px;
  margin: 18px 0 30px;
  flex-wrap: wrap;
}

.call-btn {
  background: #16a34a;
  color: white;
  padding: 12px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.map-btn {
  background: #2563eb;
  color: white;
  padding: 12px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.call-btn:hover,
.map-btn:hover {
  opacity: 0.9;
}

.other-categories-wrapper {
    margin-top: -40px;
    display: flex;
    justify-content: flex-end;
    padding-right: 40px;
}

.call-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366; /* green like call/whatsapp */
  color: #fff;
  padding: 14px 18px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.2s ease;
}

.call-button:hover {
  transform: scale(1.05);
}

.sport-line{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.sport-rating {
    font-weight: bold;
    white-space :nowrap;
}

/* Dark Navy Blue Top Bar */
.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #0B1F3A;  /* Dark Navy Blue */
  color: white;
  text-align: center;
  padding: 8px 0;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 2px;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

/* Push page content below fixed bar */
body {
  margin: 0;
  padding-top: 0px;   /* Important so content not hide */
}


/* Initial hidden state */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px) scale(0.95);
  transition: all 0.6s ease;
}

/* When visible */
.animate-on-scroll.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#pagination {
  margin: 20px;
  text-align: center;
}

#pagination button {
  padding: 8px 14px;
  margin: 4px;
  border: none;
  background: #eee;
  cursor: pointer;
}

#pagination button.active {
  background: orange;
  color: white;
}

/* ===== PREMIUM LIVE BANNER ===== */

.premium-banner {
  position: relative;
  width: fit-content;
  margin: 16px auto 30px;
  padding: 12px 22px 12px 40px;
  background: linear-gradient(135deg, #fff4e8, #ffe8cc);
  color: #0b1d3a;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  border: 1px solid rgba(11, 29, 58, 0.08);
  box-shadow:
    0 10px 30px rgba(11, 29, 58, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.6);
  overflow: hidden;
  animation: bannerEntry 0.7s ease;
}

/* live green dot */
.live-dot {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34,197,94,0.7);
  animation: pulseDot 2s infinite;
}

/* shimmer sweep */
.shimmer {
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.45),
    transparent
  );
  animation: shimmerMove 3s infinite;
}

/* entry animation */
@keyframes bannerEntry {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* pulsing live dot */
@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(34,197,94,0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34,197,94,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34,197,94,0);
  }
}

/* shimmer animation */
@keyframes shimmerMove {
  0% { left: -60%; }
  100% { left: 120%; }
}

/* mobile tweak */
@media (max-width: 600px) {
  .premium-banner {
    font-size: 14px;
    padding: 10px 18px 10px 36px;
  }
}


/* ===== PREMIUM POP CATEGORY BUTTONS ===== */

.category-filters button {
  background: #ffffff;
  color: #0b1d3a;
  border: 1px solid rgba(11, 29, 58, 0.08);
  padding:2px 15px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow:
    0 6px 18px rgba(11, 29, 58, 0.08),
    0 2px 6px rgba(11, 29, 58, 0.04);
  position: relative;
}

/* 🔥 hover pop */
.category-filters button:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 14px 32px rgba(11, 29, 58, 0.14),
    0 6px 14px rgba(11, 29, 58, 0.08);
}

/* 👆 press feel */
.category-filters button:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow:
    0 4px 10px rgba(11, 29, 58, 0.12);
}

/* ✨ soft glow */
.category-filters button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at top,
    rgba(255, 138, 0, 0.15),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.category-filters button:hover::after {
  opacity: 1;
}

.category-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}


/* ===== HERO PRO POP HEADING ===== */

.hero-pro-heading {
  text-align: center;
  font-size: 660px;
  font-weight: 700;
  letter-spacing: -0.6px;
  color: #0b1d3a;
  margin-bottom: 14px;
  position: relative;
  animation: heroFloatIn 0.8s ease;
}

/* 🔥 highlight PRO */
.hero-pro-heading span {
  background: linear-gradient(135deg, #ff8a00, #ffb347);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  text-shadow: 0 6px 18px rgba(255, 138, 0, 0.25);
}

/* ✨ premium underline */
.hero-pro-heading::after {
  content: "";
  display: block;
  width: 90px;
  height: 5px;
  margin: 14px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8a00, #ffb347);
  box-shadow: 0 6px 16px rgba(255, 138, 0, 0.35);
}

/* 🚀 entrance animation */
@keyframes heroFloatIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* 📱 mobile polish */
@media (max-width: 768px) {
  .hero-pro-heading {
    font-size: 30px;
  }
}

/* ===== SUBTLE ZOOM HOVER (PREMIUM) ===== */

.youtube-container {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

/* smooth base state */
.youtube-thumb {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* 🔥 subtle premium zoom */
.youtube-container:hover .youtube-thumb {
  transform: scale(1.06);
}

/* optional: slightly lift whole card */
.video-glass-card:hover {
  transform: translateY(-6px) scale(1.01);
}

.play-overlay {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.youtube-container:hover .play-overlay {
  transform: scale(1.12);
}

/* ===== Search Box Layout ===== */
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===== Search Button Premium ===== */
.search-box button {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: #fff;
  border: none;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;

  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;

  /* live glow */
  box-shadow: 0 0 0 rgba(0,114,255,0.5);
  animation: livePulse 2.2s infinite;
}

/* 🔥 hover pop */
.search-box button:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0,114,255,0.35);
}

/* 👇 click press feel */
.search-box button:active {
  transform: scale(0.96);
}

/* 🌊 live pulse */
@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0,114,255,0.45);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(0,114,255,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0,114,255,0);
  }
}

.search-box input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 14px;
  outline: none;
  transition: 0.2s ease;
}

.search-box input:focus {
  border-color: #0072ff;
  box-shadow: 0 0 0 3px rgba(0,114,255,0.15);
}

/* ============================= */
/* ACADEMY VIDEO PERFECT ALIGN   */
/* ============================= */

.academy-image {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* YouTube container */
.academy-image .youtube-container {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
}

/* thumbnail */
.academy-image .youtube-thumb {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* iframe when video plays */
.academy-image iframe {
  width: 100%;
  height: 405px;
  border: none;
  display: block;
}

@media (max-width: 768px) {
  .academy-image iframe {
    height: 220px;
  }
}


/* ===== UNIVERSE SECTION ===== */

.universe-section {
  margin: 120px auto;
  padding: 60px 30px;
  max-width: 1000px;

  background: linear-gradient(135deg, #c5c9ce, #447bc7);
  color: white;
  text-align: center;

  border-radius: 30px;

  /* Floating effect */
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.25),
    0 10px 25px rgba(0, 0, 0, 0.15);

  position: relative;
  z-index: 5;

  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.universe-section h2 {
  font-size: 54px;
  margin-bottom: 10px;
  color: #0B1F3A;
}

.universe-sub {
  font-size: 20px;
  opacity: 1;
  margin-bottom: 30px;
}

.launch-btn {
  padding: 14px 30px;
  background: #ff7a2f;
  border: none;
  border-radius: 30px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
  animation: launchPulse 2.2s infinite;
}

.launch-btn:hover {
  transform: scale(1.05);
}

@keyframes launchPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(216,67,21,0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(216,67,21,0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(216,67,21,0);
  }
}

/* Rocket */
.rocket {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40px;
  transition: all 1.8s ease-in;
  opacity: 0;
}

/* Launch Animation */
.rocket.launch {
  bottom: 120%;
  opacity: 1;
}

.universe-section:hover {
  transform: translateY(-8px);
  box-shadow:
    0 35px 80px rgba(0, 0, 0, 0.35),
    0 15px 35px rgba(0, 0, 0, 0.2);
}

/* ===== HARDWORK UNIVERSE SKILL BOX FIX ===== */

.universe-section .skill-box {
  background: linear-gradient(135deg, #c5c9ce, #447bc7);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 25px;
  margin: 20px auto;
  max-width: 500px;
  color: white;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255,255,255,0.15);
  transition: 0.3s ease;
}

.universe-section .skill-box h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.universe-section .skill-box p {
  opacity: 0.9;
  font-size: 15px;
}

.universe-section .skill-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.4);
}

.universe-section {
  background: linear-gradient(135deg, #c5c9ce, #447bc7);
}

/* ===== ADMIN DASHBOARD INPUT STYLES ===== */

.universe-section input {
  width: 100%;
  padding: 8px;
  margin: 6px 0 12px;
  border-radius: 8px;
  border: none;
  outline: none;
}

.universe-section button {
  padding: 10px 18px;
  border-radius: 20px;
  border: none;
  background: #ff7a2f;
  color: white;
  cursor: pointer;
  font-weight: 600;
}

.universe-section button:hover {
  opacity: 0.9;
}

/* ================= MISSILE BUTTON ================= */

.missile-btn {
  width: 100%;
  padding: 18px;
  border-radius: 40px;
  border: none;
  background: linear-gradient(135deg, #ff8a00, #ff3d00);
  color: white;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(255,106,0,0.45);
}

/* button text */
.btn-text {
  position: relative;
  z-index: 3;
}

/* ===== MISSILE ===== */

.missile {
  position: absolute;
  bottom: 6px;
  left: 18px;
  width: 18px;
  height: 60px;
  z-index: 2;
  transition: transform 1s cubic-bezier(.2,.8,.2,1);
}

/* nose */
.nose {
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-bottom: 16px solid #e5e7eb;
  margin: 0 auto;
}

/* body */
.body {
  width: 18px;
  height: 32px;
  background: #e5e7eb;
  margin: 0 auto;
  border-radius: 3px;
}

/* fins */
.fin {
  position: absolute;
  bottom: 14px;
  width: 8px;
  height: 14px;
  background: #cbd5e1;
}

.fin.left {
  left: -6px;
  transform: skewY(20deg);
}

.fin.right {
  right: -6px;
  transform: skewY(-20deg);
}

/* 🔥 flame */
.flame {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%) scaleY(0);
  width: 12px;
  height: 22px;
  background: radial-gradient(circle at 50% 30%, #fff, #ff0, #ff3d00);
  border-radius: 50%;
  opacity: 0;
}

/* ===== IGNITION ===== */
.missile-btn.ignite .flame {
  transform: translateX(-50%) scaleY(1.4);
  opacity: 1;
  animation: flameFlicker 0.12s infinite alternate;
}

/* ===== LAUNCH ===== */
.missile-btn.launch .missile {
  transform: translateY(-140vh);
}

/* ===== SCREEN SHAKE ===== */
body.shake {
  animation: screenShake 0.4s linear;
}

@keyframes screenShake {
  0% { transform: translate(0,0); }
  25% { transform: translate(-4px, 2px); }
  50% { transform: translate(4px, -2px); }
  75% { transform: translate(-3px, 1px); }
  100% { transform: translate(0,0); }
}

/* flame flicker */
@keyframes flameFlicker {
  from { height: 22px; }
  to { height: 30px; }
}

.missile-container {
  position: relative;
  display: inline-block;
  cursor: pointer;
  margin-top: 30px;
  transition: transform 0.3s ease;
}

.missile-img {
  width: 60px;
  transition: transform 1s ease-in-out;
}

.missile-text {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  font-weight: bold;
  color: #ff6a2f;
}

/* Shake Effect */
.shake {
  animation: shake 0.3s infinite;
}

@keyframes shake {
  0% { transform: translateX(-2px); }
  50% { transform: translateX(2px); }
  100% { transform: translateX(-2px); }
}

/* Launch Animation */
.launch {
  animation: flyUp 1s forwards ease-in;
}

@keyframes flyUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-120vh);
  }
}

/* Flame Glow Effect */
.ignite {
  filter: drop-shadow(0 0 20px orange);
}

.launch-area {
  position: relative;
  display: inline-block;
  margin-top: 40px;
}

/* Missile */
.missile-img {
  width: 50px;
  animation: hoverFloat 2s ease-in-out infinite;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}



/* Floating */
@keyframes hoverFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* Flame */
.flame {
  position: absolute;
  bottom: -25px;
  left: 50%;
  width: 18px;
  height: 35px;
  background: radial-gradient(circle, yellow 10%, orange 40%, red 80%);
  transform: translateX(-50%);
  border-radius: 50%;
  opacity: 0;
  filter: blur(2px);
}

/* Flame Flicker */
.ignite .flame {
  opacity: 1;
  animation: flicker 0.1s infinite alternate;
}

@keyframes flicker {
  from { height: 35px; }
  to { height: 45px; }
}

/* Smoke */
.smoke {
  position: absolute;
  bottom: -50px;
  left: 50%;
  width: 10px;
  height: 10px;
  background: rgba(200,200,200,0.6);
  border-radius: 50%;
  transform: translateX(-50%);
  opacity: 0;
}

.ignite .smoke {
  animation: smokeRise 0.8s infinite;
}

@keyframes smokeRise {
  0% {
    opacity: 0.8;
    transform: translate(-50%, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -40px) scale(2);
  }
}

/* Launch */
.launch {
  animation: flyUp 1.2s forwards ease-in;
}

@keyframes flyUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-150vh); }
}

/* Screen Shake */
.shake {
  animation: shake 0.2s infinite;
}

@keyframes shake {
  0% { transform: translateX(-2px); }
  50% { transform: translateX(2px); }
  100% { transform: translateX(-2px); }
}

/* Glow Blast */
.ignite .missile-img {
  filter: drop-shadow(0 0 20px orange);
}

/* Text */
.missile-text {
  margin-top: 15px;
  font-weight: bold;
  color: #ff6a2f;
}

.launch-area:hover .missile-img {
  transform: scale(1.15);
  filter: drop-shadow(0 0 15px orange);
}

/* Dust Explosion */
.dust {
  position: absolute;
  bottom: -20px;
  left: 50%;
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, #d2b48c 20%, #a67c52 60%, transparent 80%);
  border-radius: 50%;
  transform: translateX(-50%) scale(0);
  opacity: 0;
  z-index: 1;
}

/* Dust animation when ignited */
.ignite .dust {
  animation: dustBlast 0.6s ease-out forwards;
}

@keyframes dustBlast {
  0% {
    transform: translateX(-50%) scale(0.5);
    opacity: 0.8;
  }
  100% {
    transform: translateX(-50%) scale(3);
    opacity: 0;
  }
}

/* Shockwave Ring */
.shockwave {
  position: absolute;
  bottom: -15px;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(200,150,80,0.6);
  border-radius: 50%;
  transform: translateX(-50%) scale(0);
  opacity: 0;
}

.ignite .shockwave {
  animation: shockExpand 0.6s ease-out forwards;
}

@keyframes shockExpand {
  0% {
    transform: translateX(-50%) scale(0.5);
    opacity: 0.7;
  }
  100% {
    transform: translateX(-50%) scale(4);
    opacity: 0;
  }
}

.missile-img {
  pointer-events: none;
}

.flame,
.smoke,
.dust,
.shockwave {
  pointer-events: none;
}

.launch-area {
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 25px;
  margin-top: 30px;
}

/* Rocket container */
.rocket-wrapper {
  position: relative;
}

/* Launch Button */
.launch-btn {
  padding: 12px 26px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, #d84315, #ff5722);
  color: white;
  font-weight: 700;
  cursor: pointer;

  /* Floating feel */
  box-shadow:
    0 8px 18px rgba(0,0,0,0.15),
    0 4px 10px rgba(255,87,34,0.35);

  transition: all 0.3s ease;
}


.launch-btn:hover {
  transform: translateY(-6px) scale(1.06);
  box-shadow:
    0 18px 35px rgba(0,0,0,0.25),
    0 8px 20px rgba(255,87,34,0.45);
}

.launch-btn:active {
  transform: translateY(-2px) scale(0.97);
  box-shadow:
    0 6px 14px rgba(0,0,0,0.2);
}


@media (max-width: 768px) {
  .launch-area {
    flex-direction: column;
    gap: 15px;
  }
}

/* ================= MOBILE FIX FOR UNIVERSE ================= */

@media (max-width: 768px) {

  .universe-section {
    margin-top: 150px;        /* reduce big gap */
    padding: 50px 20px;      /* reduce vertical spacing */
  }

  .universe-section h2 {
    color: #0B1F3A;
    font-size: 28px;         /* smaller heading */
  }

  .universe-sub {
    font-size: 15px;
    margin-bottom: 25px;
  }

  .launch-area {
    flex-direction: column;  /* stack rocket + button */
    align-items: center;
    justify-content: center;
    gap: 18px;
  }

  .missile-img {
    width: 55px;             /* slightly smaller rocket */
  }

  .launch-btn {
    padding: 10px 22px;
    font-size: 14px;
  }

}