/* ============================================
   MLBB Boost - Prices Page Styles v2.0
   Premium Modern Design
   ============================================ */

.prices-page {
  background: linear-gradient(135deg, #0A1A2F 0%, #0D2341 50%, #0A1A2F 100%);
  min-height: 100vh;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}

/* Hero Section */
.prices-hero {
  position: relative;
  padding: 120px 0 60px;
  text-align: center;
  overflow: hidden;
}

.prices-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(0, 255, 157, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 157, 0.08) 0%, transparent 70%);
  animation: heroGlow 6s ease-in-out infinite;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(0, 255, 157, 0.1);
  border: 1px solid rgba(0, 255, 157, 0.2);
  border-radius: 50px;
  color: var(--accent-green);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.prices-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #fff 0%, var(--accent-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  z-index: 1;
}

.prices-subtitle {
  font-size: 1.15rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-cta {
  position: relative;
  z-index: 1;
}

.calc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  background: linear-gradient(135deg, var(--accent-green), #00b377);
  border-radius: 50px;
  color: var(--primary-dark);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.calc-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 255, 157, 0.35);
}

/* Loading indicator */
.loading-indicator {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  color: var(--accent-green);
  font-size: 1.1rem;
}

.loading-indicator.visible {
  display: flex;
}

.loading-indicator i {
  font-size: 1.5rem;
}

/* Legend - Compact Row */
.prices-legend {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50px;
  border: 1px solid rgba(0, 255, 157, 0.1);
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.legend-item i {
  font-size: 1rem;
  color: var(--accent-green);
}

.legend-item span {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-light);
}

/* Prices Grid */
.prices-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

/* Rank Price Card */
.rank-price-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(0, 255, 157, 0.1);
  transition: all 0.3s ease;
}

.rank-price-card:hover {
  border-color: rgba(0, 255, 157, 0.3);
  box-shadow: 0 10px 40px rgba(0, 255, 157, 0.1);
  transform: translateY(-2px);
}

/* Rank Images */
.rank-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.rank-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.rank-img.single {
  width: 100px;
  height: 100px;
}

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

/* Rank Info */
.rank-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rank-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
  background: linear-gradient(90deg, var(--primary-light), var(--accent-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Prices Row */
.prices-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.price-item {
  text-align: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.price-item:hover {
  background: rgba(0, 255, 157, 0.1);
}

.price-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
}

.price-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-green);
  transition: all 0.3s ease;
}

.price-value.animate {
  animation: priceUpdate 0.6s ease;
}

@keyframes priceUpdate {
  0% {
    transform: scale(1);
    color: var(--accent-green);
  }
  50% {
    transform: scale(1.2);
    color: #fff;
  }
  100% {
    transform: scale(1);
    color: var(--accent-green);
  }
}

/* ============================================
   Rising Section
   ============================================ */

.rising-section {
  margin-bottom: 4rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(255, 157, 0, 0.1), rgba(255, 100, 0, 0.05));
  border-radius: 24px;
  border: 1px solid rgba(255, 157, 0, 0.2);
}

.rising-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.rising-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(255, 157, 0, 0.3));
}

.rising-title-block h2 {
  font-size: 2rem;
  background: linear-gradient(90deg, #FF9D00, #FF6400);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.rising-title-block p {
  color: var(--text-gray);
  font-size: 1.1rem;
  margin: 0;
}

/* Rising Prices Grid */
.rising-prices-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.rising-price-card {
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  border: 1px solid rgba(255, 157, 0, 0.2);
  text-align: center;
  transition: all 0.3s ease;
}

.rising-price-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 157, 0, 0.5);
  box-shadow: 0 10px 30px rgba(255, 157, 0, 0.15);
}

.rising-price-card.highlight {
  background: linear-gradient(135deg, rgba(255, 157, 0, 0.2), rgba(255, 100, 0, 0.1));
  border-color: rgba(255, 157, 0, 0.5);
}

.stage-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #FF9D00, #FF6400);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.stage-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 0.5rem;
}

.stage-price {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-light);
}

/* Rising CTA */
.rising-cta {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 157, 0, 0.2);
}

.rising-cta p {
  color: var(--text-gray);
  margin-bottom: 1rem;
}

.rising-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #FF9D00, #FF6400);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.rising-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 157, 0, 0.3);
}

/* ============================================
   Disclaimer and CTA
   ============================================ */

.prices-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: rgba(0, 163, 255, 0.1);
  border-radius: 12px;
  border-left: 4px solid #00A3FF;
  margin-bottom: 3rem;
}

.prices-disclaimer i {
  color: #00A3FF;
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.prices-disclaimer p {
  color: var(--text-gray);
  margin: 0;
  line-height: 1.6;
}

.prices-disclaimer a {
  color: var(--accent-green);
  text-decoration: none;
  font-weight: 500;
}

.prices-disclaimer a:hover {
  text-decoration: underline;
}

/* CTA Block */
.prices-cta-block {
  text-align: center;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  border: 1px solid rgba(0, 255, 157, 0.15);
}

.prices-cta-block h3 {
  font-size: 1.8rem;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

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

.prices-cta-block .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.prices-cta-block .cta-button.primary {
  background: linear-gradient(135deg, var(--accent-green), #00b377);
  color: var(--primary-dark);
}

.prices-cta-block .cta-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-light);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.prices-cta-block .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 255, 157, 0.2);
}

