/* 🧱 Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  color: #fff;
}

/* 🚀 GPU Acceleration for Performance */
.video-bg,
.video-bg video,
.hero-title,
.hero-btn,
.about-image img,
.gallery-item,
.enemy-card {
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.loaded {
  will-change: auto;
}

/* Smooth rendering for parallax sections */
.hero,
.about-section,
.gallery-section,
.enemies-section {
  transform-style: preserve-3d;
}

/* ⚔️ Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 0, 0, 0.3);
  z-index: 10000;
  transform: translateY(-100%);
  opacity: 0;
}

/* 🩸 Logo */
.logo {
  font-size: 1.8rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 2px;
}
.logo span {
  color: #ff2929;
  text-shadow: 0 0 10px #ff0000;
}

/* 🌌 Links */
.nav-links {
  display: flex;
  gap: 2rem;
}
.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #ff0000, #ff7b00);
  transition: width 0.3s ease;
}
.nav-links a:hover::after {
  width: 100%;
}
.nav-links a:hover {
  color: #ff7b00;
  text-shadow: 0 0 10px #ff0000;
}

/* 🍔 Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* 📱 Responsive Navbar */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 60%;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: right 0.5s ease;
    z-index: 9999;
  }

  .nav-links.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
  }
}

/* 🌀 Scroll effect */
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid #ff0000;
  box-shadow: 0 0 20px #ff0000;
}

/* 🎥 Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.2) saturate(1.3);
  transform: translate3d(0, 0, 0);
}

/* 🔥 Hero Title - FIXED: Removed non-composited animation */
.hero-title {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #ff2929;
  text-shadow: 0 0 30px #ff0000, 0 0 60px #ff7b00;
  /* ✅ REMOVED: animation: glowPulse - This was causing the performance warning */
  /* Use subtle transform animation instead if needed */
  animation: subtleGlow 3s infinite alternate ease-in-out;
}

/* ✅ GPU-Accelerated Animation - Uses transform instead of text-shadow */
@keyframes subtleGlow {
  from {
    transform: scale(1);
    opacity: 0.95;
  }
  to {
    transform: scale(1.02);
    opacity: 1;
  }
}

/* 🔘 Hero Button */
.hero-btn {
  margin-top: 2rem;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  background: linear-gradient(90deg, #ff0000, #ff7b00);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-transform: uppercase;
  font-weight: bold;
  box-shadow: 0 0 30px #ff3c00;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 40px #ff6600, 0 0 60px #ff0000;
}

/* 📜 About Section */
.about-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  padding: 100px 5%;
  background: linear-gradient(180deg, #000000 0%, #1a0000 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 30%,
    rgba(255, 50, 0, 0.15),
    transparent 80%
  );
  animation: firePulse 6s infinite ease-in-out;
}

@keyframes firePulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
  }
}

.about-content {
  flex: 1;
  z-index: 2;
}

.about-title {
  font-size: 2.5rem;
  color: transparent;
  background: linear-gradient(90deg, #ff3300, #ff6600, #ffff00);
  -webkit-background-clip: text;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 25px;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 20px;
  text-shadow: 0 0 5px rgba(255, 80, 0, 0.4);
}

.about-btn {
  margin-top: 20px;
  background: linear-gradient(90deg, #ff3300, #ff6600);
  border: none;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 60, 0, 0.5);
  transition: all 0.3s ease;
}

.about-btn:hover {
  background: linear-gradient(90deg, #ff6600, #ff3300);
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 100, 0, 0.8);
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(255, 50, 0, 0.4);
  transition: transform 0.6s ease;
}

.about-image img:hover {
  transform: scale(1.05);
}

/* 🌌 Gallery Section */
.gallery-section {
  position: relative;
  background: radial-gradient(circle at center, #0a0a0a 0%, #000000 100%);
  padding: 5rem 2rem;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.gallery-section::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 0, 0, 0.05) 0%,
    transparent 70%
  );
  animation: pulseGlow 8s infinite ease-in-out;
  z-index: 0;
}

