/*
 * This is a manifest file that'll be compiled into application.css, which will include all the stylesheets accessible from this directory.
 *
 * It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the compiled file.
 *
 * Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details about supported directives.
 *= require_tree .
 *= require_self
 */

/* Spelling History Styles */
.spelling-history-container {
  background-color: #1a202c; /* Dark background */
  border-radius: 0.75rem; /* Rounded corners */
  padding: 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* Subtle shadow */
  color: #e2e8f0; /* Light text color */
}

.spelling-history-container h2 {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 700; /* font-bold */
  color: #93c5fd; /* sky-300 */
  margin-bottom: 1.5rem;
  text-align: center;
}

.spelling-history-container ul {
  list-style: none;
  padding: 0;
}

.spelling-history-container li {
  background-color: #2d3748; /* Darker background for list items */
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid #4a5568; /* Subtle border */
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.spelling-history-container li:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.2), 0 6px 10px -3px rgba(0, 0, 0, 0.08); /* Enhanced shadow on hover */
}

.spelling-history-container li strong {
  color: #a78bfa; /* purple-300 */
  font-weight: 600;
}

.spelling-history-container li br {
  margin-bottom: 0.25rem;
}

.spelling-history-container li:last-child {
  margin-bottom: 0;
}

@import "landing.css";

.spelling-history-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.5rem;
  background-color: #f9fafb;
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.spelling-history-header {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
  text-align: center;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 1rem;
}

.spelling-history-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spelling-attempt-card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  animation: fadeIn 0.5s ease-out;
}

.spelling-attempt-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.spelling-attempt-card strong {
  font-weight: 600;
  color: #374151;
}

.spelling-attempt-card .word {
  font-size: 1.25rem;
  font-weight: 700;
  color: #07379d;
  margin-bottom: 0.5rem;
}

.spelling-attempt-card .response {
  font-family: monospace;
  background-color: #f3f4f6;
  padding: 0.75rem;
  border-radius: 0.5rem;
  white-space: pre-wrap;
  word-wrap: break-word;
  color: #4b5563;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.spelling-attempt-card .date {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: right;
}

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

@import "spelling_history.css";

/* Study List Styles */
.study-list-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: #f9fafb;
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.study-list-header {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 2rem;
  text-align: center;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

.study-list {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 4;
  column-gap: 2rem;
}

.study-list li {
  margin-bottom: 0.75rem;
  break-inside: avoid-column;
}

.study-list li a {
  display: block;
  font-size: 1.125rem;
  color: #374151;
  padding: 0.5rem;
  border-radius: 0.25rem;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
}

.study-list li a:hover {
  background-color: #e5e7eb;
  color: #1f2937;
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .study-list {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .study-list {
    column-count: 2;
  }
}

@media (max-width: 640px) {
  .study-list {
    column-count: 1;
  }
}

/* Profile Quota Link */
.quota-link-container {
  margin: 1.5rem 1.5rem 0.5rem;
  display: flex;
}

.btn-manage-quota {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background-color: #f8fafc;
  color: #07379d;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.btn-manage-quota:hover {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  color: #052870;
}

.mr-2 { margin-right: 0.5rem; }

/* ==== Premium Flash Messages ==== */
.flash-container {
    position: fixed;
    top: 90px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
    align-items: flex-end;
}

@media (max-width: 768px) {
    .flash-container {
        top: 80px;
        right: 16px;
        left: 16px;
        align-items: center;
    }
}

.flash-message {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    min-width: 300px;
    max-width: 450px;
    animation: flashSlideInRight 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards, 
               flashFadeOutRight 0.5s ease 6s forwards;
    opacity: 0;
}

.flash-content {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    padding-right: 48px; /* space for close button */
}

.flash-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 6px;
    transition: all 0.2s;
    font-size: 1.1rem;
}

.flash-close:hover {
    color: #475569;
    background: rgba(0, 0, 0, 0.05);
}

.flash-icon {
    font-size: 1.35rem;
    flex-shrink: 0;
}

.flash-text {
    color: #1e293b;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Notice Styling */
.flash-message.notice .flash-icon {
    color: #10b981;
}

.flash-message.notice .flash-progress {
    background-color: #10b981;
}

/* Alert Styling */
.flash-message.alert .flash-icon {
    color: #ef4444;
}

.flash-message.alert .flash-progress {
    background-color: #ef4444;
}

/* The Animated Progress Bar */
.flash-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    transform-origin: left;
    animation: flashProgressShrink 6s linear forwards;
}

@keyframes flashProgressShrink {
    0% { transform: scaleX(1); }
    100% { transform: scaleX(0); }
}

@keyframes flashSlideInRight {
    0% {
        opacity: 0;
        transform: translateX(100%);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes flashFadeOutRight {
    0% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateX(20px) scale(0.95);
        visibility: hidden;
    }
}

/* Floating XP Bubble & Animations */
@keyframes xpFloatBounce {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-18px) scale(1.06);
    }
}

