/* Custom Additions for SeeBubble */

/* Interactive Bubbles Background */
#interactive-bubbles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.bg-bubble {
  position: absolute;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1), inset 0 0 10px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(2px);
  animation: floatBubble infinite ease-in-out alternate;
  transition: transform 0.2s ease-out;
}

@keyframes floatBubble {
  0% {
    transform: translateY(0) scale(1);
  }

  100% {
    transform: translateY(-50px) scale(1.1);
  }
}

/* Command Demo Section */
.command-demo-section {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.demo-container {
  display: flex;
  align-items: center;
  gap: 4rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .demo-container {
    flex-direction: column;
    padding: 2rem;
  }
}

.demo-text {
  flex: 1;
  color: #fff;
}

.demo-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #fff, #aaa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.demo-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #bbb;
}

.demo-wrapper {
  flex: 1;
  background: #1e1e1e;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
  width: 100%;
  max-width: 500px;
}

.demo-header {
  background: #2d2d2d;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #111;
}

.demo-header .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.demo-header .dot.red {
  background: #ff5f56;
}

.demo-header .dot.yellow {
  background: #ffbd2e;
}

.demo-header .dot.green {
  background: #27c93f;
}

.demo-title {
  color: #888;
  font-family: monospace;
  font-size: 0.9rem;
  margin-left: auto;
  margin-right: auto;
  padding-right: 48px;
  /* Offset the dots */
}

.demo-body {
  padding: 20px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  color: #fff;
  height: 250px;
  display: flex;
  flex-direction: column;
}

.demo-output {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 16px;
  scrollbar-width: none;
  /* Firefox */
}

.demo-output::-webkit-scrollbar {
  display: none;
}

/* Chrome */
.demo-output p {
  margin: 0 0 8px 0;
  line-height: 1.4;
  color: #ccc;
}

.demo-output .system {
  color: #a18cd1;
  font-weight: bold;
}

.demo-input-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.demo-input-line .prompt {
  color: #fe6b8b;
  font-weight: bold;
}

.typewriter-text {
  color: #fff;
}

.cursor {
  animation: blink 1s step-end infinite;
  color: #fff;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Scroll Reveal Animations Base */
.reveal-on-scroll-base {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll-base.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ Section */
.faq-section {
  padding: 6rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  color: #fff;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
}

.faq-question::after {
  content: "+";
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  padding: 0 1.5rem;
  color: #ccc;
  line-height: 1.6;
  opacity: 0;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
  opacity: 1;
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(255, 255, 255, 0.02) 50%, rgba(0, 0, 0, 0) 100%);
}

.testimonials-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-header h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 1rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.testimonial-card::before {
  content: "”";
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.05);
  font-family: serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #fff;
  font-size: 1.2rem;
}

.author-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #fff;
}

.author-info p {
  margin: 0;
  font-size: 0.9rem;
  color: #888;
}

.avatar-1 {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
  color: #333;
}

.avatar-2 {
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
  color: #333;
}

.avatar-3 {
  background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
}
/* =========================================
   Characters Showcase Page Styles
   ========================================= */

.characters-page {
  /* Enforce a cinematic dark theme for the character gallery */
  background: #050505;
  color: #fff;
  min-height: 100vh;
  position: relative;
}