@keyframes pulseGlow {
  0%,
  100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(90deg, #ff3300, #ff6600, #ffff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  z-index: 1;
}

/* 🗡️ Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  justify-content: center;
  z-index: 2;
  position: relative;
}

.gallery-grid .slayer-card,
.gallery-grid .gallery-item {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 69, 0, 0.4);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  backdrop-filter: blur(10px);
}

.gallery-grid img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-grid h3 {
  margin: 0.8rem 0 0.3rem;
  font-size: 1.3rem;
  color: #ff8800;
  letter-spacing: 1px;
}

.gallery-grid p {
  font-size: 0.95rem;
  color: #ddd;
  padding: 0 1rem 1rem;
}

.gallery-grid .slayer-card:hover,
.gallery-grid .gallery-item:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 0 20px rgba(255, 100, 0, 0.7), 0 0 40px rgba(255, 0, 0, 0.3);
}

.gallery-grid img:hover {
  transform: scale(1.1);
}

/* 🔥 Image Preview Modal */
.preview-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.preview-modal img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 30px #ff0000;
}

#closeModal {
  position: absolute;
  top: 30px;
  right: 50px;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s ease;
}

#closeModal:hover {
  color: #ff0000;
}

/* 👹 Enemies Section */
.enemies-section {
  background: radial-gradient(circle at center, #0c0c0c 0%, #000 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 1rem;
  position: relative;
  overflow: hidden;
}

.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-bottom: 2rem;
}

.enemies-grid {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1rem 2rem;
  -webkit-overflow-scrolling: touch;
}

.enemies-grid::-webkit-scrollbar {
  height: 8px;
}
.enemies-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 64, 64, 0.3);
  border-radius: 10px;
}
.enemies-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.enemy-card {
  flex: 0 0 340px;
  background: rgba(30, 30, 30, 0.9);
  border: 1px solid rgba(255, 64, 64, 0.3);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 0 25px rgba(255, 64, 64, 0.15);
  scroll-snap-align: start;
  cursor: pointer;
}

.enemy-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 0 40px rgba(255, 64, 64, 0.4);
}

.enemy-card video {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid rgba(255, 64, 64, 0.3);
  background: #111;
}

.enemy-card h3 {
  font-size: 1.4rem;
  margin: 1rem 0 0.5rem;
  color: #ff6666;
  text-transform: uppercase;
}

.enemy-card p {
  font-size: 0.95rem;
  padding: 0 1rem 1.5rem;
  color: #ddd;
  line-height: 1.5;
}

/* ⚠️ Footer */
.credits {
  text-align: center;
  padding: 30px 10%;
  background: #0a0a0a;
  color: #777;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 80, 0, 0.3);
}

/* 📱 Responsive Design */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .hero-btn {
    font-size: 1rem;
    padding: 0.8rem 2rem;
  }
}

@media (max-width: 900px) {
  .about-section {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    max-width: 350px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 90vh;
  }

  .hero-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }

  .hero-btn {
    padding: 0.7rem 1.8rem;
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .gallery-section {
    padding: 3rem 1.5rem;
  }

  .gallery-grid img {
    height: 220px;
  }

  .gallery-grid p {
    font-size: 0.85rem;
  }

  .enemy-card {
    flex: 0 0 80%;
  }

  .enemy-card video {
    height: 320px;
  }
}

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

  .hero-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .enemy-card {
    flex: 0 0 90%;
  }

  .enemy-card video {
    height: 360px;
  }

  .enemies-grid {
    scrollbar-width: thin;
  }
}