@keyframes xpBubbleGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(253, 224, 71, 0.6), 0 0 45px rgba(56, 189, 248, 0.35), inset 0 0 15px rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 35px rgba(253, 224, 71, 0.95), 0 0 70px rgba(56, 189, 248, 0.6), inset 0 0 25px rgba(255, 255, 255, 0.7);
    }
}

@keyframes xpPopBurst {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.4);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.2) translateY(-40px);
        opacity: 0;
        filter: blur(6px);
    }
}

.floating-xp-bubble {
    position: fixed;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000005 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.6) 0%, rgba(253, 224, 71, 0.4) 45%, rgba(2, 132, 199, 0.8) 100%);
    border: 3px solid #fde047;
    backdrop-filter: blur(8px);
    cursor: pointer;
    animation: xpFloatBounce 2.2s ease-in-out infinite, xpBubbleGlow 2.2s ease-in-out infinite;
    user-select: none;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: auto !important;
}

.floating-xp-bubble:hover {
    transform: translate(-50%, -50%) scale(1.15) !important;
    border-color: #ffffff;
}

.floating-xp-bubble .xp-bubble-icon {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 2px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.floating-xp-bubble .xp-bubble-amount {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 0 12px rgba(253, 224, 71, 0.9);
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    line-height: 1;
}

.floating-xp-bubble .xp-bubble-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #fde047;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.floating-xp-bubble.popped {
    animation: xpPopBurst 0.5s ease-out forwards !important;
    pointer-events: none;
}

.xp-claimed-toast {
    position: fixed;
    top: 32%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15001;
    background: linear-gradient(135deg, #07379d 0%, #0284c7 100%);
    color: #ffffff;
    padding: 0.65rem 1.5rem;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 30px rgba(7, 55, 157, 0.5);
    border: 2px solid #fde047;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: toastPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastPop {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* ==========================================================================
   Global Level-Up Celebration Modal & Mobile Responsive Scaling
   ========================================================================== */
.level-up-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.4s ease;
  overflow-y: auto;
  box-sizing: border-box;
}

.level-up-card-body {
  background: linear-gradient(145deg, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
  border: 2px solid #fbbf24;
  border-radius: 1.75rem;
  padding: 2.25rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 0 60px rgba(251, 191, 36, 0.4), 0 20px 40px rgba(0, 0, 0, 0.8);
  transform: scale(0.85);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  margin: auto;
}

/* Mobile & Short Viewports (e.g. iPhone X 375x812, 360x640, or landscape) */
@media (max-width: 640px), (max-height: 760px) {
  .level-up-modal-overlay {
    padding: 0.75rem;
    align-items: center;
  }

  .level-up-card-body {
    padding: 1.35rem 1.15rem 1.25rem 1.15rem !important;
    max-width: 360px !important;
    border-radius: 1.25rem !important;
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.35), 0 15px 30px rgba(0, 0, 0, 0.9) !important;
  }

  .level-up-card-body .level-up-crown-icon {
    width: 62px !important;
    height: 62px !important;
    font-size: 2rem !important;
    margin-bottom: 0.65rem !important;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.75) !important;
  }

  .level-up-card-body .level-up-title-text {
    font-size: 1.45rem !important;
    margin-bottom: 0.35rem !important;
  }

  .level-up-card-body .level-up-badge-row {
    padding: 0.3rem 0.85rem !important;
    margin-bottom: 0.75rem !important;
    gap: 0.5rem !important;
  }

  .level-up-card-body .level-up-badge-row span {
    font-size: 0.85rem !important;
  }

  .level-up-card-body .level-up-honey-box {
    padding: 0.65rem 0.85rem !important;
    margin-bottom: 0.75rem !important;
    gap: 0.65rem !important;
  }

  .level-up-card-body .level-up-honey-box span:first-child {
    font-size: 1.8rem !important;
  }

  .level-up-card-body .level-up-honey-box .honey-label {
    font-size: 0.7rem !important;
  }

  .level-up-card-body .level-up-honey-box .honey-amount {
    font-size: 1.15rem !important;
  }

  .level-up-card-body .level-up-progress-box {
    padding: 0.6rem 0.75rem !important;
    margin-bottom: 1rem !important;
  }

  .level-up-card-body .level-up-progress-box .progress-label {
    font-size: 0.75rem !important;
  }

  .level-up-card-body button {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.95rem !important;
    border-radius: 0.85rem !important;
  }
}