.characters-page .navbar {
  /* Ensure navbar plays nicely with the dark background */
  background: rgba(5, 5, 5, 0.8) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.characters-main {
  padding-top: 120px;
  padding-bottom: 6rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.characters-hero {
  text-align: center;
  padding: 4rem 2rem 6rem;
}

.characters-hero h1 {
  font-size: 4rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #a8a8a8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.characters-hero p {
  font-size: 1.3rem;
  color: #888;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Search & Filter Controls */
.char-controls {
  max-width: 800px;
  margin: 0 auto 4rem auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 10;
}

.search-wrap {
  width: 100%;
}

.search-wrap input {
  width: 100%;
  padding: 1.2rem 2rem;
  font-size: 1.1rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(30, 30, 30, 0.5);
  color: #fff;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.search-wrap input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  background: rgba(40, 40, 40, 0.8);
}

.char-stats {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.char-stats.hidden {
  display: none;
}

.stat-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem 1.5rem;
  border-radius: 16px;
  backdrop-filter: blur(5px);
  min-width: 100px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  background: rgba(30, 30, 30, 0.8);
}

.stat-badge .stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #888;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.stat-badge .stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.stat-badge.total .stat-value { color: #4facfe; }
.stat-badge.male .stat-value { color: #a18cd1; text-shadow: 0 0 10px rgba(161, 140, 209, 0.4); }
.stat-badge.female .stat-value { color: #fbc2eb; text-shadow: 0 0 10px rgba(251, 194, 235, 0.4); }
.stat-badge.animal .stat-value { color: #84fab0; text-shadow: 0 0 10px rgba(132, 250, 176, 0.4); }

.search-wrap input::placeholder {
  color: #888;
}

.filter-wrap {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(20, 20, 20, 0.6);
  color: #aaa;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.filter-btn:hover {
  background: rgba(40, 40, 40, 0.8);
  color: #fff;
}

.filter-btn.active {
  background: #fff;
  color: #000;
  border-color: #fff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.packages-container {
  padding: 0 2rem;
}

.package-section {
  margin-bottom: 5rem;
}

.package-header {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}

.package-title-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0.8rem;
  flex-wrap: wrap;
}

.package-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.5px;
  color: #fff;
}

.pkg-badges {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.pkg-badge {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: #ddd;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pkg-badge.premium {
  background: rgba(255, 204, 0, 0.15);
  color: #ffd700;
  border-color: rgba(255, 204, 0, 0.3);
}

.pkg-badge.free {
  background: rgba(132, 250, 176, 0.15);
  color: #84fab0;
  border-color: rgba(132, 250, 176, 0.3);
}

.pkg-badge.price {
  background: rgba(161, 140, 209, 0.15);
  color: #fbc2eb;
  border-color: rgba(161, 140, 209, 0.3);
}

.pkg-desc {
  font-size: 1.1rem;
  color: #aaa;
  margin: 0;
  line-height: 1.6;
  max-width: 800px;
}

.chars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 3rem 2rem;
}

.char-card {
  background: linear-gradient(145deg, rgba(30, 30, 30, 0.4), rgba(10, 10, 10, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease;
  backdrop-filter: blur(20px);
  position: relative;
}

.char-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
}

.char-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  background: radial-gradient(circle at top center, rgba(255,255,255,0.03) 0%, transparent 80%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem;
}

.char-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.6));
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.6s ease;
}

.char-card:hover .char-img-wrap img {
  transform: scale(1.15) translateY(-10px);
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.8));
}

.char-info {
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  position: absolute;
  bottom: 0;
  width: 100%;
}

.char-info h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.char-info .category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a18cd1;
  font-weight: 700;
}

/* Modal Styles */
.char-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.char-modal.show {
  opacity: 1;
}

.char-modal.hidden {
  display: none !important;
}

.char-modal-content {
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  max-width: 950px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.char-modal.show .char-modal-content {
  transform: translateY(0) scale(1);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-size: 2.5rem;
  color: #666;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 10;
  line-height: 1;
}

.close-modal:hover {
  color: #fff;
  transform: rotate(90deg);
}

.modal-header {
  padding: 3.5rem 3rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  background: radial-gradient(circle at top right, rgba(255,255,255,0.03), transparent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#modal-char-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.6));
  background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent);
  border-radius: 50%;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-title-group h2 {
  font-size: 3.5rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
  color: #fff;
  letter-spacing: -1px;
}

.category-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(161, 140, 209, 0.15);
  color: #a18cd1;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border: 1px solid rgba(161, 140, 209, 0.3);
}

.modal-body {
  padding: 3rem;
}

.char-history {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #aaa;
  margin-bottom: 4rem;
  font-style: italic;
  border-left: 4px solid #a18cd1;
  padding-left: 1.5rem;
}

.modal-body h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #fff;
}

.emotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1.5rem;
}

.emo-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, border-color 0.3s ease;
}

.emo-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.emo-img {
  width: 100%;
  aspect-ratio: 1;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.emo-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 15px rgba(0,0,0,0.4));
  transition: transform 0.3s ease;
}

.emo-card:hover .emo-img img {
  transform: scale(1.1);
}