/* 🌊 BREATHING STYLES SECTION - FIXED */
.breathing-styles {
  position: relative;
  background: linear-gradient(180deg, #000000 0%, #0a0a14 100%);
  padding: 5rem 2rem;
  text-align: center;
  color: #fff;
  overflow: visible; /* Changed from hidden */
  min-height: 600px; /* Ensure section has height */
}

.breathing-styles::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(100, 100, 255, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.breathing-styles .section-title {
  position: relative;
  z-index: 10;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #aaa;
  margin-top: -1.5rem;
  margin-bottom: 3rem;
  font-weight: 300;
  letter-spacing: 1px;
  position: relative;
  z-index: 10;
}

/* Styles Grid - FIXED */
.styles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 10; /* Higher z-index */
  padding: 1rem; /* Add padding */
}

/* Style Card - FIXED */
.style-card {
  background: rgba(20, 20, 30, 0.95); /* More opaque */
  border: 2px solid rgba(255, 255, 255, 0.2); /* More visible */
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  backdrop-filter: blur(10px);
  z-index: 1;
  min-height: 350px; /* Ensure cards have height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.style-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.style-card:hover::before {
  opacity: 1;
}

.style-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.4);
  z-index: 2;
}

/* Style Icon - FIXED */
.style-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
  animation: float 3s ease-in-out infinite;
  position: relative;
  z-index: 2;
  display: block;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Animated Glow Effects */
.style-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  opacity: 0;
  filter: blur(40px);
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.style-card:hover .style-glow {
  opacity: 0.6;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.7;
  }
}

/* Individual Glow Colors */
.water-glow {
  background: radial-gradient(circle, #00d4ff, transparent);
}

.flame-glow {
  background: radial-gradient(circle, #ff6600, transparent);
}

.thunder-glow {
  background: radial-gradient(circle, #ffff00, transparent);
}

.wind-glow {
  background: radial-gradient(circle, #00ff88, transparent);
}

.stone-glow {
  background: radial-gradient(circle, #888888, transparent);
}

.mist-glow {
  background: radial-gradient(circle, #aaaaff, transparent);
}

/* Style Card Text - FIXED */
.style-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}

.style-desc {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.style-user {
  font-size: 0.9rem;
  color: #ff8800;
  font-weight: 600;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 2;
}

.style-forms {
  font-size: 0.85rem;
  color: #aaa;
  font-style: italic;
  position: relative;
  z-index: 2;
}

/* Hover Color Effects */
.style-card[data-style="water"]:hover {
  border-color: #00d4ff;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.style-card[data-style="flame"]:hover {
  border-color: #ff6600;
  box-shadow: 0 0 30px rgba(255, 102, 0, 0.3);
}

.style-card[data-style="thunder"]:hover {
  border-color: #ffff00;
  box-shadow: 0 0 30px rgba(255, 255, 0, 0.3);
}

.style-card[data-style="wind"]:hover {
  border-color: #00ff88;
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.3);
}

.style-card[data-style="stone"]:hover {
  border-color: #888888;
  box-shadow: 0 0 30px rgba(136, 136, 136, 0.3);
}

.style-card[data-style="mist"]:hover {
  border-color: #aaaaff;
  box-shadow: 0 0 30px rgba(170, 170, 255, 0.3);
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .styles-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .style-card {
    padding: 1.5rem;
    min-height: 300px;
  }

  .style-icon {
    font-size: 3rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

/* 🔧 BREATHING STYLES FIX - Ensure visibility */
.style-card {
  opacity: 1 !important; /* Force visibility until GSAP takes over */
}

/* Remove this after confirming animations work */

/* 🌊 BREATHING STYLE DETAIL MODAL - FIXED */
.breathing-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  overflow-y: auto;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

.breathing-modal.active {
  display: flex;
  align-items: flex-start; /* Changed from center */
  justify-content: center;
  padding: 4rem 2rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Modal Close Button */
.modal-close {
  position: fixed;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  z-index: 10002;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 0, 0, 0.3);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.modal-close:hover {
  background: rgba(255, 0, 0, 0.6);
  transform: rotate(90deg) scale(1.1);
}

/* Modal Content Container - FIXED */
.breathing-modal-content {
  display: grid;
  grid-template-columns: 400px 1fr; /* Fixed width for left column */
  gap: 3rem;
  max-width: 1300px;
  width: 100%;
  background: linear-gradient(
    135deg,
    rgba(20, 20, 40, 0.98),
    rgba(10, 10, 30, 0.98)
  );
  border-radius: 20px;
  padding: 3rem;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.9);
  position: relative;
  animation: slideUp 0.4s ease;
  margin-top: 2rem;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Left Side - Character Image - FIXED */
.breathing-modal-left {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.breathing-modal-left img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 15px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  display: block;
}

/* Right Side - Details */
.breathing-modal-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  max-height: calc(100vh - 8rem);
  padding-right: 1rem;
}

/* Custom scrollbar */
.breathing-modal-right::-webkit-scrollbar {
  width: 8px;
}

.breathing-modal-right::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.breathing-modal-right::-webkit-scrollbar-thumb {
  background: rgba(255, 100, 0, 0.5);
  border-radius: 10px;
}

.breathing-modal-right::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 100, 0, 0.7);
}

.breathing-badge {
  font-size: 4rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.breathing-modal-right h2 {
  font-size: 2.5rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #ff3300, #ff6600, #ffff00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}

.breathing-modal-right h3 {
  font-size: 1.3rem;
  color: #ff8800;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.breathing-modal-right h4 {
  font-size: 1.2rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  margin-top: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.breathing-description {
  margin-bottom: 1rem;
}

.breathing-description p {
  font-size: 1rem;
  line-height: 1.8;
  color: #ccc;
}

/* Forms and Battles Lists */
.breathing-forms,
.breathing-battles {
  margin-bottom: 1.5rem;
}

.breathing-forms ul,
.breathing-battles ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.breathing-forms li,
.breathing-battles li {
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 0.7rem;
  border-radius: 10px;
  border-left: 4px solid;
  font-size: 0.95rem;
  color: #ddd;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.breathing-forms li::before,
.breathing-battles li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.breathing-forms li:hover,
.breathing-battles li:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(8px);
}

.breathing-forms li:hover::before,
.breathing-battles li:hover::before {
  opacity: 1;
}

/* Stats Bars */
.breathing-stats {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.stat-bar {
  margin-bottom: 1.2rem;
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.stat-progress {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.stat-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff3300, #ff6600, #ff9900);
  border-radius: 10px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0; /* Start at 0 */
  box-shadow: 0 0 10px rgba(255, 100, 0, 0.5);
}

/* Color Variations for Different Styles */
.breathing-modal.water .stat-fill {
  background: linear-gradient(90deg, #00a8ff, #00d4ff);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.breathing-modal.water .breathing-forms li,
.breathing-modal.water .breathing-battles li {
  border-left-color: #00d4ff;
}

.breathing-modal.flame .stat-fill {
  background: linear-gradient(90deg, #ff4400, #ff6600, #ff8800);
  box-shadow: 0 0 10px rgba(255, 102, 0, 0.5);
}

.breathing-modal.flame .breathing-forms li,
.breathing-modal.flame .breathing-battles li {
  border-left-color: #ff6600;
}

.breathing-modal.thunder .stat-fill {
  background: linear-gradient(90deg, #ffdd00, #ffff00);
  box-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.breathing-modal.thunder .breathing-forms li,
.breathing-modal.thunder .breathing-battles li {
  border-left-color: #ffff00;
}

.breathing-modal.wind .stat-fill {
  background: linear-gradient(90deg, #00ff66, #00ff88);
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.breathing-modal.wind .breathing-forms li,
.breathing-modal.wind .breathing-battles li {
  border-left-color: #00ff88;
}

.breathing-modal.stone .stat-fill {
  background: linear-gradient(90deg, #666666, #888888, #aaaaaa);
  box-shadow: 0 0 10px rgba(136, 136, 136, 0.5);
}

.breathing-modal.stone .breathing-forms li,
.breathing-modal.stone .breathing-battles li {
  border-left-color: #888888;
}

.breathing-modal.mist .stat-fill {
  background: linear-gradient(90deg, #8888ff, #aaaaff);
  box-shadow: 0 0 10px rgba(170, 170, 255, 0.5);
}

.breathing-modal.mist .breathing-forms li,
.breathing-modal.mist .breathing-battles li {
  border-left-color: #aaaaff;
}

/* 📱 Responsive */
@media (max-width: 1024px) {
  .breathing-modal-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
    margin-top: 0;
  }

  .breathing-modal-left img {
    height: 400px;
  }

  .breathing-modal-right {
    max-height: none;
  }
}

@media (max-width: 768px) {
  .breathing-modal.active {
    padding: 2rem 1rem;
  }

  .breathing-modal-content {
    padding: 1.5rem;
  }

  .breathing-modal-left img {
    height: 300px;
  }

  .breathing-modal-right h2 {
    font-size: 2rem;
  }

  .modal-close {
    top: 1rem;
    right: 1rem;
    font-size: 2.5rem;
    width: 45px;
    height: 45px;
  }

  .breathing-badge {
    font-size: 3rem;
    width: 70px;
    height: 70px;
  }
}

/* ===== NEW BREATHING STYLES - ADD THESE ===== */

/* Additional Glow Colors */
.insect-glow {
  background: radial-gradient(circle, #dd88ff, transparent);
}

.serpent-glow {
  background: radial-gradient(circle, #cc44ff, transparent);
}

.sound-glow {
  background: radial-gradient(circle, #ff8844, transparent);
}

.love-glow {
  background: radial-gradient(circle, #ff66cc, transparent);
}

.beast-glow {
  background: radial-gradient(circle, #88ff44, transparent);
}

.sun-glow {
  background: radial-gradient(circle, #ffdd44, transparent);
}

/* Hover Effects for New Styles */
.style-card[data-style="insect"]:hover {
  border-color: #dd88ff;
  box-shadow: 0 0 30px rgba(221, 136, 255, 0.3);
}

.style-card[data-style="serpent"]:hover {
  border-color: #cc44ff;
  box-shadow: 0 0 30px rgba(204, 68, 255, 0.3);
}

.style-card[data-style="sound"]:hover {
  border-color: #ff8844;
  box-shadow: 0 0 30px rgba(255, 136, 68, 0.3);
}

.style-card[data-style="love"]:hover {
  border-color: #ff66cc;
  box-shadow: 0 0 30px rgba(255, 102, 204, 0.3);
}

.style-card[data-style="beast"]:hover {
  border-color: #88ff44;
  box-shadow: 0 0 30px rgba(136, 255, 68, 0.3);
}

.style-card[data-style="sun"]:hover {
  border-color: #ffdd44;
  box-shadow: 0 0 30px rgba(255, 221, 68, 0.3);
}

/* Modal Color Themes for New Styles */
.breathing-modal.insect .stat-fill {
  background: linear-gradient(90deg, #cc66ff, #dd88ff);
  box-shadow: 0 0 10px rgba(221, 136, 255, 0.5);
}

.breathing-modal.insect .breathing-forms li,
.breathing-modal.insect .breathing-battles li {
  border-left-color: #dd88ff;
}

.breathing-modal.serpent .stat-fill {
  background: linear-gradient(90deg, #aa22ff, #cc44ff);
  box-shadow: 0 0 10px rgba(204, 68, 255, 0.5);
}

.breathing-modal.serpent .breathing-forms li,
.breathing-modal.serpent .breathing-battles li {
  border-left-color: #cc44ff;
}

.breathing-modal.sound .stat-fill {
  background: linear-gradient(90deg, #ff6622, #ff8844);
  box-shadow: 0 0 10px rgba(255, 136, 68, 0.5);
}

.breathing-modal.sound .breathing-forms li,
.breathing-modal.sound .breathing-battles li {
  border-left-color: #ff8844;
}

.breathing-modal.love .stat-fill {
  background: linear-gradient(90deg, #ff44aa, #ff66cc);
  box-shadow: 0 0 10px rgba(255, 102, 204, 0.5);
}

.breathing-modal.love .breathing-forms li,
.breathing-modal.love .breathing-battles li {
  border-left-color: #ff66cc;
}

.breathing-modal.beast .stat-fill {
  background: linear-gradient(90deg, #66ff22, #88ff44);
  box-shadow: 0 0 10px rgba(136, 255, 68, 0.5);
}

.breathing-modal.beast .breathing-forms li,
.breathing-modal.beast .breathing-battles li {
  border-left-color: #88ff44;
}

.breathing-modal.sun .stat-fill {
  background: linear-gradient(90deg, #ffcc22, #ffdd44, #ffee66);
  box-shadow: 0 0 10px rgba(255, 221, 68, 0.5);
}

.breathing-modal.sun .breathing-forms li,
.breathing-modal.sun .breathing-battles li {
  border-left-color: #ffdd44;
}

/* 📱 Accessibility - Disable animations on user preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