/* ==========================================================================
   COSMIC BEE COMPANION & HYPER-COSMIC LASER FX SYSTEM
   ========================================================================== */

/* 1. Base Floating Animation for Cosmic Bee */
.cosmic-bee-svg {
  filter: drop-shadow(0 0 14px rgba(168, 85, 247, 0.65)) drop-shadow(0 0 28px rgba(56, 189, 248, 0.45));
  animation: cosmicBeeHover 3.2s ease-in-out infinite alternate;
  overflow: visible !important;
}

@keyframes cosmicBeeHover {
  0% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }
  50% {
    transform: translateY(-8px) rotate(2deg) scale(1.02);
  }
  100% {
    transform: translateY(6px) rotate(-2deg) scale(0.98);
  }
}

/* Wing Flutters */
.cosmic-bee-wing-left {
  transform-origin: 72px 75px;
  animation: cosmicWingFlutterLeft 0.12s ease-in-out infinite alternate;
}

@keyframes cosmicWingFlutterLeft {
  0% {
    transform: rotate(0deg) scaleY(1);
    opacity: 0.95;
  }
  100% {
    transform: rotate(-22deg) scaleY(0.75);
    opacity: 0.7;
  }
}

.cosmic-bee-wing-right {
  transform-origin: 88px 75px;
  animation: cosmicWingFlutterRight 0.12s ease-in-out infinite alternate;
}

@keyframes cosmicWingFlutterRight {
  0% {
    transform: rotate(0deg) scaleY(1);
    opacity: 0.95;
  }
  100% {
    transform: rotate(22deg) scaleY(0.75);
    opacity: 0.7;
  }
}

/* Orbit Rings */
.cosmic-bee-orbit-rings {
  transform-origin: 80px 88px;
  animation: cosmicRingsSpin 10s linear infinite;
}

@keyframes cosmicRingsSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.05);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* Cosmic Bee Attack & Firing State */
.cosmic-bee-firing {
  animation: cosmicBeeFireRecoil 0.75s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards !important;
}

@keyframes cosmicBeeFireRecoil {
  0% {
    transform: scale(1) translateY(0) rotate(0deg);
  }
  25% {
    transform: scale(1.22) translateY(-14px) rotate(-12deg);
    filter: drop-shadow(0 0 25px #ffffff) drop-shadow(0 0 45px #38bdf8) drop-shadow(0 0 65px #ec4899);
  }
  40% {
    transform: scale(1.28) translateY(6px) rotate(18deg);
  }
  75% {
    transform: scale(1.08) translateY(-4px) rotate(-4deg);
  }
  100% {
    transform: scale(1) translateY(0) rotate(0deg);
  }
}

/* Companion Container in Practice Arena */
.practice-cosmic-bee-companion {
  position: absolute;
  top: -45px;
  right: -35px;
  width: 95px;
  height: 95px;
  pointer-events: none;
  z-index: 40;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .practice-cosmic-bee-companion {
    top: -30px;
    right: -15px;
    width: 72px;
    height: 72px;
  }
}

/* Companion Container in Word Duel */
.duel-cosmic-bee-companion {
  position: absolute;
  top: -25px;
  right: -25px;
  width: 78px;
  height: 78px;
  pointer-events: none;
  z-index: 50;
  transition: all 0.3s ease;
}

/* Cosmic Laser Beam Canvas & Full Screen FX */
.cosmic-laser-canvas-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999999;
}