.emo-img span {
  color: #444;
  font-size: 0.8rem;
  font-weight: 600;
}

.emo-label {
  padding: 1rem 0.5rem;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.emo-label .emoji {
  font-size: 1.5rem;
}

.emo-label .name {
  font-size: 0.75rem;
  color: #aaa;
  text-transform: capitalize;
  line-height: 1.2;
}

.loader {
  border: 4px solid rgba(255,255,255,0.1);
  border-top-color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 4rem auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .modal-header {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  .characters-hero h1 {
    font-size: 2.5rem;
  }
}

/* =========================================
   Character Promo Section (index.html)
   ========================================= */

.character-promo-block {
  max-width: 1200px;
  margin: 0 auto 6rem auto;
  background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(0,0,0,0.05) 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 24px;
  padding: 4rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  .character-promo-block {
    flex-direction: column;
    padding: 3rem 2rem;
    text-align: center;
    gap: 3rem;
  }
}

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

.promo-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: #111; /* Changed to dark for readability */
}

.promo-content p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #444; /* Changed to dark for contrast */
  margin-bottom: 2.5rem;
}

.promo-btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
  color: #000;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 10px 20px rgba(132, 250, 176, 0.2);
}

.promo-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(132, 250, 176, 0.4);
}

.promo-images {
  flex: 1;
  position: relative;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.promo-char {
  position: absolute;
  width: 180px;
  height: 180px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.4));
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(0,0,0,0.05), transparent 60%);
  padding: 10px;
}

.promo-char.char-1 {
  left: -20px;
  top: 40px;
  width: 160px;
  height: 160px;
  z-index: 1;
  animation: floatPromo1 6s ease-in-out infinite alternate;
}

.promo-char.char-2 {
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 250px;
  height: 250px;
  animation: floatPromo2 5s ease-in-out infinite alternate;
}

.promo-char.char-3 {
  right: -20px;
  bottom: 30px;
  width: 170px;
  height: 170px;
  z-index: 2;
  animation: floatPromo3 7s ease-in-out infinite alternate;
}

/* Individual animations to handle both translation and rotation concurrently */
@keyframes floatPromo1 {
  0% { transform: translateY(0px) rotate(-5deg) scale(1); }
  50% { transform: translateY(-15px) rotate(-2deg) scale(1.05); }
  100% { transform: translateY(0px) rotate(-5deg) scale(1); }
}

@keyframes floatPromo2 {
  0% { transform: translateX(-50%) translateY(0px) scale(1); }
  50% { transform: translateX(-50%) translateY(-20px) scale(1.02); }
  100% { transform: translateX(-50%) translateY(0px) scale(1); }
}

@keyframes floatPromo3 {
  0% { transform: translateY(0px) rotate(5deg) scale(1); }
  50% { transform: translateY(-10px) rotate(2deg) scale(1.05); }
  100% { transform: translateY(0px) rotate(5deg) scale(1); }
}
@media (max-width: 900px) {
  .promo-images {
    height: 300px;
    margin-top: 1rem;
    width: 100%;
  }
  
  .promo-char.char-1 {
    width: 110px;
    height: 110px;
    left: 5%;
    top: auto;
    bottom: 20px;
  }
  
  .promo-char.char-3 {
    width: 120px;
    height: 120px;
    right: 5%;
    top: auto;
    bottom: 40px;
  }

  .promo-char.char-2 {
    width: 180px;
    height: 180px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    top: auto;
  }
}

@media (max-width: 480px) {
  .character-promo-block {
    padding: 2.5rem 1.5rem;
    gap: 2rem;
  }
  
  .promo-content h2 {
    font-size: 2.2rem;
  }
  
  .promo-images {
    height: 250px;
  }
  
  .promo-char.char-1 {
    width: 90px;
    height: 90px;
    left: 0;
    bottom: 10px;
  }
  
  .promo-char.char-3 {
    width: 100px;
    height: 100px;
    right: 0;
    bottom: 30px;
  }

  .promo-char.char-2 {
    width: 150px;
    height: 150px;
  }
}