/* ============================================
   Responsive Styles
   ============================================ */

@media (max-width: 1200px) {
  .prices-legend {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .rising-prices-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1024px) {
  .rank-price-card {
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .rank-img {
    width: 60px;
    height: 60px;
  }
  
  .rank-img.single {
    width: 80px;
    height: 80px;
  }
  
  .rank-name {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }
  
  .prices-row {
    gap: 0.75rem;
  }
  
  .price-item {
    padding: 0.75rem;
  }
  
  .price-value {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .prices-page {
    padding: 100px 1rem 3rem;
  }
  
  .prices-title {
    font-size: 2.5rem;
  }
  
  .prices-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .prices-legend {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1rem;
  }
  
  .legend-item {
    padding: 0.75rem;
  }
  
  .legend-item i {
    font-size: 1.25rem;
  }
  
  .legend-item span {
    font-size: 0.9rem;
  }
  
  .legend-item p {
    font-size: 0.75rem;
  }
  
  .rank-price-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }
  
  .rank-images {
    justify-content: flex-start;
  }
  
  .rank-img {
    width: 50px;
    height: 50px;
  }
  
  .rank-img.single {
    width: 60px;
    height: 60px;
  }
  
  .rank-name {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }
  
  .prices-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .price-item {
    padding: 0.75rem 0.5rem;
  }
  
  .price-label {
    font-size: 0.75rem;
  }
  
  .price-value {
    font-size: 1rem;
  }
  
  /* Rising Section Mobile */
  .rising-section {
    padding: 1.5rem;
  }
  
  .rising-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .rising-icon {
    width: 80px;
    height: 80px;
  }
  
  .rising-title-block h2 {
    font-size: 1.5rem;
  }
  
  .rising-prices-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .rising-price-card {
    padding: 1rem;
  }
  
  .stage-number {
    font-size: 2rem;
  }
  
  .stage-price {
    font-size: 1rem;
  }
  
  .rising-button {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  /* CTA Block Mobile */
  .prices-cta-block {
    padding: 2rem 1.5rem;
  }
  
  .prices-cta-block h3 {
    font-size: 1.4rem;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .prices-cta-block .cta-button {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
  
  .prices-disclaimer {
    padding: 1rem 1.25rem;
  }
  
  .prices-disclaimer p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .prices-page {
    padding: 90px 0.75rem 2rem;
  }
  
  .prices-title {
    font-size: 2rem;
  }
  
  .prices-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  
  .prices-legend {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    padding: 0.75rem;
    margin-bottom: 2rem;
  }
  
  .legend-item {
    padding: 0.5rem;
  }
  
  .legend-item i {
    font-size: 1rem;
    margin-bottom: 0.25rem;
  }
  
  .legend-item span {
    font-size: 0.8rem;
  }
  
  .legend-item p {
    display: none;
  }
  
  .prices-grid {
    gap: 1rem;
    margin-bottom: 3rem;
  }
  
  .rank-price-card {
    padding: 1rem;
    border-radius: 16px;
  }
  
  .rank-images {
    gap: 0.5rem;
  }
  
  .rank-img {
    width: 45px;
    height: 45px;
  }
  
  .rank-img.single {
    width: 55px;
    height: 55px;
  }
  
  .rank-name {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .prices-row {
    gap: 0.4rem;
  }
  
  .price-item {
    padding: 0.6rem 0.4rem;
    border-radius: 8px;
  }
  
  .price-label {
    font-size: 0.7rem;
    margin-bottom: 0.25rem;
  }
  
  .price-value {
    font-size: 0.95rem;
  }
  
  .rising-section {
    padding: 1.25rem;
    border-radius: 16px;
    margin-bottom: 3rem;
  }
  
  .rising-icon {
    width: 60px;
    height: 60px;
  }
  
  .rising-title-block h2 {
    font-size: 1.3rem;
  }
  
  .rising-title-block p {
    font-size: 0.9rem;
  }
  
  .rising-prices-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .rising-price-card {
    padding: 0.875rem;
    border-radius: 12px;
  }
  
  .stage-number {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
  }
  
  .stage-label {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
  }
  
  .stage-price {
    font-size: 0.9rem;
  }
  
  .rising-cta {
    padding-top: 1.5rem;
  }
  
  .rising-cta p {
    font-size: 0.9rem;
  }
  
  .rising-button {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
  
  .prices-disclaimer {
    padding: 0.875rem 1rem;
    gap: 0.75rem;
    margin-bottom: 2rem;
  }
  
  .prices-disclaimer i {
    font-size: 1rem;
  }
  
  .prices-disclaimer p {
    font-size: 0.85rem;
  }
  
  .prices-cta-block {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }
  
  .prices-cta-block h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
  
  .prices-cta-block .cta-button {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    border-radius: 12px;
  }
}