/* Enhanced Cosmic Bee Visual Anchors */
.practice-cosmic-bee-companion {
  position: absolute;
  top: -20px;
  right: 15px;
  width: 105px;
  height: 105px;
  pointer-events: none;
  z-index: 9999;
  filter: drop-shadow(0 0 16px rgba(168, 85, 247, 0.7)) drop-shadow(0 0 32px rgba(56, 189, 248, 0.5));
}

.duel-cosmic-bee-companion {
  position: absolute;
  top: -35px;
  right: -30px;
  width: 90px;
  height: 90px;
  pointer-events: none;
  z-index: 9999;
  filter: drop-shadow(0 0 16px rgba(168, 85, 247, 0.7)) drop-shadow(0 0 32px rgba(56, 189, 248, 0.5));
}

@keyframes cosmicBeeFireRecoil {
  0% {
    transform: scale(1) translateY(0) rotate(0deg);
    filter: drop-shadow(0 0 14px rgba(168, 85, 247, 0.65));
  }
  20% {
    transform: scale(1.35) translateY(-20px) rotate(-18deg);
    filter: drop-shadow(0 0 35px #ffffff) drop-shadow(0 0 55px #38bdf8) drop-shadow(0 0 85px #ec4899);
  }
  45% {
    transform: scale(1.4) translateY(12px) rotate(24deg);
    filter: drop-shadow(0 0 40px #67e8f9) drop-shadow(0 0 70px #f43f5e);
  }
  75% {
    transform: scale(1.12) translateY(-6px) rotate(-6deg);
  }
  100% {
    transform: scale(1) translateY(0) rotate(0deg);
  }
}


/* ==========================================================================
   ANIMATED WATERCOLOR GALAXY TEXTURE SHADER ANIMATIONS
   ========================================================================== */

.galaxy-nebula-flow-1 {
  transform-origin: 80px 80px;
  animation: galaxyNebulaDrift1 14s ease-in-out infinite alternate;
}

@keyframes galaxyNebulaDrift1 {
  0% {
    transform: rotate(0deg) scale(1);
    opacity: 0.75;
  }
  50% {
    transform: rotate(15deg) scale(1.12) translate(-4px, 6px);
    opacity: 0.9;
  }
  100% {
    transform: rotate(-20deg) scale(0.92) translate(6px, -4px);
    opacity: 0.7;
  }
}

.galaxy-nebula-flow-2 {
  transform-origin: 80px 80px;
  animation: galaxyNebulaDrift2 10s ease-in-out infinite alternate;
}

@keyframes galaxyNebulaDrift2 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.65;
  }
  50% {
    transform: translate(8px, -10px) scale(1.18);
    opacity: 0.85;
  }
  100% {
    transform: translate(-10px, 8px) scale(0.9);
    opacity: 0.6;
  }
}

.galaxy-starfield-group {
  animation: galaxyStarsTwinkle 3.5s ease-in-out infinite alternate;
}

@keyframes galaxyStarsTwinkle {
  0% {
    opacity: 0.75;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.4));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.95)) drop-shadow(0 0 10px rgba(56, 189, 248, 0.8));
  }
  100% {
    opacity: 0.82;
    filter: drop-shadow(0 0 3px rgba(192, 132, 252, 0.6));
  }
}

.galaxy-plasma-stripe-1 {
  animation: galaxyStripeWave 2.8s ease-in-out infinite alternate;
}

.galaxy-plasma-stripe-2 {
  animation: galaxyStripeWave 2.8s ease-in-out 0.4s infinite alternate;
}

.galaxy-plasma-stripe-3 {
  animation: galaxyStripeWave 2.8s ease-in-out 0.8s infinite alternate;
}