/* Override global navbar active link color */
.navbar a.active:not(.btn-primary) {
  color: #fff !important;
  text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* =========================================
   Logo Sizing Overrides
   ========================================= */
.navbar .logo {
  font-size: 2.8rem !important; /* Huge navbar logo */
  font-weight: 900;
  letter-spacing: -1px;
}

.hero-logo {
  width: 450px !important; /* Huge hero logo */
  max-width: 90vw;
  margin-bottom: 2rem;
}

/* =========================================
   Mobile Performance Overrides
   Prevent "Aw, Snap!" crashes on Mobile Chrome 
   from excessive compositing layers.
   ========================================= */
@media (max-width: 768px) {
  .char-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    /* Make background solid since we lose the blur effect */
    background: linear-gradient(145deg, #1e1e1e, #0a0a0a);
  }
  
  .char-modal {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(0, 0, 0, 0.98);
  }
}

/* =========================================
   Mobile Navbar Overrides
   ========================================= */
.navbar {
  /* Make the navbar semi-transparent glass instead of solid black */
  background: rgba(0, 0, 0, 0.85) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
    flex-wrap: wrap; /* allow wrapping on very small screens */
    gap: 1rem;
  }

  .navbar .logo {
    font-size: 2rem !important;
    flex-basis: 100%; /* Force logo to top row */
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .nav-links {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .nav-links a.btn-primary {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
  
  .lang-toggle {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
}

/* =========================================
   Exclusive Packages Showcase
   ========================================= */

.exclusive-section {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.exclusive-header {
  text-align: center;
  margin-bottom: 4rem;
}

.exclusive-header h2 {
  font-size: 3rem;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.exclusive-header p {
  font-size: 1.2rem;
  color: #ccc;
}

.exclusive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 600px));
  justify-content: center;
  gap: 3rem;
}

.exclusive-card {
  background: linear-gradient(145deg, rgba(25, 25, 25, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.exclusive-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 215, 0, 0.2);
}

.exclusive-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #FFD700, #ff8c00, #FFD700);
  z-index: 5;
}

.exclusive-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.exclusive-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.exclusive-card:hover .exclusive-img-wrap img {
  transform: scale(1.05);
}

.exclusive-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 2rem;
}

.exclusive-price {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  color: #111;
  font-weight: 900;
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
  z-index: 10;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.95rem;
}

.exclusive-info h3 {
  font-size: 1.8rem;
  color: #fff;
  margin: 0 0 0.8rem 0;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.exclusive-info p {
  color: #aaa;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 2rem 0;
  flex: 1;
}

.availability-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.2rem;
  border-radius: 16px;
  margin-top: auto;
}

.availability-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.availability-label {
  color: #FFD700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.availability-numbers {
  color: #fff;
  font-variant-numeric: tabular-nums;
  font-weight: bold;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

.progress-bar-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1.5s cubic-bezier(0.1, 0.8, 0.3, 1);
  box-shadow: 0 0 10px currentColor;
}

.exclusive-card.sold-out {
  opacity: 0.8;
  filter: grayscale(0.9);
  pointer-events: none;
}

.sold-out-stamp {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-15deg);
  background: rgba(255, 50, 50, 0.95);
  color: white;
  padding: 1rem 3rem;
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  border: 4px solid white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
  z-index: 20;
  letter-spacing: 2px;
  white-space: nowrap;
}


.exclusive-chars-preview {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.excl-chars-title {
  color: #FFD700;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 1rem;
}

.excl-chars-list {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 215, 0, 0.5) rgba(0,0,0,0.2);
}

.excl-chars-list::-webkit-scrollbar {
  height: 6px;
}

.excl-chars-list::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.2);
  border-radius: 3px;
}

.excl-chars-list::-webkit-scrollbar-thumb {
  background: rgba(255, 215, 0, 0.5);
  border-radius: 3px;
}

.excl-char-card {
  flex: 0 0 auto;
  width: 90px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 0.8rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  cursor: pointer;
}

.excl-char-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 215, 0, 0.4);
  background: rgba(255, 255, 255, 0.05);
}

.excl-char-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 0.8rem;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.6));
  transition: transform 0.3s ease;
}

.excl-char-card:hover .excl-char-img {
  transform: scale(1.1);
}

.excl-char-name {
  font-size: 0.75rem;
  color: #ddd;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  font-weight: 600;
}