@keyframes galaxyStripeWave {
  0% {
    opacity: 0.85;
    filter: drop-shadow(0 0 4px #38bdf8);
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 12px #e879f9) drop-shadow(0 0 20px #67e8f9);
  }
  100% {
    opacity: 0.9;
    filter: drop-shadow(0 0 6px #f43f5e);
  }
}

.galaxy-bee-outer-aura {
  transform-origin: 80px 80px;
  animation: galaxyAuraBreathe 4.5s ease-in-out infinite alternate;
}

@keyframes galaxyAuraBreathe {
  0% {
    transform: scale(0.92);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.65;
  }
  100% {
    transform: scale(0.96);
    opacity: 0.35;
  }
}


/* ==========================================================================
   PASE DEL PANAL (BATTLE PASS & MISSIONS SYSTEM)
   ========================================================================== */

.bp-container {
  max-width: 1240px;
  margin: 2rem auto;
  padding: 0 1.25rem 4rem;
}

/* Hero Section */
.bp-hero-card {
  position: relative;
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 50%, #0b0e2b 100%);
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  border-radius: 1.5rem;
  padding: 2.25rem 2rem;
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.15), 0 20px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  margin-bottom: 2rem;
}

.bp-hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.18) 0%, transparent 60%),
              radial-gradient(circle at 15% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

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

.bp-season-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde047;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.bp-season-dot {
  width: 8px;
  height: 8px;
  background: #f59e0b;
  border-radius: 50%;
  box-shadow: 0 0 10px #f59e0b;
  animation: pulseDot 1.5s infinite;
}

.bp-header-flex {
  display: flex;
  flex-direction: column;
  md-flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .bp-header-flex {
    flex-direction: row;
    align-items: center;
  }
}

.bp-title {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .bp-title {
    font-size: 2.5rem;
  }
}

.bp-title-gradient {
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 50%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bp-subtitle {
  color: #94a3b8;
  font-size: 0.95rem;
  max-width: 650px;
  line-height: 1.55;
}

/* Status / Upgrade Box */
.bp-status-box {
  background: rgba(15, 23, 42, 0.7);
  border-radius: 1rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-blur: 8px;
}

.bp-status-box.is-premium {
  border-color: rgba(245, 158, 11, 0.4);
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(168, 85, 247, 0.15));
}

.bp-premium-active-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-bp-upgrade {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
  border-radius: 0.75rem;
  border: none;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-bp-upgrade:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.btn-bp-upgrade-sm {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.82rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.6rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-bp-upgrade-sm:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

/* Level Card inside Hero */
.bp-level-card {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
}

@media (min-width: 640px) {
  .bp-level-card {
    flex-direction: row;
    align-items: center;
  }
}

.bp-level-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, #312e81, #1e1b4b);
  border: 2.5px solid #f59e0b;
  border-radius: 1.25rem;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.4);
  flex-shrink: 0;
}

.bp-level-label {
  font-size: 0.65rem;
  font-weight: 800;
  color: #fde047;
  letter-spacing: 0.05em;
}

.bp-level-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.bp-level-max {
  font-size: 0.7rem;
  color: #94a3b8;
}

.bp-progress-col {
  flex: 1;
}

.bp-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: #e2e8f0;
  margin-bottom: 0.5rem;
}

.bp-progress-pct {
  font-weight: 800;
  color: #f59e0b;
}

.bp-progress-track {
  position: relative;
  height: 16px;
  background: rgba(30, 41, 59, 0.9);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.bp-progress-fill {
  position: relative;
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #67e8f9);
  border-radius: 9999px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bp-progress-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shineTrack 2s infinite;
}

.bp-progress-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #94a3b8;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Tabs */
.bp-tabs-wrapper {
  display: flex;
  gap: 0.75rem;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
  overflow-x: auto;
}

.bp-tab-btn {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.bp-tab-btn:hover {
  background: rgba(51, 65, 85, 0.8);
  color: #ffffff;
}

.bp-tab-btn.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(168, 85, 247, 0.2));
  border-color: #f59e0b;
  color: #fde047;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

/* Missions Grid */
.bp-missions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .bp-missions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.bp-mission-column {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 1.5rem;
  backdrop-filter: blur(8px);
}

.bp-column-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1rem;
}

.bp-col-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.bp-col-desc {
  font-size: 0.8rem;
  color: #94a3b8;
}

.bp-timer-pill {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  white-space: nowrap;
}

.bp-missions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bp-mission-item-card {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1rem;
  transition: all 0.2s ease;
}

.bp-mission-item-card:hover {
  background: rgba(30, 41, 59, 0.9);
  border-color: rgba(255, 255, 255, 0.2);
}

.bp-mission-item-card.is-completed {
  border-color: rgba(16, 185, 129, 0.5);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(6, 78, 59, 0.3));
}

.bp-mission-item-card.weekly-card.is-completed {
  border-color: rgba(168, 85, 247, 0.5);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(88, 28, 135, 0.3));
}

.bp-mission-item-card.is-claimed {
  opacity: 0.75;
  border-color: rgba(255, 255, 255, 0.05);
}

.bp-mission-top {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.bp-mission-icon-box {
  width: 44px;
  height: 44px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.bp-mission-meta {
  flex: 1;
}

.bp-mission-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.bp-mission-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.4;
}

.bp-mission-xp-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.65rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.bp-mission-xp-badge.bp-xp-weekly {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.bp-mission-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bp-mission-progress-bar-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bp-mission-progress-bar {
  flex: 1;
  height: 8px;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 9999px;
  overflow: hidden;
}

.bp-mission-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 9999px;
  transition: width 0.3s ease;
}

.bp-mission-progress-fill.bp-fill-weekly {
  background: linear-gradient(90deg, #a855f7, #c084fc);
}

.bp-mission-counter {
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  min-width: 45px;
  text-align: right;
}

.bp-btn-claim {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.45rem 0.9rem;
  border-radius: 0.6rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
  transition: all 0.2s ease;
}

.bp-btn-claim:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #34d399, #10b981);
}

.bp-btn-claimed {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  display: inline-flex;
  align-items: center;
}

.bp-btn-in-progress {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

/* Roadmap Grid (30 Levels) */
.bp-roadmap-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: gap-4;
}

.bp-levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

.bp-level-track-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  padding: 1.25rem;
  position: relative;
  transition: all 0.25s ease;
}

.bp-level-track-card.level-reached {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.1);
}

.bp-level-track-card.level-current {
  border-color: #f59e0b;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
  transform: scale(1.02);
}

.bp-level-track-card.level-milestone {
  border-color: #ec4899;
  background: linear-gradient(135deg, rgba(30, 27, 75, 0.9), rgba(15, 23, 42, 0.9));
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.25);
}

.bp-track-level-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
}

.bp-track-lvl-pill {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fde047;
}

.bp-track-current-tag {
  background: #f59e0b;
  color: #0f172a;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.bp-track-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.75rem;
  margin-bottom: 0.5rem;
}

.bp-free-row {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bp-premium-row {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(168, 85, 247, 0.12));
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.bp-premium-row.milestone-exclusive-box {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(168, 85, 247, 0.2));
  border: 1px solid rgba(236, 72, 153, 0.45);
}

.bp-track-label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  min-width: 50px;
}

.bp-track-reward-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bp-reward-icon {
  font-size: 1.25rem;
}

.bp-reward-name {
  font-size: 0.8rem;
  color: #ffffff;
  line-height: 1.3;
}

.bp-coming-soon-pill {
  font-size: 0.65rem;
  font-weight: 800;
  color: #f472b6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.15rem;
}

.btn-claim-track {
  background: #10b981;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-claim-track:hover {
  background: #34d399;
}

.btn-claim-track.btn-claim-premium {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.btn-claim-track.btn-upgrade-to-claim {
  background: rgba(245, 158, 11, 0.25);
  border: 1px solid #f59e0b;
  color: #fde047;
}

.bp-reward-claimed {
  font-size: 0.75rem;
  font-weight: 700;
  color: #94a3b8;
}

.bp-reward-locked {
  font-size: 0.7rem;
  color: #64748b;
}

.bp-reward-coming-soon {
  background: rgba(236, 72, 153, 0.2);
  border: 1px solid rgba(236, 72, 153, 0.5);
  color: #f472b6;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
  border-radius: 0.4rem;
  text-transform: uppercase;
}

/* Store Battle Pass Banner Section */
.store-battle-pass-section {
  margin: 3rem 0 2rem;
}

.store-bp-banner-card {
  position: relative;
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 60%, #1e1b4b 100%);
  border: 2px solid rgba(245, 158, 11, 0.5);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 0 40px rgba(245, 158, 11, 0.2);
  overflow: hidden;
}

.store-bp-banner-card.is-owned {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 35px rgba(16, 185, 129, 0.15);
}

.store-bp-content-flex {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  .store-bp-content-flex {
    flex-direction: row;
    align-items: center;
  }
}

.store-bp-visual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.7);
  border: 1.5px solid rgba(245, 158, 11, 0.35);
  border-radius: 1.25rem;
  padding: 1.25rem;
  min-width: 140px;
  flex-shrink: 0;
}

.store-bp-season-badge {
  font-size: 0.65rem;
  font-weight: 900;
  color: #f59e0b;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.store-bp-main-icon {
  font-size: 2.75rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.5));
}

.store-bp-level-indicator {
  font-size: 0.75rem;
  font-weight: 800;
  color: #cbd5e1;
}

.store-bp-info-col {
  flex: 1;
}

.store-bp-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ffffff;
}

.store-bp-tag-active {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid #10b981;
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

.store-bp-tag-season {
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid #f59e0b;
  color: #fde047;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

.store-bp-desc {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.store-bp-perks-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.store-bp-perk-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.7);
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.store-bp-action-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  min-width: 180px;
  flex-shrink: 0;
}

.store-bp-price-box {
  text-align: center;
}

.store-bp-price-label {
  display: block;
  font-size: 0.7rem;
  color: #94a3b8;
  text-transform: uppercase;
}

.store-bp-price-val {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fbbf24;
}

.store-bp-price-val.price-owned {
  color: #34d399;
}

.btn-store-bp-buy {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.85rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
  transition: all 0.2s ease;
  width: 100%;
}

.btn-store-bp-buy:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.btn-store-bp-view {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.85rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  transition: all 0.2s ease;
  width: 100%;
}

.btn-store-bp-view:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #60a5fa, #2563eb);
}

/* Navbar Battle Pass Badge */
.nav-bp-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde047;
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-bp-badge:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
  transform: translateY(-1px);
}

.nav-bp-badge.nav-bp-premium {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(168, 85, 247, 0.25));
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.3);
}

.nav-bp-label {
  font-size: 0.7rem;
  color: #94a3b8;
  font-weight: 600;
}


/* High-Contrast Readability Enhancements for Battle Pass */
.bp-subtitle {
  color: #f1f5f9 !important;
  font-size: 1rem !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.bp-col-desc {
  color: #f8fafc !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
}

.bp-mission-desc {
  color: #f8fafc !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.bp-mission-counter {
  color: #ffffff !important;
  font-size: 0.82rem !important;
  font-weight: 900 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.bp-progress-text {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.bp-progress-footer {
  color: #f8fafc !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.bp-track-label {
  color: #f8fafc !important;
  font-weight: 900 !important;
  font-size: 0.75rem !important;
}

.bp-reward-name {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.bp-reward-locked {
  color: #cbd5e1 !important;
  font-weight: 700 !important;
}

.bp-btn-in-progress {
  color: #93c5fd !important;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 0.4rem;
  font-size: 0.75rem !important;
  font-weight: 800 !important;
}

.btn-inventory-bp-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4) !important;
  background: linear-gradient(135deg, #312e81, #4338ca) !important;
}


/* ==========================================================================
   ULTRA-HIGH CONTRAST & VISIBILITY FOR PASE DEL PANAL (BATTLE PASS)
   ========================================================================== */

.bp-container {
  max-width: 1240px;
  margin: 2rem auto;
  padding: 0 1.25rem 4rem;
}

.bp-hero-card {
  position: relative;
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #020617 100%) !important;
  border: 2px solid #f59e0b !important;
  border-radius: 1.5rem !important;
  padding: 2.25rem 2rem !important;
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.25), 0 20px 40px rgba(0, 0, 0, 0.8) !important;
  overflow: hidden;
  margin-bottom: 2rem;
}

.bp-title {
  color: #ffffff !important;
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8) !important;
}

.bp-title-gradient {
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 60%, #fb923c 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 2px 8px rgba(245, 158, 11, 0.4));
}

.bp-subtitle {
  color: #f8fafc !important;
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7) !important;
}

.bp-level-card {
  background: rgba(2, 6, 23, 0.9) !important;
  border: 2px solid #334155 !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6) !important;
}

.bp-level-badge {
  background: linear-gradient(135deg, #1e1b4b, #312e81) !important;
  border: 2.5px solid #f59e0b !important;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.5) !important;
}

.bp-level-label {
  color: #fde047 !important;
  font-weight: 900 !important;
  font-size: 0.75rem !important;
}

.bp-level-num {
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 2.4rem !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8) !important;
}

.bp-level-max {
  color: #94a3b8 !important;
  font-weight: 800 !important;
  font-size: 0.8rem !important;
}

.bp-progress-header {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
}

.bp-progress-text strong {
  color: #fde047 !important;
  font-weight: 900 !important;
}

.bp-progress-pct {
  color: #38bdf8 !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
}

.bp-progress-footer {
  color: #f1f5f9 !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important;
}

.bp-progress-footer strong {
  color: #fbbf24 !important;
}

/* TABS FIX (High Contrast & Visible) */
.bp-tabs-wrapper {
  display: flex;
  gap: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.15) !important;
  padding-bottom: 1rem !important;
  margin-bottom: 2rem !important;
}

.bp-tab-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  background: #0f172a !important;
  border: 2px solid #475569 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  padding: 0.85rem 1.8rem !important;
  border-radius: 1rem !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  white-space: nowrap !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4) !important;
}

.bp-tab-btn:hover {
  background: #1e293b !important;
  border-color: #f59e0b !important;
  color: #fde047 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5) !important;
}

.bp-tab-btn.active {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
  border-color: #fde047 !important;
  color: #0f172a !important;
  font-weight: 900 !important;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.5) !important;
  transform: translateY(-1px) !important;
}

.bp-tab-btn.active i {
  color: #0f172a !important;
}

/* Missions Cards Visibility */
.bp-mission-column {
  background: #0f172a !important;
  border: 2px solid #334155 !important;
  border-radius: 1.25rem !important;
  padding: 1.5rem !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.bp-col-title {
  color: #ffffff !important;
  font-size: 1.35rem !important;
  font-weight: 900 !important;
}

.bp-col-desc {
  color: #e2e8f0 !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
}

.bp-timer-pill {
  background: #1e293b !important;
  border: 1.5px solid #475569 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.85rem !important;
}

.bp-mission-item-card {
  background: #1e293b !important;
  border: 1.5px solid #334155 !important;
}

.bp-mission-item-card:hover {
  background: #283548 !important;
  border-color: #64748b !important;
}

.bp-mission-title {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
}

.bp-mission-desc {
  color: #f1f5f9 !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
}

.bp-mission-counter {
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 900 !important;
}

/* Roadmap Levels Visibility */
.bp-level-track-card {
  background: #0f172a !important;
  border: 2px solid #334155 !important;
}

.bp-level-track-card.level-reached {
  border-color: #f59e0b !important;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.25) !important;
}

.bp-level-track-card.level-milestone {
  border-color: #ec4899 !important;
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%) !important;
  box-shadow: 0 0 30px rgba(236, 72, 153, 0.3) !important;
}

.bp-track-lvl-pill {
  color: #fde047 !important;
  font-size: 1rem !important;
  font-weight: 900 !important;
}

.bp-free-row {
  background: #1e293b !important;
  border: 1.5px solid #334155 !important;
}

.bp-premium-row {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(168, 85, 247, 0.2)) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.45) !important;
}

.bp-reward-name {
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 0.9rem !important;
}

.bp-reward-name.text-amber-200 {
  color: #fef08a !important;
}

.bp-coming-soon-pill {
  color: #f472b6 !important;
  font-weight: 900 !important;
  font-size: 0.72rem !important;
}


/* Pure White High Contrast for Pase Premium Activo Box */
.bp-status-box {
  background: rgba(15, 23, 42, 0.95) !important;
  border-radius: 1rem !important;
  padding: 0.9rem 1.4rem !important;
  border: 2px solid #475569 !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5) !important;
}

.bp-status-box.is-premium {
  border: 2.5px solid #f59e0b !important;
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%) !important;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.35) !important;
}

.bp-premium-title {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
  line-height: 1.2 !important;
}

.bp-premium-subtitle {
  color: #ffffff !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8) !important;
  margin-top: 0.15rem !important;
}
