/*===== GOOGLE FONTS =====*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/*=====   FONTS  =====*/
/* Using Google Fonts only - removing local font files that don't exist */


/*===== VARIABLES CSS =====*/
:root {
  --header-height: 4.5rem;

  /*========== UX Optimized Color Palette ==========*/
  --first-color: #06BEDE;
  --first-color-alt: #4AABDF;
  --title-color: #393939;
  --text-color: #e6e6e6;
  --text-color-light: #A6A6A6;
  --text-color2: #06BEDE;
  --text-color3: #4AABDF;
  --body-color: #0A0E1A;
  --container-color: #FFFFFF;
  
  /*========== UX Button Hierarchy Colors ==========*/
  --cta-primary: linear-gradient(135deg, #06BEDE 0%, #4AABDF 100%);
  --cta-primary-hover: linear-gradient(135deg, #4AABDF 0%, #06BEDE 100%);
  --cta-primary-text: #ffffff;
  --cta-secondary: rgba(255, 255, 255, 0.1);
  --cta-secondary-border: rgba(255, 255, 255, 0.3);
  --cta-secondary-text: #e6e6e6;
  --cta-outline-border: rgba(6, 190, 222, 0.5);
  --cta-outline-text: #06BEDE;
  
  /*========== Background Colors ==========*/
  --bg-solid: #0A0E1A;
  --bg-card: rgba(13, 18, 32, 0.95);
  --bg-overlay: rgba(0, 0, 0, 0.7);

  /*========== Font and typography ==========*/
  --body-font: 'Poppins', sans-serif;
  --biggest-font-size: 1rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --h4-font-size: 4rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;
  --smaller-font-size: .75rem;

  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: bold;

  /*========== Margenes ==========*/
  --mb-1: .5rem;
  --mb-2: 1rem;
  --mb-3: 1.5rem;
  --mb-4: 2rem;
  --mb-5: 2.5rem;
  --mb-6: 3rem;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

@media screen and (min-width: 768px) {
  :root {
    --biggest-font-size: 4rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
    --smaller-font-size: .813rem;
  }
}

/*========== BASE ==========*/
*,
::before,
::after {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden !important;
  max-width: 100% !important;
  width: 100% !important;
  position: relative !important;
}

body.scroll-locked {
  position: fixed !important;
  left: 0;
  right: 0;
  width: 100% !important;
  overflow: hidden !important;
  overflow-x: hidden !important;
}

/* Prevent horizontal scroll on all containers */
.bd-container,
.lottery-carousel,
.carousel-cards,
.balotin-container,
.nav,
.section {
  max-width: 100%;
  overflow-x: hidden;
}

/* Prevent vertical scroll in navigation menu - desktop only */
@media screen and (min-width: 769px) {
  .l-header {
    overflow: visible;
  }
}

/* Responsive images */
img {
  max-width: 100%;
  height: auto;
}

/*========== BALOTIN SECTION ==========*/
.balotin-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 0 1rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 320px) {
  .balotin-container {
    grid-template-columns: 1fr;
    padding: 0 0.5rem;
  }
}

/* Additional responsive fixes for small screens */
@media (max-width: 480px) {
  .balotin-container {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .lottery-carousel {
    padding: 0 0.5rem;
  }

  .carousel-cards {
    gap: 0.5rem;
  }
}

.balotin-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  backdrop-filter: blur(20px);
  min-height: 480px;
}

.balotin-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 20px;
  z-index: 1;
}

.balotin-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.usdt-card {
  border: 1px solid rgba(38, 161, 123, 0.3);
  box-shadow: 0 8px 32px rgba(38, 161, 123, 0.1);
}

.usdt-card:hover {
  box-shadow: 0 15px 40px rgba(38, 161, 123, 0.2);
}

.sps-card {
  border: 1px solid rgba(244, 162, 97, 0.3);
  box-shadow: 0 8px 32px rgba(244, 162, 97, 0.1);
}

.sps-card:hover {
  box-shadow: 0 15px 40px rgba(244, 162, 97, 0.2);
}

.balotin-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  background: transparent;
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  z-index: 2;
}

.balotin-content {
  background: transparent;
  border-radius: 0 0 20px 20px;
  padding: 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.ticket-header-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 20px 20px 0 0;
  display: block;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  filter: brightness(0.9);
}

.crypto-symbols {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.crypto-ball {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.usdt-ball {
  background: linear-gradient(135deg, #26a17b, #50e3c2);
}

.sps-ball {
  background: linear-gradient(135deg, #f4a261, #f2cc8f);
}

.ticket-info {
  flex: 1;
  text-align: center;
  color: white;
}

.ticket-info h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.balotin-logo {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 1rem;
  margin: 1rem 0;
  color: #333;
}

.balotin-text {
  display: block;
  font-size: 1.8rem;
  font-weight: bold;
  background: linear-gradient(45deg, #f4a261, #e76f51);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.balotin-subtitle {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-top: 0.2rem;
}

.ticket-number {
  font-size: 1.3rem;
  font-weight: bold;
  margin-top: 0.5rem;
}

.ticket-side {
  writing-mode: vertical-lr;
  text-orientation: mixed;
  color: white;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.ticket-value {
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.crypto-name {
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.balotin-footer {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.4);
  color: white;
  backdrop-filter: blur(10px);
  border-radius: 0 0 20px 20px;
  position: relative;
}

.balotin-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 190, 222, 0.42), transparent);
}

.balotin-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.8rem;
}

.crypto-title {
  font-size: 0.9rem;
  font-weight: bold;
  color: #06BEDE;
  text-shadow: 0 0 10px rgba(6, 190, 222, 0.42);
}

.ticket-amount {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
}

.balotin-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-bottom: 0.8rem;
}

.ticket-input {
  flex: 1;
  padding: 0.6rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
  text-align: center;
  letter-spacing: 2px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.ticket-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.ticket-input:focus {
  outline: none;
  border-color: #06BEDE;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 15px rgba(6, 190, 222, 0.17);
}

.balotin-button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.8rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.balotin-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.balotin-button:hover::before {
  left: 100%;
}

.usdt-button {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.12), rgba(6, 190, 222, 0.07));
  border: 2px solid rgba(6, 190, 222, 0.42);
  color: #06BEDE;
}

.usdt-button:hover {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.22), rgba(6, 190, 222, 0.12));
  border-color: rgba(6, 190, 222, 0.70);
  box-shadow: 0 8px 25px rgba(6, 190, 222, 0.42), 0 0 15px rgba(6, 190, 222, 0.26);
}

.sps-button {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.12), rgba(6, 190, 222, 0.07));
  border: 2px solid rgba(6, 190, 222, 0.42);
  color: #06BEDE;
}

.sps-button:hover {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.22), rgba(6, 190, 222, 0.12));
  border-color: rgba(6, 190, 222, 0.70);
  box-shadow: 0 8px 25px rgba(6, 190, 222, 0.42), 0 0 15px rgba(6, 190, 222, 0.26);
}

.balotin-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.history-button {
  width: 100%;
  padding: 0.8rem;
  margin-top: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.history-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/*========== MODAL STYLES ==========*/
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
  border-radius: 15px;
  color: white !important;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  margin: 0;
}

.close-button {
  background: none;
  border: none;
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: color 0.3s ease;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.close-button:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  color: white;
}

.lottery-type-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
}

.lottery-type-header.usdt {
  background: linear-gradient(135deg, #26a17b, #50e3c2);
}

.lottery-type-header.sps {
  background: linear-gradient(135deg, #f4a261, #e76f51);
}

.lottery-type-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
  margin: 0;
}

.my-numbers-list {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.number-entry {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.number-entry:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.number-display {
  font-size: 1.5rem;
  font-weight: bold;
  color: #06BEDE;
  letter-spacing: 3px;
}

.number-info {
  text-align: right;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.number-date {
  display: block;
  margin-bottom: 0.2rem;
}

.number-status {
  display: block;
  font-weight: bold;
}

.status-active {
  color: #4caf50;
}

.status-drawn {
  color: #ff9800;
}

.empty-state {
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.6);
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.error-message {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  color: #ff6b6b;
  text-align: center;
  display: none;
}

.success-message {
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid rgba(0, 255, 0, 0.3);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  color: #4caf50;
  text-align: center;
  display: none;
}

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

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

/*========== TICKET CONFIRMATION MODAL ==========*/
.ticket-confirmation {
  text-align: center;
  padding: 1rem;
}

.ticket-success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.ticket-confirmation h3 {
  color: #06BEDE;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.ticket-confirmation p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.ticket-details {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ticket-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticket-detail-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.detail-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.detail-value {
  color: white;
  font-weight: bold;
}

.ticket-number {
  color: #06BEDE;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.sps-amount {
  color: #4caf50;
  font-size: 1.1rem;
}

.ticket-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.primary-button {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #0A0E1A;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.35);
}

.secondary-button {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

@media screen and (max-width: 768px) {
  .ticket-actions {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }
}

/*========== INTERNATIONAL LOTTERIES (now inside wallet accordion) ==========*/

.international-lotteries {
  padding: 1rem 0;
}

.international-lotteries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
  max-width: 800px;
  margin: 1rem auto 0;
}

.international-lottery-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-radius: 15px;
  padding: 1rem;
  border: 1px solid rgba(6, 190, 222, 0.17);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  color: white;
  backdrop-filter: blur(20px);
}

.international-lottery-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #06BEDE, #4AABDF, #06BEDE);
  border-radius: 15px 15px 0 0;
}

.international-lottery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(6, 190, 222, 0.17);
  border-color: rgba(6, 190, 222, 0.42);
}

.lottery-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.lottery-logo {
  width: 60px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(6, 190, 222, 0.26);
}

.lottery-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.lottery-type h3 {
  color: white;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0;
}

.lottery-country {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
}

.jackpot-section {
  text-align: center;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(6, 190, 222, 0.12);
  border-radius: 10px;
  border: 1px solid rgba(6, 190, 222, 0.26);
}

.jackpot-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}

.jackpot-amount {
  color: #E2C274;
  font-size: 1.5rem;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(226, 194, 116, 0.3);
}

.drawing-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.drawing-time .label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  display: block;
}

.drawing-time .value {
  color: white;
  font-weight: bold;
}

.countdown-timer {
  text-align: right;
}

.countdown-display {
  color: #06BEDE;
  font-size: 1.2rem;
  font-weight: bold;
  font-family: monospace;
}

.cutoff-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 0.9rem;
}

.cutoff-label {
  color: rgba(255, 255, 255, 0.7);
}

.cutoff-time {
  color: #06BEDE;
  font-weight: bold;
}

.pricing-info {
  margin-bottom: 1.5rem;
}

.price-line,
.convenience-fee {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.price-label,
.fee-label {
  color: rgba(255, 255, 255, 0.7);
}

.price-value,
.fee-value {
  color: white;
  font-weight: bold;
}

.game-rules {
  margin-bottom: 2rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

.rules-title {
  color: #06BEDE;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.rules-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.4;
}

.lottery-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.play-now-btn,
.quick-pick-btn {
  flex: 1;
  padding: 0.8rem 1rem;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.play-now-btn {
  background: rgba(26, 26, 46, 0.85);
  color: #06BEDE;
  border: 2px solid rgba(6, 190, 222, 0.42);
  border-radius: 25px;
  padding: 0.8rem 2rem;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: btnGlowPulse 3s ease-in-out infinite;
}

.play-now-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(6, 190, 222, 0.30) 50%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%
  );
  animation: btnShimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btnShimmer {
  0%, 100% {
    left: -100%;
  }
  50%, 55% {
    left: 120%;
  }
}

@keyframes btnGlowPulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(6, 190, 222, 0.17), 0 0 20px rgba(6, 190, 222, 0.08);
  }
  50% {
    box-shadow: 0 0 15px rgba(6, 190, 222, 0.40), 0 0 35px rgba(6, 190, 222, 0.17);
  }
}

.play-now-btn:hover {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #0A0E1A;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 190, 222, 0.45);
  animation: none;
}

.play-now-btn:hover::after {
  animation: none;
  opacity: 0;
}

.ticket-price-tag {
  display: block;
  margin-top: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(6, 190, 222, 0.75);
  letter-spacing: 0.3px;
  text-align: center;
}

/* Play Button Wrapper con Badge de Descuento */
.play-btn-wrapper {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.discount-badge {
  position: absolute;
  top: -12px;
  right: -5px;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.6rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(255, 71, 87, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.7);
  }
}

/* Responsive para el badge */
@media (max-width: 768px) {
  .discount-badge {
    font-size: 0.6rem;
    padding: 2px 6px;
    top: -10px;
    right: 0;
  }
}

.terms-conditions {
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.5rem;
}

.lottery-timing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.8rem;
  padding: 0.5rem 0 0 0;
  font-size: 0.6rem;
  line-height: 1.2;
}

.timing-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  white-space: nowrap;
}

.timing-item i {
  font-size: 0.9rem;
  color: rgba(6, 190, 222, 0.70);
  flex-shrink: 0;
}

.timing-text {
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.7);
}

.timing-text strong {
  font-weight: 600;
  color: white;
}

/*========== LOTTERY OFFICIAL RESOURCES ==========*/
.lottery-official-resources {
  margin-top: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.resources-banner {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.10), rgba(6, 190, 222, 0.05));
  border: 1.5px solid rgba(6, 190, 222, 0.26);
  border-radius: 15px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.resources-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #06BEDE, #4AABDF, #06BEDE);
  background-size: 200% 100%;
  animation: shimmer 3s infinite linear;
}

@keyframes shimmer {
  0% { background-position: -100% 0; }
  100% { background-position: 200% 0; }
}

.resources-banner:hover {
  border-color: rgba(6, 190, 222, 0.52);
  box-shadow: 0 12px 40px rgba(6, 190, 222, 0.22);
  transform: translateY(-2px);
}

.resources-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #FF0000, #CC0000);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.resources-icon i {
  font-size: 2rem;
  color: white;
}

.resources-content {
  flex: 1;
}

.resources-title {
  color: #06BEDE;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 0 0.3rem 0;
  text-shadow: 0 0 10px rgba(6, 190, 222, 0.26);
}

.resources-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin: 0;
}

.resources-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.resources-cta-btn {
  background: transparent;
  color: #e6e6e6;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.8rem 1.3rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.resources-cta-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.resources-cta-btn i {
  font-size: 1.3rem;
}

@media screen and (max-width: 768px) {
  .resources-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .resources-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/*========== YOUTUBE MODAL ==========*/
.youtube-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.youtube-modal.active {
  display: flex;
}

.youtube-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
}

.youtube-modal-content {
  position: relative;
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.95), rgba(20, 20, 20, 0.95));
  border: 2px solid rgba(6, 190, 222, 0.26);
  border-radius: 20px;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.youtube-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(6, 190, 222, 0.17);
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.08), rgba(6, 190, 222, 0.04));
}

.youtube-modal-header h3 {
  color: #06BEDE;
  margin: 0;
  font-size: 1.3rem;
  font-weight: bold;
}

.youtube-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.youtube-close-btn:hover {
  background: rgba(255, 0, 0, 0.8);
  border-color: rgba(255, 0, 0, 1);
  transform: rotate(90deg);
}

.youtube-modal-body {
  padding: 3rem 2rem;
}

.youtube-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.5rem;
}

.youtube-icon-wrapper {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #FF0000, #CC0000);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.youtube-icon-wrapper i {
  font-size: 4rem;
  color: white;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 0, 0, 0.5);
  }
}

.youtube-content-wrapper h4 {
  color: #06BEDE;
  font-size: 1.8rem;
  margin: 0;
  font-weight: bold;
}

.youtube-content-wrapper p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 500px;
  line-height: 1.6;
  margin: 0;
}

.youtube-visit-btn {
  background: linear-gradient(135deg, #FF0000, #CC0000);
  color: white;
  border: 2px solid rgba(6, 190, 222, 0.35);
  padding: 1rem 2.5rem;
  border-radius: 15px;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
  margin-top: 1rem;
  box-shadow: 0 5px 20px rgba(255, 0, 0, 0.3);
}

.youtube-visit-btn:hover {
  background: linear-gradient(135deg, #FF3333, #FF0000);
  border-color: rgba(6, 190, 222, 0.70);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.5);
}

.youtube-visit-btn i {
  font-size: 1.5rem;
}

/*========== LOTTERY INFO MODAL ==========*/
.lottery-info-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10001;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.lottery-info-modal.active {
  display: flex;
}

.lottery-info-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
}

.lottery-info-content {
  position: relative;
  background: linear-gradient(145deg, rgba(25, 25, 40, 0.98), rgba(15, 15, 25, 0.98));
  border: 1px solid rgba(6, 190, 222, 0.25);
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(6, 190, 222, 0.08);
  animation: lotteryInfoSlideIn 0.4s ease-out;
}

@keyframes lotteryInfoSlideIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(-30px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.lottery-info-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(6, 190, 222, 0.15);
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.10), rgba(74, 171, 223, 0.04));
}

.lottery-info-icon {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.25);
}

.lottery-info-icon i {
  font-size: 1.6rem;
  color: #ffffff;
}

.lottery-info-header h3 {
  color: var(--cl-color-primary, #06BEDE);
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  font-family: 'Manrope', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  flex: 1;
}

.lottery-info-close-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.4rem;
}

.lottery-info-close-btn:hover {
  background: rgba(255, 80, 80, 0.8);
  border-color: rgba(255, 80, 80, 1);
  color: white;
  transform: rotate(90deg);
}

.lottery-info-body {
  padding: 1.5rem;
  max-height: calc(85vh - 180px);
  overflow-y: auto;
}

.lottery-info-intro {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.lottery-info-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: rgba(6, 190, 222, 0.25);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: transparent;
  border: none;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.accordion-header:hover {
  background: rgba(6, 190, 222, 0.07);
}

.accordion-header.active {
  background: rgba(6, 190, 222, 0.08);
}

.accordion-header > i:first-child {
  color: #06BEDE;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.accordion-header span {
  flex: 1;
}

.accordion-arrow {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-header.active .accordion-arrow {
  transform: rotate(180deg);
  color: #06BEDE;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1.25rem;
}

.accordion-content.open {
  max-height: 400px;
  padding: 0 1.25rem 1.25rem 1.25rem;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
}

.info-list li i {
  color: #4ade80;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.lottery-info-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(6, 190, 222, 0.12);
  background: rgba(0, 0, 0, 0.2);
  gap: 1rem;
}

.dont-show-again {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.dont-show-again:hover {
  color: rgba(255, 255, 255, 0.9);
}

.dont-show-again input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #06BEDE;
  cursor: pointer;
}

.lottery-info-play-btn {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #1a1a2e;
  border: none;
  padding: 0.85rem 1.75rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(6, 190, 222, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lottery-info-play-btn:hover {
  background: linear-gradient(135deg, #06BEDE, #06BEDE);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 190, 222, 0.38);
}

.lottery-info-play-btn i {
  font-size: 1.2rem;
}

/* Responsive Lottery Info Modal */
@media screen and (max-width: 576px) {
  .lottery-info-content {
    max-width: 95%;
    max-height: 90vh;
  }
  
  .lottery-info-header {
    padding: 1rem;
  }
  
  .lottery-info-header h3 {
    font-size: 1.15rem;
  }
  
  .lottery-info-icon {
    width: 38px;
    height: 38px;
  }
  
  .lottery-info-icon i {
    font-size: 1.3rem;
  }
  
  .lottery-info-body {
    padding: 1rem;
  }
  
  .lottery-info-intro {
    font-size: 0.9rem;
  }
  
  .accordion-header {
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
  }
  
  .accordion-content.open {
    padding: 0 1rem 1rem 1rem;
  }
  
  .info-list li {
    font-size: 0.85rem;
  }
  
  .lottery-info-footer {
    flex-direction: column;
    padding: 1rem;
    gap: 0.85rem;
  }
  
  .dont-show-again {
    order: 2;
  }
  
  .lottery-info-play-btn {
    width: 100%;
    justify-content: center;
    order: 1;
  }
}

/*========== LOTTERY MODALS ==========*/
.lottery-play-interface {
  max-width: 600px;
  margin: 0 auto;
}

.jackpot-display {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(6, 190, 222, 0.08);
  border-radius: 15px;
  border: 1px solid rgba(6, 190, 222, 0.26);
}

.jackpot-display .jackpot-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.jackpot-display .jackpot-amount {
  color: #E2C274;
  font-size: 1.8rem;
  font-weight: bold;
}

.number-selection {
  margin-bottom: 2rem;
}

.number-selection h3 {
  color: white;
  margin-bottom: 1.5rem;
  text-align: center;
}

.main-numbers,
.special-numbers {
  margin-bottom: 2rem;
}

.main-numbers label,
.special-numbers label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  font-weight: bold;
}

.number-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(40px, 1fr));
  gap: 0.5rem;
  max-width: 100%;
}

.number-btn {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: white;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.number-btn:hover {
  border-color: #06BEDE;
  background: rgba(6, 190, 222, 0.08);
}

.number-btn.selected {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #0A0E1A;
  border-color: #06BEDE;
}

.cost-summary {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.cost-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
}

.cost-total {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: bold;
  color: white;
  font-size: 1.1rem;
}

.purchase-ticket-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #0A0E1A;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.purchase-ticket-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 190, 222, 0.35);
}

/*========== QUICK PICK MODAL ==========*/
.quick-pick-result {
  text-align: center;
}

.quick-pick-result h3 {
  color: white;
  margin-bottom: 2rem;
}

.selected-numbers {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.main-numbers-display,
.special-number-display {
  margin-bottom: 1.5rem;
}

.main-numbers-display label,
.special-number-display label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  font-weight: bold;
}

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

.number-ball {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  color: #333;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.number-ball.main {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
}

.number-ball.special {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.quick-pick-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.generate-again-btn {
  flex: 1;
  padding: 0.8rem 1rem;
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.generate-again-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

/*========== PURCHASE CONFIRMATION ==========*/
.purchase-confirmation {
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.purchase-confirmation h3 {
  color: #06BEDE;
  margin-bottom: 0.5rem;
}

.purchase-confirmation p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.ticket-details {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
}

.ticket-numbers {
  margin-bottom: 2rem;
}

.ticket-numbers h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.purchase-info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.info-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.info-line:last-child {
  margin-bottom: 0;
}

.info-line span:last-child {
  color: white;
  font-weight: bold;
}

.confirmation-actions {
  margin-top: 2rem;
}

@media screen and (max-width: 768px) {
  .international-lotteries-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%;
    margin: 1rem auto 0;
  }

  .international-lottery-card {
    padding: 1rem;
    margin: 0 0.5rem;
  }

  .lottery-actions {
    flex-direction: column;
  }

  .jackpot-amount {
    font-size: 1.2rem;
  }

  .lottery-logo {
    width: 50px;
    height: 35px;
  }

  .lottery-type h3 {
    font-size: 1rem;
  }

  .lottery-timing {
    font-size: 0.65rem;
    margin-top: 0.6rem;
    padding: 0.4rem 0 0 0;
    justify-content: space-between;
    flex-direction: row;
  }

  .timing-item {
    font-size: 0.65rem;
    gap: 0.15rem;
    flex: 1;
    justify-content: flex-start;
  }

  .timing-item:last-child {
    justify-content: flex-end;
  }

  .timing-item i {
    font-size: 0.7rem;
  }

  .timing-text {
    font-size: 0.65rem;
    white-space: nowrap;
  }

  .resources-banner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.2rem;
  }

  .resources-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.2rem;
  }

  .youtube-modal-content {
    max-width: 95vw;
    max-height: 85vh;
    border-radius: 15px;
  }

  .youtube-modal-header {
    padding: 1rem;
  }

  .youtube-modal-header h3 {
    font-size: 1.1rem;
  }

  .youtube-modal-body {
    padding: 2rem 1.5rem;
  }

  .youtube-icon-wrapper {
    width: 80px;
    height: 80px;
  }

  .youtube-icon-wrapper i {
    font-size: 3rem;
  }

  .youtube-content-wrapper h4 {
    font-size: 1.4rem;
  }

  .youtube-content-wrapper p {
    font-size: 1rem;
  }

  .youtube-visit-btn {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
  }
}

/*========== LOTTERY MODAL SYSTEM ==========*/
.lottery-modal,
.review-screen,
.checkout-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: rgba(0, 0, 0, 0.95) !important;
  z-index: 10000;
  color: white !important;
  display: none;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

/* Flex layout para sticky header/footer */
.lottery-modal {
  flex-direction: column;
}

.lottery-modal.open {
  display: flex !important;
}

.review-screen.open,
.checkout-screen.open {
  display: flex !important;
  flex-direction: column;
  animation: modalScreenSlideIn 0.3s ease-out;
}

@keyframes modalScreenSlideIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.lottery-modal .modal-header,
.review-screen .modal-header,
.checkout-screen .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(20, 20, 35, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

/* Botón Salir del checkout (top-right). Mismo tamaño que .back-button
   para mantener simetría visual con el back de la izquierda. */
.checkout-close-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  margin-left: auto;
  flex-shrink: 0;
}
.checkout-close-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.checkout-close-btn:hover {
  background: rgba(6, 190, 222, 0.10);
  border-color: rgba(6, 190, 222, 0.42);
}
.checkout-close-btn:focus-visible {
  outline: 2px solid #06BEDE;
  outline-offset: 2px;
}
@media (max-width: 480px) {
  .checkout-close-btn { width: 36px; height: 36px; }
  .checkout-close-btn svg { width: 18px; height: 18px; }
}

.back-button {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: rgba(255, 255, 255, 0.1);
}

.back-button svg {
  width: 24px;
  height: 24px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.lottery-title {
  color: white;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0;
  text-align: center;
  flex: 1;
}

.balance-display {
  min-width: 80px;
  text-align: right;
}

.balance-value {
  color: #06BEDE;
  font-weight: bold;
  font-size: 1rem;
}

.play-tabs {
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: block !important;
  visibility: visible !important;
}

.tabs-container {
  display: flex !important;
  gap: 1rem;
  justify-content: center;
  visibility: visible !important;
}

.tab-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.5);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  position: relative;
}

.tab-button.active {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #0A0E1A;
  border-color: #06BEDE;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(6, 190, 222, 0.42);
}

.tab-button.completed {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  border-color: #4CAF50;
  color: white;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
}

.tab-button.completed::after {
  content: '✓';
  position: absolute;
  top: -5px;
  right: -5px;
  background: #4CAF50;
  color: white;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #333;
}

.tab-button:not(.completed):not(.active) {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.4);
}

.tab-button:not(.completed):not(.active):hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.7);
  transform: scale(1.05);
}

.done-message {
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(76, 175, 80, 0.1);
  border-bottom: 1px solid rgba(76, 175, 80, 0.3);
  animation: doneMessagePulse 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes doneMessagePulse {
  0% { opacity: 0; transform: translateY(-10px); }
  50% { transform: translateY(2px); }
  100% { opacity: 1; transform: translateY(0); }
}

.done-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.check-icon {
  width: 24px;
  height: 24px;
  background: #4CAF50;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-icon svg {
  width: 16px;
  height: 16px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.done-check span {
  color: white;
  font-weight: bold;
}

.quick-pick-btn {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: white;
  border: none;
  border-radius: 25px;
  padding: 0.5rem 1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.quick-pick-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.25);
}

.quick-pick-btn svg {
  width: 16px;
  height: 16px;
  fill: white;
}

.number-selection-container {
  padding: 1.5rem;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
}

.main-numbers {
  margin-bottom: 1.5rem;
}

/* Indicador de selección (contador de números) */
.selection-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(6, 190, 222, 0.08);
  border-radius: 20px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #06BEDE;
}

.selection-indicator .count {
  font-weight: bold;
}

.selection-indicator.complete {
  background: rgba(76, 175, 80, 0.15);
  color: #4CAF50;
}

/* Separador de sección de números principales */
.main-numbers-section {
  margin-bottom: 1rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.5rem;
  color: #06BEDE;
  font-weight: bold;
  font-size: 0.9rem;
}

.section-title i {
  font-size: 1.1rem;
}

.main-numbers .number-btn {
  width: 60px;
  height: 60px;
  margin: 0.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.main-numbers .number-btn:hover {
  border-color: #06BEDE;
  background: rgba(6, 190, 222, 0.08);
}

.main-numbers .number-btn.selected {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #0A0E1A;
  border-color: #06BEDE;
}

.special-numbers {
  margin-top: 1.5rem;
  background: rgba(255, 107, 107, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid rgba(255, 107, 107, 0.2);
}

.special-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: white;
  font-weight: bold;
}

.special-ball {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
}

.special-name {
  color: #06BEDE;
}

.special-numbers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
  width: 100%;
  margin-top: 1rem;
}

.special-numbers-grid .number-btn {
  width: 100%;
  aspect-ratio: 1;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.special-numbers-grid .number-btn:hover {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
}

.special-numbers-grid .number-btn.selected {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  border-color: #ff6b6b;
}

.review-order-container {
  padding: 1rem 1.5rem;
  padding-bottom: max(1rem, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(20, 20, 35, 0.98);
  flex-shrink: 0;
  position: sticky;
  bottom: 0;
  z-index: 10;
}

.review-order-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #0A0E1A;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.review-order-btn:hover:not(.disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 190, 222, 0.35);
}

.review-order-btn.disabled {
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
}

.review-order-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.price-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.price {
  color: #06BEDE;
  font-weight: bold;
  font-size: 1.1rem;
}

.price-toggle-icon {
  width: 20px;
  height: 20px;
  stroke: white;
  stroke-width: 2;
  fill: none;
  transition: transform 0.3s ease;
}

.price-details-panel {
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  display: none;
}

.price-details-panel.open {
  display: block;
}

.price-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  color: white;
}

.price-detail-row:last-child {
  margin-bottom: 0;
}

.price-detail-label {
  color: rgba(255, 255, 255, 0.8);
}

.price-detail-value {
  color: #06BEDE;
  font-weight: bold;
}

.cutoff-banner {
  background: rgba(255, 152, 0, 0.1);
  border: 1px solid rgba(255, 152, 0, 0.3);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ff9800;
  font-weight: bold;
}

.cutoff-banner .icon {
  width: 20px;
  height: 20px;
  stroke: #ff9800;
  stroke-width: 2;
  fill: none;
}

.selected-lines-container {
  padding: 2rem;
  min-height: 200px;
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.selected-line {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.selected-line:last-child {
  margin-bottom: 0;
}

.line-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.line-number {
  color: #06BEDE;
  font-weight: bold;
  font-size: 1rem;
}

.delete-line {
  background: rgba(255, 107, 107, 0.2);
  border: 1px solid rgba(255, 107, 107, 0.5);
  color: #ff6b6b;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.delete-line:hover {
  background: rgba(255, 107, 107, 0.3);
  transform: scale(1.1);
}

.line-numbers {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.main-numbers-display {
  display: flex;
  gap: 0.5rem;
}

.number-display {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #0A0E1A;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.special-number-display {
  position: relative;
  padding-left: 1rem;
}

.special-number-display::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-weight: bold;
  font-size: 1.2rem;
}

.special-number-ball {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.no-lines {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-style: italic;
  padding: 2rem;
}

/*========== LOTTERY TICKET CONFIRMATION MODAL ==========*/
.lottery-ticket-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 20000;
  backdrop-filter: blur(5px);
}

.lottery-ticket-content {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(6, 190, 222, 0.08);
  border: 1px solid rgba(6, 190, 222, 0.30);
}

.lottery-ticket-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(6, 190, 222, 0.26);
}

.lottery-ticket-header h2 {
  color: #06BEDE;
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
  font-weight: bold;
}

.lottery-ticket-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.lottery-ticket-logo img {
  max-height: 50px;
  width: auto;
}

.lottery-ticket-body {
  margin-bottom: 2rem;
}

.lottery-ticket-info {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lottery-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.lottery-info-row:last-child {
  margin-bottom: 0;
}

.lottery-info-label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.lottery-info-value {
  color: #06BEDE;
  font-weight: bold;
}

.lottery-ticket-numbers {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.07), rgba(6, 190, 222, 0.02));
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(6, 190, 222, 0.22);
}

.lottery-ticket-numbers h3 {
  color: #06BEDE;
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  text-align: center;
  font-weight: 700;
}

.ticket-line-info {
  color: white;
  margin-bottom: 0.75rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  border-left: 4px solid #06BEDE;
  font-size: 1rem;
  letter-spacing: 0.5px;
}

.ticket-line-info:last-child {
  margin-bottom: 0;
}

.ticket-line-info strong {
  color: #06BEDE;
  margin-right: 0.5rem;
}

.lottery-ticket-details {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lottery-price-breakdown {
  color: white;
}

.lottery-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.lottery-price-row:last-child {
  margin-bottom: 0;
}

.lottery-price-row.lottery-total {
  padding-top: 1rem;
  border-top: 2px solid rgba(6, 190, 222, 0.26);
  font-size: 1.1rem;
}

.lottery-price-row span:last-child {
  color: #06BEDE;
  font-weight: bold;
}

.lottery-ticket-footer {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.lottery-ticket-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  min-width: 140px;
}

.lottery-btn-primary {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #0A0E1A;
}

.lottery-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 190, 222, 0.35);
}

.lottery-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.lottery-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
  .lottery-ticket-content {
    margin: 1rem;
    padding: 1.5rem;
  }

  .lottery-ticket-header h2 {
    font-size: 1.3rem;
  }

  .lottery-ticket-footer {
    flex-direction: column;
    gap: 0.75rem;
  }

  .lottery-ticket-btn {
    width: 100%;
    min-width: auto;
  }
}

/*========== USER TICKETS SECTION ==========*/
.user-tickets {
  padding: 3rem 0;
  background: linear-gradient(135deg, #0f0f23, #1a1a2e);
  margin-top: 2rem;
  border-top: 1px solid rgba(6, 190, 222, 0.12);
  border-bottom: 1px solid rgba(6, 190, 222, 0.08);
  overflow: hidden;
}

.user-tickets-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.user-tickets-header .section-title-small {
  color: #06BEDE;
  font-size: 1.4rem;
  margin: 0;
  font-weight: 600;
}

.user-address-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  border: 1px solid rgba(6, 190, 222, 0.26);
}

.address-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.user-address {
  color: #06BEDE;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  font-weight: bold;
}

.tickets-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.ticket-filters {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.ticket-utilities {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.filter-btn:hover {
  border-color: rgba(6, 190, 222, 0.42);
  background: rgba(6, 190, 222, 0.08);
  color: #fff;
}

.filter-btn.active {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #0A0E1A;
  border-color: rgba(6, 190, 222, 0.52);
  box-shadow: 0 2px 12px rgba(6, 190, 222, 0.35);
}

.utility-btn {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.utility-btn:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.utility-btn i {
  font-size: 1rem;
}

.tickets-container {
  min-height: 100%;
  position: relative;
}

.loading-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  gap: 1rem;
}

.loading-spinner .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(6, 190, 222, 0.26);
  border-top: 3px solid #06BEDE;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loading-spinner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
}

.tickets-table {
  width: 100%;
  border-collapse: collapse;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid rgba(6, 190, 222, 0.26);
  margin-top: 2rem;
}

.tickets-table::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #06BEDE, #4AABDF, #06BEDE);
  border-radius: 15px 15px 0 0;
}

.tickets-table th {
  background: rgba(6, 190, 222, 0.08);
  color: #06BEDE;
  padding: 1rem;
  text-align: left;
  font-weight: bold;
  font-size: 0.9rem;
  border-bottom: 2px solid rgba(6, 190, 222, 0.26);
}

.tickets-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
}

.tickets-table tr:hover {
  background: rgba(6, 190, 222, 0.04);
}

.table-lottery-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.table-lottery-logo {
  width: 35px;
  height: 25px;
  border-radius: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.table-lottery-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.table-lottery-name {
  color: #06BEDE;
  font-weight: bold;
  font-size: 0.85rem;
}

.table-date {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
}

.table-numbers {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.table-number-ball {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.7rem;
}

.table-number-ball.main {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #333;
}

.table-number-ball.special {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
}

.table-number-separator {
  color: white;
  font-weight: bold;
  font-size: 0.8rem;
  margin: 0 0.2rem;
}

.table-total {
  color: #06BEDE;
  font-weight: bold;
  font-size: 0.9rem;
}

.table-status {
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
  display: inline-block;
}

.table-status.pending {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.4);
}

.table-status.active {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.4);
}

.table-status.completed {
  background: rgba(108, 117, 125, 0.2);
  color: #6c757d;
  border: 1px solid rgba(108, 117, 125, 0.4);
}

.view-details-btn {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #333;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-details-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
}

/*========== TICKET DETAIL MODAL ==========*/
.ticket-detail-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.ticket-detail-modal.open {
  display: flex;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  cursor: pointer;
}

.modal-content {
  background: linear-gradient(135deg, #0f0f23, #1a1a2e);
  border-radius: 20px;
  max-width: 800px;
  width: 95%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(6, 190, 222, 0.26);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(6, 190, 222, 0.08);
}

.modal-header h3 {
  color: #06BEDE;
  margin: 0;
  font-size: 1.3rem;
}

.close-modal-btn {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-modal-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #06BEDE;
}

.modal-body {
  padding: 2rem;
}

.modal-ticket-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
}

.modal-lottery-logo {
  width: 80px;
  height: 55px;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-lottery-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-lottery-details h3 {
  color: #06BEDE;
  margin: 0 0 0.5rem 0;
  font-size: 1.4rem;
}

.modal-lottery-details p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.9rem;
}

.modal-numbers-section {
  margin-bottom: 2rem;
}

.modal-numbers-section h4 {
  color: white;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.modal-ticket-line {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border-left: 4px solid #06BEDE;
}

.modal-line-label {
  color: #06BEDE;
  font-weight: bold;
  font-size: 1rem;
  min-width: 70px;
}

.modal-line-numbers {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-main-numbers {
  display: flex;
  gap: 0.3rem;
}

.modal-number-ball {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.modal-number-ball.main {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #333;
}

.modal-number-ball.special {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
}

.modal-number-separator {
  color: white;
  font-weight: bold;
  font-size: 1.4rem;
  margin: 0 0.5rem;
}

.modal-ticket-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(6, 190, 222, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(6, 190, 222, 0.26);
}

.modal-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.modal-summary-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.modal-summary-value {
  color: #06BEDE;
  font-weight: bold;
  font-size: 1rem;
}

.modal-summary-item.total {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.modal-summary-item.total .modal-summary-value {
  font-size: 1.2rem;
}

.no-tickets {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.no-tickets-icon-premium {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.10), rgba(6, 190, 222, 0.03));
  border: 1px solid rgba(6, 190, 222, 0.17);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.no-tickets-icon-premium i {
  font-size: 2rem;
  color: #06BEDE;
  opacity: 0.8;
}

.no-tickets-title {
  color: #06BEDE;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.no-tickets-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
  max-width: 320px;
}

.no-tickets-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.7rem 1.75rem;
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #1a1a2e;
  border: none;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.22);
}

.no-tickets-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 190, 222, 0.30);
}

.no-tickets h3 {
  color: #06BEDE;
  font-size: 1.5rem;
  margin: 0;
}

.no-tickets p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin: 0;
}

@media screen and (max-width: 768px) {
  .user-tickets-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-address-display {
    align-self: stretch;
    justify-content: center;
  }

  .user-address {
    font-size: 0.8rem;
  }

  .tickets-toolbar {
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }

  .ticket-filters {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
    justify-content: center;
    max-width: 90%;
  }

  .filter-btn {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
    flex-shrink: 0;
    min-width: auto;
    width: auto;
  }

  .ticket-utilities {
    display: inline-flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .utility-btn {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
  }

  .no-tickets {
    max-width: 85%;
    margin: 0 auto;
  }

  .tickets-table {
    font-size: 0.8rem;
  }

  .tickets-table th,
  .tickets-table td {
    padding: 0.8rem 0.5rem;
  }

  .table-lottery-info {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .table-lottery-logo {
    width: 30px;
    height: 20px;
  }

  .table-lottery-name {
    font-size: 0.75rem;
  }

  .table-date {
    font-size: 0.7rem;
  }

  .table-numbers {
    gap: 0.2rem;
  }

  .table-number-ball {
    width: 18px;
    height: 18px;
    font-size: 0.6rem;
  }

  .table-total {
    font-size: 0.8rem;
  }

  .table-status {
    font-size: 0.6rem;
    padding: 0.2rem 0.5rem;
  }

  .view-details-btn {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }

  .modal-content {
    width: 95%;
    max-height: 90vh;
  }

  .modal-header {
    padding: 1rem;
  }

  .modal-body {
    padding: 1rem;
  }

  .modal-ticket-info {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .modal-lottery-logo {
    width: 60px;
    height: 40px;
    margin: 0 auto;
  }

  .modal-ticket-line {
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .modal-line-numbers {
    width: 100%;
    justify-content: center;
  }

  .modal-number-ball {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .modal-ticket-summary {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}

.checkout-container {
  padding: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  background: rgba(20, 20, 35, 0.98);
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
}

.checkout-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #4CAF50, #45a049);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.checkout-btn svg {
  width: 20px;
  height: 20px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

.checkout-content {
  padding: 2rem;
  max-width: 500px;
  margin: 0 auto;
}

.checkout-content h2 {
  color: white;
  margin-bottom: 2rem;
  text-align: center;
}

.checkout-heading {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
}

.cutoff-info {
  background: rgba(255, 152, 0, 0.1);
  border: 1px solid rgba(255, 152, 0, 0.3);
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ff9800;
  font-weight: bold;
}

.cutoff-info .icon {
  width: 20px;
  height: 20px;
  stroke: #ff9800;
  stroke-width: 2;
  fill: none;
}

.checkout-screen .ticket-details {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(6, 190, 222, 0.22);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.checkout-screen .ticket-details h3 {
  color: white;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  color: white;
}

.price-row:last-child {
  margin-bottom: 0;
}

.price-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.price-usd {
  font-weight: 700;
  font-size: 1.1rem;
  color: #06BEDE;
}

.price-sps {
  font-size: 0.85rem;
  color: rgba(6, 190, 222, 0.52);
  font-weight: 500;
  margin-left: 0.35rem;
}

.total-row .price-usd {
  font-size: 1.25rem;
}

.total-row .price-sps {
  font-size: 0.9rem;
}

.divider {
  height: 1px;
  background: rgba(6, 190, 222, 0.12);
  margin: 1rem 0;
}

.total-row {
  font-weight: bold;
  font-size: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(6, 190, 222, 0.17);
}

.payment-button-container {
  margin-bottom: 2rem;
}

.payment-btn {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #1a1a2e;
  border: none;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.payment-btn .payment-text {
  color: #1a1a2e;
  font-weight: 700;
}

.payment-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 190, 222, 0.35);
}

.payment-btn:disabled,
.payment-btn[disabled],
.checkout-screen .payment-btn:disabled,
.checkout-screen .payment-btn[disabled] {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
  box-shadow: none !important;
  pointer-events: auto;
}

.payment-btn.is-processing {
  background: linear-gradient(135deg, #b8960a, #c9a80e);
  opacity: 0.7;
  cursor: wait;
}
.payment-btn.is-processing .payment-text {
  color: rgba(26, 26, 46, 0.7) !important;
}

.payment-btn.is-success {
  background: linear-gradient(135deg, #2ED573, #7bed9f);
}
.payment-btn.is-success .payment-text {
  color: #0a3d1a !important;
}
.payment-btn.is-success svg {
  stroke: #0a3d1a;
}

.payment-btn.is-error {
  background: linear-gradient(135deg, #ff4757, #ff6b81);
}
.payment-btn.is-error .payment-text {
  color: #fff !important;
}
.payment-btn.is-error svg {
  stroke: #fff;
}

.payment-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(51, 51, 51, 0.3);
  border-top: 2px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.payment-btn.is-processing .spinner {
  border-color: rgba(26, 26, 46, 0.2);
  border-top-color: #1a1a2e;
}

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

.legal-notice {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.4;
}

.legal-notice a {
  color: #06BEDE;
  text-decoration: none;
}

.legal-notice a:hover {
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .lottery-modal .modal-header,
  .review-screen .modal-header,
  .checkout-screen .modal-header {
    padding: 0.75rem 1rem;
  }

  .lottery-title {
    font-size: 1rem;
  }

  .play-tabs {
    padding: 0.75rem 1rem;
  }

  .done-message {
    padding: 0.75rem 1rem;
  }

  .number-selection-container {
    padding: 1rem;
    padding-bottom: 0.5rem;
  }

  /* Grid optimizado para móvil: 5 columnas */
  .main-numbers {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
    justify-items: center;
    margin-bottom: 1.5rem;
  }

  .main-numbers .number-btn {
    width: 48px;
    height: 48px;
    min-width: 44px;
    min-height: 44px;
    font-size: 0.85rem;
    margin: 0;
  }

  .special-numbers {
    padding: 1rem;
    margin-top: 1rem;
  }

  .special-numbers-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.4rem;
    width: 100%;
  }

  .special-numbers-grid .number-btn {
    width: 100%;
    aspect-ratio: 1;
    min-width: 44px;
    min-height: 44px;
    font-size: 0.85rem;
  }

  .tabs-container {
    gap: 0.5rem;
  }

  .tab-button {
    width: 44px;
    height: 44px;
  }

  .review-order-container {
    padding: 0.75rem 1rem;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  }

  .review-order-btn {
    padding: 0.875rem;
    font-size: 0.95rem;
  }

  .checkout-content {
    padding: 1rem;
  }

  .ticket-details {
    padding: 1.5rem;
  }

  .quick-pick-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.85rem;
  }
}

/*========== BALOTIN COUNTDOWN ==========*/
.balotin-countdown {
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(6, 190, 222, 0.12);
  border-bottom: 1px solid rgba(6, 190, 222, 0.12);
  position: relative;
  z-index: 2;
}

.balotin-countdown::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 190, 222, 0.35), transparent);
}

.countdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.countdown-title {
  font-size: 0.8rem;
  font-weight: bold;
  color: #06BEDE;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(6, 190, 222, 0.26);
}

.countdown-schedule {
  font-size: 0.7rem;
  color: rgba(6, 190, 222, 0.60);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.countdown-schedule i {
  font-size: 0.85rem;
}

.countdown-display {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.3rem;
}

.countdown-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 38px;
}

.countdown-col .countdown-value {
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 20px;
  font-weight: bold;
  color: #06BEDE;
  text-shadow: 0 0 8px rgba(6, 190, 222, 0.35);
  line-height: 1.2;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  padding: 0.2rem 0.4rem;
  min-width: 36px;
  text-align: center;
  border: 1px solid rgba(6, 190, 222, 0.17);
}

.countdown-col .countdown-label {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.15rem;
}

.countdown-separator {
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 20px;
  font-weight: bold;
  color: #06BEDE;
  line-height: 1.2;
  padding-bottom: 1rem;
  animation: separatorPulse 1s ease-in-out infinite;
}

@keyframes separatorPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.promo-banner {
  display: none;
  text-align: center;
  padding: 1rem 0.8rem;
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.10), rgba(74, 171, 223, 0.06));
  border-radius: 10px;
  border: 1px solid rgba(6, 190, 222, 0.26);
  animation: promoGlow 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.promo-banner.active {
  display: block;
}

.promo-banner__glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(6, 190, 222, 0.05) 0%, transparent 70%);
  animation: promoGlowRotate 4s linear infinite;
  pointer-events: none;
}

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

@keyframes promoGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(6, 190, 222, 0.08);
    border-color: rgba(6, 190, 222, 0.26);
  }
  50% {
    box-shadow: 0 0 20px rgba(6, 190, 222, 0.22);
    border-color: rgba(6, 190, 222, 0.42);
  }
}

.promo-banner__content {
  position: relative;
  z-index: 1;
}

.promo-banner__title {
  display: block;
  font-size: 1rem;
  font-weight: bold;
  color: #06BEDE;
  margin-bottom: 0.4rem;
  text-shadow: 0 0 10px rgba(6, 190, 222, 0.35);
}

.promo-banner__title i {
  margin-right: 0.3rem;
  font-size: 1.1rem;
}

.promo-banner__subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 0.2rem;
  line-height: 1.4;
}

.promo-banner__play-again {
  font-size: 0.7rem;
  color: rgba(6, 190, 222, 0.70);
  margin: 0 0 0.6rem;
  font-style: italic;
}

.promo-banner__actions {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.promo-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.8rem;
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #1a1a2e;
  font-size: 0.7rem;
  font-weight: bold;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(6, 190, 222, 0.26);
}

.promo-banner__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(6, 190, 222, 0.35);
  background: linear-gradient(135deg, #FFE44D, #FFB733);
}

.promo-banner__reset {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  color: rgba(6, 190, 222, 0.52);
  font-family: 'Courier New', 'Consolas', monospace;
}

.promo-banner__reset i {
  font-size: 0.75rem;
}

@media screen and (min-width: 768px) {
  .countdown-col .countdown-value {
    font-size: 26px;
    min-width: 44px;
    padding: 0.25rem 0.5rem;
  }

  .countdown-separator {
    font-size: 26px;
  }

  .countdown-col .countdown-label {
    font-size: 0.6rem;
  }

  .countdown-col {
    min-width: 46px;
  }

  .countdown-title {
    font-size: 0.85rem;
  }

  .promo-banner__title {
    font-size: 1.1rem;
  }

  .promo-banner__cta {
    font-size: 0.75rem;
    padding: 0.45rem 1rem;
  }
}

/*========== BALOTIN STATS ==========*/
.balotin-stats {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.6rem 0.5rem;
  text-align: center;
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.stat-box:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.stat-box .stat-icon {
  font-size: 1.25rem;
  color: #06BEDE;
  text-shadow: 0 0 8px rgba(6, 190, 222, 0.35);
  line-height: 1;
}

.stat-box h6 {
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 0.1rem;
  margin-top: 0;
  color: #06BEDE;
  text-shadow: 0 0 10px rgba(6, 190, 222, 0.42);
}

.stat-box p {
  font-size: 0.7rem;
  margin-bottom: 0.1rem;
  color: rgba(255, 255, 255, 0.9);
}

.stat-box small {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.6);
}

/*========== WINNER SECTION ==========*/
.winner-section {
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.winner-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(6, 190, 222, 0.02), rgba(6, 190, 222, 0.07));
  border-radius: 0;
}

.winner-title {
  color: #06BEDE;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 0.8rem;
  text-align: center;
  text-shadow: 0 0 10px rgba(6, 190, 222, 0.42);
  position: relative;
  z-index: 1;
}

.winner-balls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.winner-ball {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
  border: 2px solid rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

.winner-ball:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(6, 190, 222, 0.42);
}

/*========== HISTORY BUTTON ==========*/
.history-button {
  width: 100%;
  padding: 0.6rem;
  margin-top: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(10px);
}

.history-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(6, 190, 222, 0.42);
  color: #06BEDE;
  box-shadow: 0 0 15px rgba(6, 190, 222, 0.17);
}

/*========== BALOTIN ACTIVE STATE ==========*/
.balotin-active {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.balotin-active .ticket-input {
  border-color: #06BEDE;
  background: rgba(6, 190, 222, 0.08);
  box-shadow: 0 0 15px rgba(6, 190, 222, 0.26);
}

@media screen and (max-width: 768px) {
  .balotin-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .balotin-card {
    margin: 0 0.5rem;
    min-height: 420px;
  }

  .balotin-header {
    height: 100px;
  }

  .ticket-header-image {
    height: 100px;
  }

  .balotin-actions {
    flex-direction: column;
    gap: 0.8rem;
  }

  .ticket-input {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }

  .stat-box {
    padding: 0.6rem;
  }

  .stat-box h6 {
    font-size: 0.9rem;
  }

  .stat-box p {
    font-size: 0.7rem;
  }

  .winner-balls {
    gap: 0.4rem;
  }

  .winner-ball {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .balotin-button {
    width: 100%;
    padding: 0.7rem;
  }
}

/*========== MIS NUMEROS MODAL STYLES ==========*/
.lottery-type-header.usdt {
  background: linear-gradient(135deg, rgba(38, 161, 123, 0.2), rgba(38, 161, 123, 0.1));
  border-color: rgba(38, 161, 123, 0.3);
}

.lottery-type-header.sps {
  background: linear-gradient(135deg, rgba(244, 162, 97, 0.2), rgba(244, 162, 97, 0.1));
  border-color: rgba(244, 162, 97, 0.3);
}

.lottery-type-title {
  margin: 0;
  font-size: 1.2rem;
  color: #06BEDE;
  font-weight: bold;
}

.number-entry {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.number-entry:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.number-display-container {
  display: flex;
  align-items: center;
}

.number-balls {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.number-ball-display {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.4rem;
  color: white;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.number-ball-display.usdt-ball {
  background: linear-gradient(135deg, #26a17b, #50e3c2);
  border-color: rgba(38, 161, 123, 0.8);
}

.number-ball-display.sps-ball {
  background: linear-gradient(135deg, #f4a261, #e76f51);
  border-color: rgba(244, 162, 97, 0.8);
}

.number-ball-display:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.number-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3rem;
}

.number-date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.number-status {
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
}

.status-active {
  background: rgba(76, 175, 80, 0.2);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.4);
}

.status-completed {
  background: rgba(108, 117, 125, 0.2);
  color: #6c757d;
  border: 1px solid rgba(108, 117, 125, 0.4);
}

.empty-state {
  text-align: center;
  padding: 1.5rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  min-height: auto;
}

.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.empty-state h3 {
  margin-bottom: 0.75rem;
  color: #06BEDE;
  font-size: 1.1rem;
}

.empty-state p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  font-size: 0.9rem;
}

/* Estado vacío compacto para sección de tickets en home */
#myTicketsModal .empty-state,
.my-tickets-section .empty-state {
  min-height: 180px;
  max-height: 260px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/*========== RESPONSIVE FOR MODAL ==========*/
@media screen and (max-width: 768px) {
  .modal-content {
    width: 98%;
    max-width: 95vw;
  }

  .number-ball-display {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  .number-balls {
    gap: 0.6rem;
  }

  .number-entry {
    padding: 1.2rem;
    margin-bottom: 0.8rem;
  }
}

  .number-status {
    padding: 0.2rem 0.6rem;
    font-size: 0.6rem;
  }
}

/*========== SLOT GAME MODAL ==========*/
.slot-game-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #0a0a0a, #1a1a1a);
  z-index: 10000;
  backdrop-filter: blur(10px);
  animation: fadeIn 0.5s ease;
}

.slot-game-modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.slot-machine-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
  border-radius: 0;
  border: none;
  box-shadow: 
    0 0 50px rgba(6, 190, 222, 0.26),
    inset 0 0 50px rgba(6, 190, 222, 0.08),
    0 20px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.slot-machine-frame::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: linear-gradient(45deg, #06BEDE, #4AABDF, #06BEDE);
  z-index: -1;
  border-radius: 30px;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: 0 0 20px rgba(6, 190, 222, 0.42);
  }
  to {
    box-shadow: 0 0 40px rgba(6, 190, 222, 0.70);
  }
}

.slot-machine-header {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #333;
  padding: 1rem 2rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-bottom: 3px solid #333;
  position: relative;
}

.slot-machine-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #06BEDE);
  animation: rainbow 3s linear infinite;
}

@keyframes rainbow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.slot-close-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #333;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.slot-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.slot-game-title {
  display: none;
}

.slot-machine-body {
  height: calc(100% - 80px);
  background: linear-gradient(135deg, #0f0f0f, #1a1a1a);
  position: relative;
  overflow: hidden;
}

.slot-screen {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, #001122, #000000);
  border: 4px solid #333;
  border-radius: 15px;
  margin: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.slot-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.1) 50%, transparent 55%);
  animation: screenGlow 4s ease-in-out infinite;
}

@keyframes screenGlow {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.loading-container {
  text-align: center;
  color: #06BEDE;
  z-index: 10;
}

.slot-logo {
  margin-bottom: 2rem;
}

.spinning-coin {
  font-size: 4rem;
  animation: spin 2s linear infinite;
  display: inline-block;
  margin-bottom: 1rem;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.slot-logo h3 {
  font-size: 2rem;
  margin: 0;
  font-weight: bold;
  text-shadow: 0 0 20px rgba(6, 190, 222, 0.70);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.loading-bar-container {
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.loading-bar {
  flex: 1;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #06BEDE;
}

.loading-progress {
  height: 100%;
  background: linear-gradient(90deg, #06BEDE, #4AABDF, #06BEDE);
  border-radius: 8px;
  transition: width 0.3s ease;
  animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
  0% { background-position: -200px 0; }
  100% { background-position: 200px 0; }
}

.loading-percentage {
  font-size: 1.2rem;
  font-weight: bold;
  color: #06BEDE;
  min-width: 50px;
}

.loading-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
  animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.game-container {
  text-align: center;
  color: #06BEDE;
}

.game-ready h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-shadow: 0 0 20px rgba(6, 190, 222, 0.70);
}

.game-ready p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.slot-reels {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.reel {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #333, #555);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border: 3px solid #06BEDE;
  box-shadow: 0 0 20px rgba(6, 190, 222, 0.26);
  animation: reelGlow 2s ease-in-out infinite alternate;
}

@keyframes reelGlow {
  from { box-shadow: 0 0 20px rgba(6, 190, 222, 0.26); }
  to { box-shadow: 0 0 30px rgba(6, 190, 222, 0.52); }
}

.spin-button {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.spin-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
}

.slot-machine-footer {
  background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
  padding: 1rem 2rem;
  border-top: 3px solid #06BEDE;
}

.slot-controls {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  color: #06BEDE;
  font-weight: bold;
}

.bet-display {
  display: none;
}

.balance-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.balance-amount {
  background: rgba(6, 190, 222, 0.17);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  border: 2px solid #06BEDE;
  font-size: 1.1rem;
}

/*========== RESPONSIVE SLOT MODAL ==========*/
@media screen and (max-width: 768px) {
  .slot-machine-frame {
    width: 100%;
    height: 100%;
    border-width: 0;
  }

  .slot-machine-header {
    padding: 0.8rem 1rem;
  }

  .slot-close-btn {
    width: 35px;
    height: 35px;
    font-size: 1.5rem;
  }

  .spinning-coin {
    font-size: 3rem;
  }

  .slot-logo h3 {
    font-size: 1.5rem;
  }

  .reel {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }

  .spin-button {
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
  }

  .slot-controls {
    justify-content: center;
  }
}

/*========== BONUS SYSTEM ==========*/
.bonus-card {
  transition: all 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.bonus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(6, 190, 222, 0.17);
}

.bonus-card .bonuses__detail {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #333;
  font-weight: bold;
  font-size: 1.1rem;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  margin: 1rem 0;
  box-shadow: 0 5px 15px rgba(6, 190, 222, 0.26);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bonus-card .bonuses__name {
  color: #06BEDE;
  font-size: 1.3rem;
  margin: 0.5rem 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bonus-btn {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  border: none;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

.bonus-btn:hover {
  background: linear-gradient(135deg, #44a08d, #4ecdc4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

/*========== NEW BONUS CARDS DESIGN ==========*/
.bonuses-header {
  text-align: center;
  margin-bottom: 3rem;
}

.bonuses-header .section-description {
  max-width: 600px;
  margin: 1rem auto 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/*========== BONUSES CAROUSEL ==========*/
.bonuses-carousel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.bonuses-carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.bonuses-grid {
  display: flex;
  transition: transform 0.5s ease;
  gap: 2rem;
  padding: 1rem 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  border: 2px solid rgba(6, 190, 222, 0.26);
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.17), rgba(6, 190, 222, 0.08));
  border-color: rgba(6, 190, 222, 0.52);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 30px rgba(6, 190, 222, 0.26);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn i {
  font-size: 1.6rem;
  color: #06BEDE;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.carousel-btn-prev {
  left: 10px;
}

.carousel-btn-next {
  right: 10px;
}

.carousel-btn:disabled,
.carousel-btn[style*="opacity: 0.5"] {
  opacity: 0.3 !important;
  cursor: not-allowed;
  transform: translateY(-50%) scale(0.9);
}

.carousel-btn:disabled:hover,
.carousel-btn[style*="pointer-events: none"]:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  border-color: rgba(6, 190, 222, 0.26);
  transform: translateY(-50%) scale(0.9);
}

/* Desktop: mostrar 3 cards */
@media screen and (min-width: 1024px) {
  .bonuses-carousel-container {
    padding: 0 70px;
    max-width: 1400px;
    margin: 0 auto;
  }

  .bonuses-carousel-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .bonuses-grid {
    gap: 2rem;
    padding: 0.5rem 0 2rem 0;
    align-items: stretch;
  }

  .bonus-card-new {
    min-width: calc(33.333% - 1.33rem);
    max-width: calc(33.333% - 1.33rem);
    flex-shrink: 0;
    margin: 0;
    box-sizing: border-box;
  }

  .carousel-btn {
    width: 60px;
    height: 60px;
  }

  .carousel-btn i {
    font-size: 1.8rem;
  }

  .carousel-btn-prev {
    left: 5px;
  }

  .carousel-btn-next {
    right: 5px;
  }

  /* Desktop Hero Section Optimization - 65/35 split */
  section#home .home__container.bd-grid {
    min-height: calc(100vh - var(--header-height) - env(safe-area-inset-top, 0px) - 40px);
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    overflow: visible !important;
    display: grid !important;
    grid-template-columns: 1.857fr 1fr !important; /* 65%-35% ratio */
    gap: 2rem !important;
    align-items: start;
  }
  
  /* Left side content - Both anonymous and authenticated occupy column 1 (65%) */
  section#home .home__container .home__data {
    position: relative;
    z-index: 2;
    grid-column: 1;
    width: auto !important; /* Override mobile width:100% for grid containment */
    max-width: 100% !important; /* Constrain within grid column */
  }
  
  /* Right side grid slot - occupies column 2 (35%) for anonymous hero */
  section#home .home__container .hero-right-slot {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: 100%;
    align-self: stretch;
  }
  
  /* Right side content (stats + image) - stays absolute inside the slot for background effect */
  section#home .home__container .hero-right-slot .hero-right-content {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    right: auto !important;
  }

  /* AUTHENTICATED VIEW: Image becomes decorative backdrop, not a grid column */
  section#home .home__container.bd-grid.home--authenticated {
    grid-template-columns: 1fr !important;
  }

  section#home .home__container.home--authenticated .hero-right-slot {
    position: absolute !important;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    grid-column: unset;
    grid-row: unset;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
  }

  section#home .home__container.home--authenticated .hero-right-slot .home__mesa {
    opacity: 0.15;
    right: -5%;
    left: auto;
    transform: none;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mask-image: linear-gradient(to left, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 100%);
  }

  section#home .home__container.home--authenticated .home__data {
    grid-column: 1 / -1;
    z-index: 2;
  }

  .home__title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
  }

  .home__subtitle {
    font-size: 1.6rem;
    margin-bottom: 3rem;
    max-width: 800px;
  }

  /* Desktop Benefits Grid - Ensure flex layout for metaverso style */
  .benefits-grid {
    display: flex !important;
    gap: 2rem !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    margin: 3rem auto !important;
    max-width: 1200px !important;
  }

  .benefit-item {
    min-width: 200px !important;
    padding: 2rem 1.5rem !important;
    justify-content: center !important;
  }
  
  /* Ensure promo-grid also follows desktop layout if used */
  .promo-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    grid-template-rows: auto !important;
    gap: 2rem !important;
    max-width: 1200px !important;
    margin: 3rem auto !important;
    height: auto !important;
  }

  .benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
  }

  .benefit-item span {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  /* Desktop CTA Section */
  .home_contact {
    margin-top: 3rem;
    gap: 1.5rem;
  }

  .primary-cta {
    font-size: 1.2rem;
    padding: 1rem 2.5rem;
    min-width: 280px;
  }

  .cta-micro-copy {
    font-size: 1rem;
    margin-top: 0.8rem;
  }

  /* Desktop CTA Button Optimization */
  .home_contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    z-index: 10;
    position: relative;
  }

  .primary-cta {
    font-size: 1.1rem !important;
    padding: 1rem 2.5rem !important;
    min-width: 250px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(6, 190, 222, 0.35);
    transform: translateZ(0);
    transition: all 0.3s ease;
  }

  .primary-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 30px rgba(6, 190, 222, 0.52) !important;
  }

  /* Desktop Authenticated State Optimizations */
  .user-card-main {
    max-width: 500px;
    margin: 2rem auto;
  }

  .user-card-header {
    margin-bottom: 2rem;
  }

  .user-name {
    font-size: 2rem;
  }

  .balance-amount-main {
    font-size: 3.2rem;
  }

  .balance-usd-equivalent {
    font-size: 1.4rem;
  }

  /* Desktop Floating Indicators */
  .hero-right-indicators {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    gap: 1.5rem;
  }

  .floating-indicator {
    min-width: 200px;
    padding: 1.2rem 1.5rem;
  }

  .indicator-number {
    font-size: 1.8rem;
  }

  .indicator-label {
    font-size: 1rem;
  }

  /* Ocultar botones de navegación si todas las cards caben en pantalla */
  .bonuses-carousel-container:has(.bonuses-grid[data-total-cards="3"]) .carousel-btn {
    display: none;
  }
}

/* Tablet: mostrar 2 cards */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  .bonus-card-new {
    min-width: calc(50% - 1rem);
    flex-shrink: 0;
  }

  .bonuses-carousel-container {
    padding: 0 55px;
  }

  .carousel-btn {
    width: 50px;
    height: 50px;
  }

  .carousel-btn i {
    font-size: 1.4rem;
  }
}

/* Mobile: mostrar 1 card */
@media screen and (max-width: 767px) {
  .bonuses-carousel-container {
    padding: 0 7px;
    margin: 0;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .bonuses-carousel-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .bonuses-grid {
    gap: 20px;
    padding: 0.5rem 0 2rem 0;
    align-items: center;
  }

  .bonus-card-new {
    width: calc(100vw - 100px);
    min-width: calc(100vw - 100px);
    max-width: calc(100vw - 100px);
    flex-shrink: 0;
    margin: 0;
    box-sizing: border-box;
  }

  .carousel-btn {
    width: 45px;
    height: 45px;
    z-index: 1000;
  }

  .carousel-btn i {
    font-size: 1.3rem;
  }

  .carousel-btn-prev {
    left: -11px;
  }

  .carousel-btn-next {
    right: 36px;
  }
}

/* Indicadores de carrusel para mobile */
@media screen and (max-width: 767px) {
  .carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
  }

  .carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(6, 190, 222, 0.26);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .carousel-indicator.active {
    background: #06BEDE;
    transform: scale(1.2);
  }
}

/* Promo Carousel - Solo Mobile */
@media screen and (max-width: 767px) {
  .promo-carousel-mobile {
    position: relative;
    overflow: hidden;
    padding: 0 7px;
    margin: 0;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .promo-carousel-wrapper {
    width: 100%;
    overflow: hidden;
  }

  .promo-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    align-items: center;
    padding: 0.5rem 0 2rem 0;
  }

  .promo-carousel-mobile .space-card {
    width: calc(100vw - 100px);
    min-width: calc(100vw - 100px);
    max-width: calc(100vw - 100px);
    flex-shrink: 0;
    margin: 0;
    box-sizing: border-box;
  }

  .promo-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    border: 2px solid rgba(6, 190, 222, 0.26);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  }

  .promo-carousel-btn:hover {
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.17), rgba(6, 190, 222, 0.08));
    border-color: rgba(6, 190, 222, 0.52);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 30px rgba(6, 190, 222, 0.26);
  }

  .promo-carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
  }

  .promo-carousel-btn i {
    font-size: 1.3rem;
    color: #06BEDE;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .promo-carousel-btn-prev {
    left: 5px;
  }

  .promo-carousel-btn-next {
    right: 36px;
  }

  .promo-carousel-btn:disabled,
  .promo-carousel-btn[style*="opacity: 0.3"] {
    opacity: 0.3 !important;
    cursor: not-allowed;
    transform: translateY(-50%) scale(0.9);
  }

  .promo-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
  }

  .promo-carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(6, 190, 222, 0.26);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .promo-carousel-indicator.active {
    background: #06BEDE;
    transform: scale(1.2);
  }

  /* Asegurar que el grid original no interfiera en mobile */
  .promo-carousel-mobile.spaces-grid {
    display: block;
    grid-template-columns: none;
    gap: 0;
  }
}

/* Contact Section - Redesigned */
.contact-section {
  padding: 4rem 2rem;
  padding-top: calc(var(--header-height) + 4rem);
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(6, 190, 222, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #06BEDE;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 20px rgba(6, 190, 222, 0.42);
  letter-spacing: 2px;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-weight: 300;
}

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

.contact-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(6, 190, 222, 0.17);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.04), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 190, 222, 0.35);
  box-shadow: 0 20px 40px rgba(6, 190, 222, 0.08);
}

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

.contact-card-featured {
  border-color: rgba(6, 190, 222, 0.42);
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.08), rgba(255, 255, 255, 0.05));
}

.contact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem auto;
  background: linear-gradient(135deg, #06BEDE, #ffed4e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(6, 190, 222, 0.26);
}

.contact-icon i {
  font-size: 2rem;
  color: #1a1a2e;
}

.contact-icon .flag-icon {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid #1a1a2e;
}

.contact-card-title {
  font-size: 1.4rem;
  color: #06BEDE;
  margin-bottom: 1rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(6, 190, 222, 0.26);
}

.contact-info {
  margin-top: 1rem;
}

.contact-detail {
  color: rgba(255, 255, 255, 0.8);
  margin: 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-email {
  color: #06BEDE;
  font-weight: 600;
  margin: 0.5rem 0;
  font-size: 1rem;
  text-shadow: 0 2px 10px rgba(6, 190, 222, 0.17);
}

.contact-telegram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  margin: 0.5rem 0;
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.12), rgba(6, 190, 222, 0.07));
  border: 2px solid rgba(6, 190, 222, 0.26);
  border-radius: 12px;
  color: #06BEDE;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(6, 190, 222, 0.08);
}

.contact-telegram:hover {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.22), rgba(6, 190, 222, 0.12));
  border-color: rgba(6, 190, 222, 0.42);
  box-shadow: 0 6px 20px rgba(6, 190, 222, 0.17);
  transform: translateY(-2px);
}

.contact-telegram i {
  font-size: 1.3rem;
}

.contact-brands {
  position: relative;
  z-index: 2;
}

.brands-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(6, 190, 222, 0.12);
  border-radius: 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.brand-item:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 190, 222, 0.26);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.brand-item img {
  width: 120px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 0;
  filter: brightness(1.1);
  transition: all 0.3s ease;
}

.brand-item:hover img {
  filter: brightness(1.3);
  transform: scale(1.05);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .contact-section {
    padding: 3rem 1rem;
  }

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

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

  .contact-card {
    padding: 1.5rem;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
  }

  .contact-icon i {
    font-size: 1.5rem;
  }

  .contact-icon .flag-icon {
    width: 40px;
    height: 40px;
  }

  .brands-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .brand-item {
    padding: 1rem;
  }

  .brand-item img {
    width: 100px;
    height: 70px;
  }
}

@media screen and (max-width: 480px) {
  .contact-title {
    font-size: 1.8rem;
  }

  .brands-container {
    grid-template-columns: 1fr;
  }
}

/* Streaming Modals */
.streaming-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.streaming-modal.show {
  opacity: 1;
  visibility: visible;
}

.streaming-modal-content {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Message Modal */
.message-modal-content {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  border: 2px solid rgba(6, 190, 222, 0.26);
  padding: 3rem 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
}

.streaming-message-text {
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1.5;
  text-shadow: 0 2px 10px rgba(6, 190, 222, 0.26);
}

/* Iframe Modal */
.iframe-modal-content {
  width: 95vw;
  height: 90vh;
  background: #000;
  border: 3px solid rgba(6, 190, 222, 0.42);
}

.streaming-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.80), rgba(6, 190, 222, 0.60));
  border: none;
  border-radius: 50%;
  color: #1a1a2e;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.streaming-close-btn:hover {
  background: linear-gradient(135deg, #06BEDE, #ffed4e);
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(6, 190, 222, 0.35);
}

.streaming-close-btn:active {
  transform: scale(0.95);
}

#streaming-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0 0 10px 10px;
}

/* Responsive adjustments for streaming modals */
@media screen and (max-width: 768px) {
  .iframe-modal-content {
    width: 98vw;
    height: 95vh;
  }

  .message-modal-content {
    padding: 2rem 1.5rem;
    margin: 1rem;
  }

  .streaming-message-text {
    font-size: 1rem;
  }

  .streaming-close-btn {
    width: 45px;
    height: 45px;
    top: 10px;
    right: 10px;
    font-size: 1.3rem;
  }
}

.bonus-card-new {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(6, 190, 222, 0.17);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bonus-card-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #06BEDE, #4ecdc4, #ff6b6b, #06BEDE);
  background-size: 200% 100%;
  animation: rainbow-border 3s linear infinite;
}

@keyframes rainbow-border {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.bonus-card-new:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 190, 222, 0.35);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(6, 190, 222, 0.08);
}

.bonus-card-new.starter:hover {
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(78, 205, 196, 0.2);
}

.bonus-card-new.standard:hover {
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(255, 107, 107, 0.2);
}

.bonus-card-new.premium:hover {
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(138, 43, 226, 0.2);
}

.bonus-card-new.elite:hover {
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(6, 190, 222, 0.26);
}

.bonus-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #333;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(6, 190, 222, 0.26);
}

.bonus-badge.featured {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.bonus-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.17), rgba(6, 190, 222, 0.08));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(6, 190, 222, 0.26);
}

.bonus-icon i {
  font-size: 1.8rem;
  color: #06BEDE;
}

.bonus-amount {
  margin-bottom: 1rem;
  text-align: left;
}

.amount-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: #06BEDE;
  text-shadow: 0 0 20px rgba(6, 190, 222, 0.42);
  line-height: 1;
}

.amount-currency {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  margin-left: 0.5rem;
}

.bonus-title {
  color: white;
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0 0 0.8rem 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.bonus-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.bonus-features {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.feature-item i {
  color: #4ecdc4;
  font-size: 1rem;
  flex-shrink: 0;
}

.bonus-btn-new {
  width: 100%;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 15px;
  font-weight: bold;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  margin-top: auto;
}

.bonus-btn-new.primary {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: white;
  box-shadow: 0 6px 20px rgba(78, 205, 196, 0.3);
}

.bonus-btn-new.primary:hover {
  background: linear-gradient(135deg, #44a08d, #4ecdc4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.bonus-btn-new i {
  transition: transform 0.3s ease;
}

.bonus-btn-new:hover i {
  transform: translateX(4px);
}

/* Variant colors for different bonus types */
.bonus-card-new.starter .bonus-icon {
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.2), rgba(78, 205, 196, 0.1));
  border-color: rgba(78, 205, 196, 0.3);
}

.bonus-card-new.starter .bonus-icon i {
  color: #4ecdc4;
}

.bonus-card-new.standard .bonus-icon {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(255, 107, 107, 0.1));
  border-color: rgba(255, 107, 107, 0.3);
}

.bonus-card-new.standard .bonus-icon i {
  color: #ff6b6b;
}

.bonus-card-new.premium .bonus-icon {
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(138, 43, 226, 0.1));
  border-color: rgba(138, 43, 226, 0.3);
}

.bonus-card-new.premium .bonus-icon i {
  color: #8a2be2;
}

.bonus-card-new.elite .bonus-icon {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.26), rgba(6, 190, 222, 0.17));
  border-color: rgba(6, 190, 222, 0.35);
  animation: elite-glow 2s ease-in-out infinite alternate;
}

@keyframes elite-glow {
  from { box-shadow: 0 0 15px rgba(6, 190, 222, 0.26); }
  to { box-shadow: 0 0 25px rgba(6, 190, 222, 0.42); }
}

/*========== BONUS CARDS RESPONSIVE ==========*/
@media screen and (max-width: 768px) {
  .bonuses-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0rem;
  }

  .bonus-card-new {
    padding: 1.5rem;
  }

  .bonus-badge {
    top: 0.8rem;
    right: 0.8rem;
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
  }

  .bonus-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }

  .bonus-icon i {
    font-size: 1.5rem;
  }

  .amount-number {
    font-size: 2rem;
  }

  .amount-currency {
    font-size: 1rem;
  }

  .bonus-title {
    font-size: 1.2rem;
  }

  .bonus-description {
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
  }

  .feature-item {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
  }

  .bonus-btn-new {
    padding: 0.9rem 1.2rem;
    font-size: 0.9rem;
  }
}

/*========== BONUS MODAL ==========*/
.bonus-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10001;
  animation: fadeIn 0.3s ease;
}

.bonus-modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.bonus-modal-content {
  background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  border: 2px solid #06BEDE;
  box-shadow: 0 20px 60px rgba(6, 190, 222, 0.26);
  position: relative;
}

.bonus-modal-header {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #333;
  padding: 1.5rem 2rem;
  border-radius: 18px 18px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #333;
}

.bonus-modal-header h2,
.bonus-modal-header h3 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.bonus-close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.bonus-close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: scale(1.1);
}

.bonus-modal-body {
  padding: 2rem;
  color: white;
}

.bonus-amount-display {
  text-align: center;
  margin-bottom: 2rem;
}

.bonus-amount {
  display: block;
  font-size: 3rem;
  font-weight: bold;
  color: #06BEDE;
  text-shadow: 0 0 20px rgba(6, 190, 222, 0.42);
  margin-bottom: 0.5rem;
}

.bonus-label {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/*========== NEW BONUS MODAL DESIGN ==========*/
.bonus-modal-content-new {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
  border-radius: 25px;
  max-width: 550px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(6, 190, 222, 0.26);
  box-shadow: 
    0 25px 80px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(6, 190, 222, 0.08);
  position: relative;
  backdrop-filter: blur(20px);
  animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-50px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.bonus-modal-header-new {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #333;
  padding: 2rem;
  border-radius: 25px 25px 0 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.bonus-modal-header-new::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.modal-bonus-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-bonus-icon i {
  font-size: 1.8rem;
  color: #333;
}

.bonus-modal-header-new h2,
.bonus-modal-header-new h3 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: bold;
  flex-grow: 1;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.bonus-close-btn-new {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #333;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.bonus-close-btn-new:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.bonus-close-btn-new i {
  font-size: 1.5rem;
}

.bonus-modal-body-new {
  padding: 2rem;
  color: white;
}

.bonus-info-new {
  margin-bottom: 2rem;
}

.bonus-amount-display-new {
  text-align: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(6, 190, 222, 0.08);
  border-radius: 20px;
  border: 1px solid rgba(6, 190, 222, 0.17);
}

.bonus-amount-new {
  display: block;
  font-size: 3.2rem;
  font-weight: bold;
  color: #06BEDE;
  text-shadow: 0 0 30px rgba(6, 190, 222, 0.52);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.bonus-label-new {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.bonus-description-new {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border-left: 4px solid #4ecdc4;
}

.bonus-description-new p {
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.bonus-details-new {
  margin-bottom: 2rem;
}

.bonus-detail-item-new {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.bonus-detail-item-new:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(6, 190, 222, 0.26);
}

.detail-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.2), rgba(78, 205, 196, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(78, 205, 196, 0.3);
}

.detail-icon i {
  font-size: 1.2rem;
  color: #4ecdc4;
}

.detail-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.detail-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.detail-value {
  font-size: 1rem;
  color: white;
  font-weight: 600;
}

.bonus-benefits {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.1), rgba(78, 205, 196, 0.05));
  border-radius: 15px;
  border: 1px solid rgba(78, 205, 196, 0.2);
}

.bonus-benefits h4 {
  margin: 0 0 1rem 0;
  color: #4ecdc4;
  font-size: 1.1rem;
  font-weight: bold;
}

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

.benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.benefits-list li:last-child {
  margin-bottom: 0;
}

.benefits-list i {
  color: #4ecdc4;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.bonus-actions-new {
  display: flex;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-action-btn-new {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 15px;
  font-weight: bold;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

.bonus-action-btn-new.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.bonus-action-btn-new.secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.bonus-action-btn-new.primary {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: white;
  box-shadow: 0 6px 20px rgba(78, 205, 196, 0.3);
  border: 2px solid transparent;
}

.bonus-action-btn-new.primary:hover {
  background: linear-gradient(135deg, #44a08d, #4ecdc4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.bonus-action-btn-new i {
  font-size: 1.1rem;
}

/*========== BONUS MODAL RESPONSIVE ==========*/
@media screen and (max-width: 768px) {
  .bonus-modal-content-new {
    width: 95%;
    margin: 1rem;
    max-height: 85vh;
  }

  .bonus-modal-header-new {
    padding: 1.5rem;
  }

  .modal-bonus-icon {
    width: 40px;
    height: 40px;
  }

  .modal-bonus-icon i {
    font-size: 1.5rem;
  }

  .bonus-modal-header-new h2,
  .bonus-modal-header-new h3 {
    font-size: 1.4rem;
  }

  .bonus-modal-body-new {
    padding: 1.5rem;
  }

  .bonus-amount-new {
    font-size: 2.5rem;
  }

  .bonus-actions-new {
    flex-direction: column;
    gap: 0.8rem;
  }

  .bonus-action-btn-new {
    padding: 0.9rem 1.2rem;
    font-size: 0.9rem;
  }

  .detail-icon {
    width: 35px;
    height: 35px;
  }

  .detail-icon i {
    font-size: 1rem;
  }
}

.bonus-description {
  margin-bottom: 2rem;
  text-align: center;
}

.bonus-description p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.bonus-details {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.bonus-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  font-weight: bold;
  color: #06BEDE;
}

.detail-value {
  color: rgba(255, 255, 255, 0.9);
}

.bonus-modal-footer {
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-cancel-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: bold;
}

.bonus-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.bonus-purchase-btn {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

.bonus-purchase-btn:hover {
  background: linear-gradient(135deg, #44a08d, #4ecdc4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

/*========== PURCHASE CONFIRMATION MODAL ==========*/
.purchase-confirm {
  max-width: 600px;
}

.purchase-success {
  text-align: center;
  padding: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.success-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  animation: bounce 1s ease-in-out;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.purchase-success h2 {
  color: #4ecdc4;
  margin: 0 0 1rem 0;
  font-size: 2.5rem;
}

.purchase-success p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin: 0;
}

.purchase-details {
  padding: 2rem;
}

.purchase-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.purchase-item:last-child {
  border-bottom: none;
}

.purchase-label {
  font-weight: bold;
  color: #06BEDE;
  font-size: 1.1rem;
}

.purchase-value {
  color: white;
  font-size: 1.1rem;
}

.status-active {
  color: #4ecdc4;
  font-weight: bold;
}

.purchase-actions {
  padding: 1.5rem 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bonus-action-btn {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
  font-size: 1rem;
}

.bonus-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.bonus-action-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.bonus-action-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

/*========== RESPONSIVE BONUS MODALS ==========*/
@media screen and (max-width: 768px) {
  .bonus-modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .bonus-modal-header {
    padding: 1rem 1.5rem;
  }

  .bonus-modal-header h2,
  .bonus-modal-header h3 {
    font-size: 1.5rem;
  }

  .bonus-modal-body {
    padding: 1.5rem;
  }

  .bonus-amount {
    font-size: 2.5rem;
  }

  .bonus-modal-footer {
    padding: 1rem 1.5rem;
    flex-direction: column;
  }

  .purchase-actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .bonus-action-btn {
    width: 100%;
  }
}

html {
  scroll-behavior: smooth;
  /* Compensar el header fijo al navegar con anclas */
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

/*========== Variables Dark theme ==========*/
body.dark-theme {
  --title-color: #F1F3F2;
  --text-color: #C7D1CC;
  --body-color: #1D2521;
  --container-color: #27302C;
}

/*========== Button Dark/Light ==========*/
.change-theme {
  position: absolute;
  right: 1rem;
  top: 1.8rem;
  color: var(--text-color);
  font-size: 1rem;
  cursor: pointer;
}

body {
  margin: var(--header-height) 0 0 0;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-image: none;
  background-position: top;
  background-repeat: no-repeat;
  margin: 0;
  color: var(--container-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #0A0E1A;
}
html {
  background-color: #0A0E1A;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

/*========== CLASS CSS ==========*/
.section {
  padding-top: calc(var(--header-height) + 1rem);
  padding-bottom: 1.5rem;
}




.Games {
  padding: 1rem 0 2rem;
  margin-top: 2rem;
}

.section-title,
.section-subtitle {
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: center;
}

.section-title_numer {
  font-size: var(--h4-font-size);
}

.section-title {
  font-size: var(--h1-font-size);
  color: var(--container-color);
  margin-bottom: var(--mb-1);
  justify-content: center;
  width: 100%;
}

.section-subtitle {
  display: block;
  color: var(--text-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1);
}

.section-header-enhanced {
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  padding: 0 1rem;
}

.section-header-enhanced .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.12), rgba(6, 190, 222, 0.08));
  border: 1px solid rgba(6, 190, 222, 0.26);
  color: #06BEDE;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.section-header-enhanced .section-badge i {
  font-size: 0.85rem;
}

.section-header-enhanced .section-title {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #06BEDE 50%, #ffaa00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  display: block;
}

.section-header-enhanced .section-divider {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #06BEDE, #ff8c00);
  margin: 0.5rem auto 0.75rem;
  border-radius: 3px;
}

.section-header-enhanced .section-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

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

  .section-header-enhanced .section-description {
    font-size: 1.05rem;
  }
}

@media (max-width: 767px) {
  .section-header-enhanced .section-title {
    font-size: 1.6rem;
  }

  .section-header-enhanced .section-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
  }

  .section-header-enhanced .section-description {
    font-size: 0.85rem;
  }
}

.review-carousel {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.review-slide {
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  width: 100%;
  text-align: center;
}

.review-slide.active {
  opacity: 1;
  position: relative;
}

.review-subtitle {
  display: block;
  color: var(--text-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-1);
  margin: 1rem;
}

/*========== LAYOUT ==========*/
.bd-container {
  max-width: 1240px;
  margin-left: var(--mb-2);
  margin-right: var(--mb-2);
}

.bd-grid {
  display: grid;
  gap: 1.5rem;
}

.l-header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  background-color: var(--first-color);
  padding-top: env(safe-area-inset-top);      /* ✅ NUEVO */
  padding-left: env(safe-area-inset-left);    /* ✅ NUEVO */
  padding-right: env(safe-area-inset-right);  /* ✅ NUEVO */
}

/*========== NAV ==========*/
.nav {
  max-width: 100%;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow-x: hidden;
  overflow-y: visible;
  padding-inline: 0.5rem;
}

/* Header Logo - Mobile First (larger for visibility) */
.header-logo {
  height: calc(var(--header-height) - 4px);
  width: auto;
  max-width: clamp(110px, 42vw, 170px);
  display: block;
  object-fit: contain;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 5;
  transform: scale(1.7);
  transform-origin: left center;
}

@media screen and (min-width: 768px) {
  .header-logo {
    height: 52px;
    max-width: 200px;
    margin-left: 16px;
    transform: none;
  }
}

@media screen and (min-width: 1024px) {
  .header-logo {
    height: 60px;
    max-width: 220px;
    margin-left: 20px;
  }
}

/* Fix desktop navigation overflow only */
@media screen and (min-width: 769px) {
  .nav {
    overflow: visible;
  }

  .nav__menu {
    overflow: visible;
  }

  .nav__list {
    display: flex;
    align-items: center;
    overflow: visible;
  }
}

@media screen and (max-width: 768px) {
  .nav__menu {
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100vh - var(--header-height) - env(safe-area-inset-bottom, 0));
    padding: 1.5rem 0 1.5rem;
    padding: 1.5rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0));
    text-align: center;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: .4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
      0 8px 32px rgba(0, 0, 0, 0.5),
      0 0 40px rgba(6, 190, 222, 0.12),
      0 0 60px rgba(6, 190, 222, 0.08);
    border-radius: 0 0 1.5rem 1.5rem;
    border-bottom: 2px solid rgba(6, 190, 222, 0.26);
    border-left: 1px solid rgba(6, 190, 222, 0.12);
    border-right: 1px solid rgba(6, 190, 222, 0.12);
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(6, 190, 222, 0.40) rgba(26, 26, 46, 0.35);
  }

  .nav__menu::-webkit-scrollbar {
    width: 6px;
  }

  .nav__menu::-webkit-scrollbar-track {
    background: rgba(26, 26, 46, 0.35);
    border-radius: 3px;
  }

  .nav__menu::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(6, 190, 222, 0.52), rgba(74, 171, 223, 0.4));
    border-radius: 3px;
  }

  .nav__menu::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(6, 190, 222, 0.70), rgba(74, 171, 223, 0.6));
  }

  .nav__item {
    margin-bottom: 0;
  }

  .nav__link {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
  }

  .nav__link:hover {
    color: #06BEDE;
    background: rgba(6, 190, 222, 0.08);
    text-shadow: 0 0 10px rgba(6, 190, 222, 0.42);
  }

  .nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #06BEDE, transparent);
    transition: width 0.3s ease;
  }

  .nav__link:hover::after {
    width: 60%;
  }

  .nav__link.active-link {
    color: #06BEDE;
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.12) 0%, rgba(74, 171, 223, 0.08) 100%);
    text-shadow: 0 0 10px rgba(6, 190, 222, 0.35);
  }

  .nav__link.active-link::after {
    width: 60%;
  }
}

/* Desktop navigation styles */
@media screen and (min-width: 769px) {
  .nav__item {
    margin-bottom: var(--mb-2);
  }

  .nav__link,
  .nav__logo {
    color: var(--text-color);
    font-weight: var(--font-bold);
  }

  .nav__logo:hover {
    color: var(--first-color);
  }

  .nav__link {
    transition: .3s;
  }

  .nav__link:hover {
    color: var(--text-color);
  }

  .active-link {
    color: var(--text-color-light);
  }
}

.nav__toggle {
  color: var(--text-color);
  font-weight: var(--font-bold);
  font-size: 1.3rem;
  cursor: pointer;
}

/* Show menu */
.show-menu {
  top: var(--header-height);
}

/* Change background header */
.scroll-header {
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}

/*========== UX OPTIMIZED: CTA PLAY NOW BUTTON ==========*/
.cta-play-now {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--cta-primary);
  color: var(--cta-primary-text);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 
    0 4px 15px rgba(6, 190, 222, 0.35),
    0 0 30px rgba(6, 190, 222, 0.17);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.cta-play-now::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.cta-play-now:hover {
  background: var(--cta-primary-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 6px 20px rgba(6, 190, 222, 0.42),
    0 0 40px rgba(6, 190, 222, 0.26);
}

.cta-play-now:hover::before {
  left: 100%;
}

.cta-play-now i {
  font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
  .cta-play-now {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
  .cta-play-now i {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .nav.bd-container {
    gap: 6px;
    justify-content: space-between;
  }
  .cta-play-now {
    margin-left: auto;
    margin-right: 4px;
    padding: 8px 10px;
    font-size: 0.7rem;
    min-height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    white-space: nowrap;
    flex-shrink: 1;
    max-width: 55%;
    overflow: hidden;
  }
  .cta-play-now span {
    display: inline;
    font-size: 0.65rem;
    font-weight: 700;
  }
  .cta-play-now i {
    font-size: 0.9rem;
  }
  .header-logo {
    max-width: 70px;
    flex-shrink: 0;
  }
}

@media screen and (max-width: 380px) {
  .cta-play-now {
    padding: 8px 10px;
    font-size: 0.65rem;
    margin-right: 6px;
  }
  .cta-play-now span {
    display: inline;
    font-size: 0.6rem;
  }
  .cta-play-now i {
    font-size: 0.85rem;
  }
  .header-logo {
    max-width: 60px;
  }
}

/*========== UX OPTIMIZED: NAV DROPDOWN MENU ==========*/
.nav__dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border-radius: 12px;
  padding: 8px 0;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(6, 190, 222, 0.08);
  border: 1px solid rgba(6, 190, 222, 0.17);
  z-index: 1000;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.nav__dropdown.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.nav__dropdown li {
  list-style: none;
}

.nav__dropdown-link {
  display: block;
  padding: 10px 20px;
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.nav__dropdown-link:hover {
  background: rgba(6, 190, 222, 0.08);
  color: #06BEDE;
  padding-left: 25px;
}

.nav__dropdown-toggle {
  position: relative;
}

/* Primary navigation items - games/main sections */
.nav__item--primary .nav__link {
  font-weight: 600;
  color: var(--text-color);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.nav__item--primary .nav__link:hover {
  color: var(--cta-primary);
}

/* Secondary items (dropdown) */
.nav__item--secondary {
  position: relative;
}

/* Auth items styling */
.nav__item--auth .nav__link--logout {
  color: #ff6b6b;
  opacity: 0.8;
}

.nav__item--auth .nav__link--logout:hover {
  opacity: 1;
}

/* Wallet items - controlled by inline styles in HTML */
/* Classes available for JS control if needed */
.nav__item--wallet.hidden {
  display: none !important;
}

.nav__link--more {
  display: flex;
  align-items: center;
  gap: 5px;
}

@media screen and (max-width: 768px) {
  /* Centrar el elemento "Más" en móvil */
  .nav__item--secondary {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .nav__link--more {
    justify-content: center;
  }
  
  .nav__dropdown {
    position: static;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin: 10px auto;
    width: calc(100% - 30px);
    max-width: 280px;
    box-shadow: none;
    border: 1px solid rgba(6, 190, 222, 0.08);
  }
  
  .nav__dropdown.show {
    transform: none;
  }
  
  .nav__dropdown-link {
    text-align: center;
    padding: 12px 15px;
  }
  
  .nav__dropdown-link:hover {
    padding-left: 15px; /* Mantener centrado en hover */
  }
}

/*========== UX OPTIMIZED: BUTTON HIERARCHY ==========*/
.btn-primary {
  background: var(--cta-primary);
  color: var(--cta-primary-text);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
}

.btn-primary:hover {
  background: var(--cta-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 190, 222, 0.35);
}

.btn-secondary {
  background: var(--cta-secondary);
  color: var(--cta-secondary-text);
  border: 1px solid var(--cta-secondary-border);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--cta-outline-text);
  border: 2px solid var(--cta-outline-border);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(6, 190, 222, 0.08);
  border-color: #06BEDE;
}

/* Scroll top */
.scrolltop {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: .3rem;
  background: var(--first-color);
  border-radius: .4rem;
  z-index: var(--z-tooltip);
  transition: .4s;
  visibility: hidden;
}

.scrolltop:hover {
  background-color: var(--first-color-alt);
}

.scrolltop__icon {
  font-size: 1.8rem;
  color: var(--body-color);
}

/* Show scrolltop */
.show-scroll {
  visibility: visible;
  bottom: 1.5rem;
}

/*========== HOME ==========*/

/* Dynamic Hero Banner */
.hero-banner {
  background: linear-gradient(135deg, #06BEDE 0%, #4AABDF 50%, #FF6B35 100%);
  color: #333;
  text-align: center;
  padding: 0.8rem 1rem;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 2px 10px rgba(6, 190, 222, 0.26);
  animation: bannerPulse 3s ease-in-out infinite alternate;
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  width: 100%;
}

/* Hide hero banner on desktop */
@media screen and (min-width: 1024px) {
  .hero-banner {
    display: none !important;
  }
}

@keyframes bannerPulse {
  0% { box-shadow: 0 2px 10px rgba(6, 190, 222, 0.26); }
  100% { box-shadow: 0 4px 20px rgba(6, 190, 222, 0.52); }
}

/* Accessibility - Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .hero-banner,
  .user-metric-card.highlight .metric-number,
  .winner-notification-card,
  .benefit-item,
  .primary-cta,
  .secondary-cta {
    animation: none;
    transition: none;
  }
  
  .home__title {
    text-shadow: none;
    filter: none;
  }
}

/* Mobile motion reduction */
@media screen and (max-width: 768px) {
  .user-metric-card.highlight .metric-number {
    animation: none;
  }
  
  .user-metric-card:hover {
    transform: none;
  }
}

/* Tablet and mobile breakpoints */
@media screen and (max-width: 768px) {
  /* REMOVED: .hero-right-content display:none - now handled by flex stacking */
  
  .home__container {
    min-height: calc(100vh - var(--header-height) - env(safe-area-inset-top, 0px) - 40px);
  }
}


.banner-content {
  max-width: 1200px;
  margin: 0 auto;
}

section#home {
  padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px));
}

.home__container {
  min-height: calc(100vh - var(--header-height) - env(safe-area-inset-top, 0px) - 60px);
  align-content: center;
  position: relative;
}

.home__title {
  font-family: 'Manrope', sans-serif;
  font-style: italic;
  font-size: 3.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
  text-align: center;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff, #06BEDE, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(6, 190, 222, 0.26), 0 0 40px rgba(6, 190, 222, 0.17);
  filter: drop-shadow(0 2px 8px rgba(6, 190, 222, 0.35));
  word-wrap: break-word;
  max-width: 100%;
  overflow-wrap: break-word;
}

.gradient-text {
  background: linear-gradient(135deg, #06BEDE 0%, #4AABDF 50%, #FF6B35 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.home__subtitle {
  font-size: 1.4rem;
  font-weight: 500;
  color: #f0f0f0;
  line-height: 1.4;
  margin-bottom: 1rem;
  max-width: 600px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Hero Badge - Metaverso Style */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    width: fit-content;
    animation: float 3s ease-in-out infinite;
    margin-left: auto;
    margin-right: auto;
}

/* Enhanced Benefits Grid with Metaverso Effects */
.benefits-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin: 3rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 2px solid rgba(6, 190, 222, 0.26);
  border-radius: 15px;
  padding: 1.5rem 1.25rem;
  backdrop-filter: blur(15px);
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.benefit-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #06BEDE, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(6, 190, 222, 0.52);
  box-shadow: 0 15px 40px rgba(6, 190, 222, 0.26);
}

.benefit-item:hover::before {
  opacity: 1;
}

.benefit-item.highlight {
  border-color: rgba(6, 190, 222, 0.52);
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.08), rgba(74, 171, 223, 0.04));
  box-shadow: 0 8px 32px rgba(6, 190, 222, 0.17);
}

.benefit-item.highlight .benefit-icon {
  animation: pulse 2.5s ease-in-out infinite;
}

.benefit-icon {
  font-size: 2.8rem;
  color: #06BEDE;
  margin-bottom: 0.8rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8), 0 0 20px rgba(6, 190, 222, 0.35);
  transition: all 0.3s ease;
}

.benefit-item span {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

/* Call to Actions */
.home_contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.primary-cta {
  background: linear-gradient(135deg, #06BEDE 0%, #4AABDF 100%) !important;
  color: #333 !important;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  box-shadow: 0 6px 20px rgba(6, 190, 222, 0.35);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(6, 190, 222, 0.52);
  color: #333 !important;
}

.secondary-cta {
  background: transparent !important;
  color: var(--text-color) !important;
  border: 2px solid rgba(6, 190, 222, 0.42);
  font-weight: 600;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.secondary-cta:hover {
  background: rgba(6, 190, 222, 0.08) !important;
  border-color: #06BEDE;
  color: #06BEDE !important;
}

/* CTA Micro-copy */
.cta-micro-copy {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  margin: 0.5rem 0 1rem 0;
  text-align: center;
  font-style: italic;
}

/* Hero Right Content - Base mobile/default styles */
.hero-right-content {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50%;
  pointer-events: none;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

/* Dynamic Stats */
.hero-stats {
  position: absolute;
  top: 15%;
  right: 8%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  pointer-events: auto;
}

.stat-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 2px solid rgba(6, 190, 222, 0.26);
  border-radius: 15px;
  padding: 1rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  min-width: 160px;
}

.stat-item:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 190, 222, 0.52);
  box-shadow: 0 8px 25px rgba(6, 190, 222, 0.26);
}

.stat-item.highlight {
  border-color: #06BEDE;
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.35);
  animation: statPulse 2s ease-in-out infinite alternate;
}

@keyframes statPulse {
  0% { box-shadow: 0 4px 15px rgba(6, 190, 222, 0.35); }
  100% { box-shadow: 0 6px 25px rgba(6, 190, 222, 0.52); }
}

.stat-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: #06BEDE;
  line-height: 1.2;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Winner Notification */
.winner-notification {
  position: absolute;
  bottom: 20%;
  right: 5%;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(16, 185, 129, 0.1));
  border: 2px solid rgba(34, 197, 94, 0.4);
  border-radius: 12px;
  padding: 1rem;
  backdrop-filter: blur(10px);
  animation: winnerSlideIn 0.5s ease-out;
  pointer-events: auto;
  max-width: 180px;
}

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

.winner-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.winner-content i {
  font-size: 1.5rem;
  color: #22c55e;
}

.winner-text {
  display: flex;
  flex-direction: column;
}

.winner-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

.winner-amount {
  font-size: 0.8rem;
  color: #22c55e;
  font-weight: 700;
}

/* User Card - Vertical Hierarchy Layout */
.authenticated-content {
  text-align: left;
}

.user-card-main {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(40, 40, 40, 0.7));
  border: 2px solid rgba(6, 190, 222, 0.26);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(15px);
  width: 100%;
  max-width: 450px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: visible;
}

/* Card Header - User greeting and avatar */
.user-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.user-avatar {
  flex-shrink: 0;
}

#userAvatar {
  font-size: 2.5rem;
  color: #06BEDE;
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.17), rgba(6, 190, 222, 0.08));
  border-radius: 50%;
  padding: 0.6rem;
  border: 2px solid rgba(6, 190, 222, 0.35);
}

.user-greeting {
  flex: 1;
}

.user-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
  line-height: 1.2;
}

/* Card Balance - Primary focus */
.user-card-balance {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(6, 190, 222, 0.17);
  border-bottom: 1px solid rgba(6, 190, 222, 0.17);
}

.balance-primary {
  margin-bottom: 0.5rem;
}

.balance-amount-main {
  font-size: 2.2rem;
  font-weight: 800;
  color: #06BEDE;
  text-shadow: 0 0 15px rgba(6, 190, 222, 0.35);
  line-height: 1;
  display: block;
}

.balance-secondary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.balance-usd-equivalent {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.balance-label-text {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Card Footer - Action Buttons Grid */
.user-card-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  padding-top: 0.8rem;
}

.user-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.6rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  position: relative;
  overflow: hidden;
}

.user-action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.user-action-btn:hover::before {
  opacity: 1;
}

.user-action-btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.user-action-btn span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.user-action-btn:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.user-action-btn:hover i {
  transform: scale(1.15);
}

.user-action-btn:active {
  transform: translateY(0) scale(0.96);
}

/* Button Color Variants - UNIFIED GOLD THEME */

.logout-btn {
  border-color: rgba(255, 71, 87, 0.3);
  background: linear-gradient(135deg, rgba(255, 71, 87, 0.1), rgba(255, 71, 87, 0.05));
}

.logout-btn i,
.logout-btn span {
  color: #ff4757;
}

.logout-btn:hover {
  border-color: rgba(255, 71, 87, 0.5);
  box-shadow: 0 8px 20px rgba(255, 71, 87, 0.25);
}


/* ========== REFERRAL SHARE CARD ========== */
.referral-share-card {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.8), rgba(40, 40, 40, 0.6));
  border: 1px solid rgba(6, 190, 222, 0.17);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  width: 100%;
  max-width: 450px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.referral-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.referral-icon {
  font-size: 1rem;
  color: #06BEDE;
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.12), rgba(74, 171, 223, 0.06));
  border-radius: 50%;
  padding: 0.3rem;
  border: 1px solid rgba(6, 190, 222, 0.26);
}

.referral-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-color);
}

.referral-description {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.referral-link-container {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.6rem;
}

.referral-link-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(6, 190, 222, 0.17);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  font-family: 'Courier New', monospace;
  cursor: pointer;
  transition: all 0.3s ease;
}

.referral-link-input:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(6, 190, 222, 0.35);
}

.referral-copy-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0.9rem;
  color: #000;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(6, 190, 222, 0.22);
}

.referral-copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(6, 190, 222, 0.35);
}

.referral-copy-btn:active {
  transform: translateY(0);
}

.referral-copy-btn i {
  font-size: 0.95rem;
}

.referral-success-message {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.12), rgba(0, 255, 136, 0.06));
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  color: #00ff88;
  font-size: 0.75rem;
  font-weight: 600;
  animation: fadeInScale 0.3s ease;
}

.referral-success-message i {
  font-size: 1rem;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* MOBILE LAYOUT FIX - MÁXIMA PRIORIDAD CON !important */
@media screen and (max-width: 767px) {
  /* FORZAR sin scroll horizontal GLOBAL */
  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  
  * {
    max-width: 100% !important;
  }
  
  .home__container {
    min-height: auto !important;
  }

  /* FIX CRÍTICO: Forzar grid de 1 columna (CAUSA RAÍZ DEL SCROLL) */
  section#home .home__container.bd-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    overflow-x: hidden !important;
  }
  
  /* Ocultar mesa de fondo en mobile */
  .hero-right-content {
    display: none !important;
  }
  
  /* Contenedores padres - FORZAR ancho completo y eliminar overflow */
  section#home .home__container,
  section#home .authenticated-content {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  
  /* Card principal - CENTRADA y sin cortes */
  section#home .authenticated-content .user-card-main {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0.875rem !important;
    overflow: hidden !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
  }
  
  /* Header compacto - Avatar e íconos más pequeños */
  section#home .authenticated-content .user-card-header {
    gap: 0.75rem !important;
    margin-bottom: 1rem !important;
  }
  
  section#home .authenticated-content #userAvatar {
    font-size: 1.875rem !important;
    padding: 0.5rem !important;
  }
  
  /* Texto header más pequeño para que quepa el email */
  section#home .authenticated-content .user-name {
    font-size: 0.875rem !important;
    line-height: 1.3 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    max-width: 100% !important;
  }
  
  section#home .authenticated-content .user-name span {
    font-size: inherit !important;
  }
  
  /* Balance más compacto */
  section#home .authenticated-content .user-card-balance {
    padding: 0.75rem 0 !important;
    margin-bottom: 1rem !important;
  }
  
  section#home .authenticated-content .balance-amount-main {
    font-size: 1.8rem !important;
  }
  
  section#home .authenticated-content .balance-usd-equivalent {
    font-size: 0.875rem !important;
  }
  
  /* Grid de botones - 2 columnas para móvil */
  section#home .authenticated-content .user-card-actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.5rem !important;
    padding-top: 0.5rem !important;
  }
  
  /* GARANTIZAR 2 botones visibles: Wallet, Enviar SPS */
  section#home .authenticated-content .user-card-actions .wallet-btn,
  section#home .authenticated-content .user-card-actions .send-btn {
    display: flex !important;
  }
  
  /* Botones compactos para 2 columnas */
  section#home .authenticated-content .user-card-actions > * {
    min-width: 0 !important;
    padding: 0.4rem 0.25rem !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }
  
  section#home .authenticated-content .user-card-actions .user-action-btn i {
    font-size: 0.95rem !important;
    margin-bottom: 0.2rem !important;
  }
  
  section#home .authenticated-content .user-card-actions .user-action-btn span {
    font-size: 0.575rem !important;
    line-height: 1.1 !important;
    letter-spacing: 0.2px !important;
    font-weight: 600 !important;
  }
  
  /* Referral Share Card - Mobile */
  section#home .authenticated-content .referral-share-card {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 1.5rem auto 1rem !important;
    padding: 0.75rem !important;
    overflow: hidden !important;
  }
  
  .referral-link-container {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  
  .referral-link-input {
    width: 100% !important;
    font-size: 0.7rem !important;
    padding: 0.5rem 0.65rem !important;
  }
  
  .referral-copy-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.6rem 0.8rem !important;
    font-size: 0.75rem !important;
  }
  
  .referral-description {
    font-size: 0.7rem !important;
  }
  
  .referral-title {
    font-size: 0.875rem !important;
  }
  
  .referral-icon {
    font-size: 0.9rem !important;
  }
}

/* About Section Spacing Fix */
section#about {
  margin-top: 4rem;
}

@media screen and (max-width: 768px) {
  section#about {
    margin-top: 3rem;
  }
}

/* User Metrics Section */
.user-metrics-section {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  justify-content: space-between;
}

.user-metric-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(6, 190, 222, 0.17);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  backdrop-filter: blur(4px);
  flex: 1;
  transition: all 0.3s ease;
}

.user-metric-card:hover {
  transform: translateY(-2px);
  border-color: rgba(6, 190, 222, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.user-metric-card.highlight {
  border-color: rgba(6, 190, 222, 0.52);
  background: rgba(6, 190, 222, 0.08);
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
}

.user-metric-card .metric-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: #06BEDE;
  line-height: 1;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8), 0 0 15px rgba(6, 190, 222, 0.35);
}

.user-metric-card.highlight .metric-number {
  animation: pulse 2s ease-in-out infinite;
}

.user-metric-card .metric-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

/* Winner Notifications System */
.winner-notifications-container {
  margin-top: 1.5rem;
}

.winner-notification-card {
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.4);
  border-radius: 12px;
  padding: 1rem;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
}

.winner-notification-card.active {
  opacity: 1;
  transform: translateY(0);
}

.winner-notification-card .winner-content {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.winner-notification-card .winner-content i {
  font-size: 1.3rem;
  color: #22c55e;
}

.winner-notification-card .winner-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.winner-notification-card .winner-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  line-height: 1;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.winner-notification-card .winner-amount {
  font-size: 0.8rem;
  font-weight: 500;
  color: #22c55e;
  margin-top: 2px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}

/* Transitions */
.home__data {
  position: relative;
  transition: all 0.5s ease;
}

.authenticated-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.authenticated-content.show {
  opacity: 1;
  transform: translateY(0);
}

/* Legacy styles maintained */
.home_email {
  font-size: var(--h2-font-size);
  font-weight: var(--font-medium);
  margin: 1rem;
}

.home__img {
  width: 300px;
  justify-self: center;
}

.home__moneda {
  position: absolute;
  width: 200px;
  z-index: -1;
}

.home__juego {
  position: absolute;
  width: 200px;
  z-index: -1;
  margin-left: calc(100%);
}

.home__moneda:first-of-type {
  right: -100px;
  top: -100px
}

.home__moneda:last-of-type {
  left: -100px;
  bottom: -100px;
}

.home__mesa {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 100%;
  width: auto;
  max-width: 100%;
  z-index: 0;
  opacity: 0.8;
  pointer-events: none;
  border-radius: 15px;
  object-fit: contain;
}


/* Responsive Design - Mobile First */
@media screen and (max-width: 768px) {
  .hero-banner {
    padding: 0.6rem 0.8rem;
    font-size: 0.8rem;
  }

  .home__title {
    font-size: 2.5rem;
  }

  .home__subtitle {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
  }

  .benefit-item {
    padding: 1rem 0.8rem;
  }

  .benefit-icon {
    font-size: 2rem;
  }

  .home_contact {
    gap: 0.8rem;
    margin-top: 2rem;
  }

  .primary-cta {
    font-size: 1rem;
    padding: 0.9rem 2rem;
  }

  .secondary-cta {
    padding: 0.7rem 1.5rem;
  }

  .cta-micro-copy {
    font-size: 0.8rem;
  }

  /* Reset grid layout to single column on mobile - stack elements vertically */
  section#home .home__container.bd-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 2rem !important;
    height: auto !important;
  }
  
  section#home .home__container .home__data {
    max-width: 100% !important;
    width: 100% !important; /* Restore full width for mobile */
  }
  
  /* Ocultar hero-right-slot en móviles - ya existe mobile-stats-bar con REGISTRADOS y JACKPOT */
  section#home .home__container .hero-right-slot {
    display: none !important;
  }

  /* Reduce effects for better mobile performance */
  .home__title {
    text-shadow: 0 0 10px rgba(6, 190, 222, 0.17);
    filter: none;
  }

  .benefit-item, .user-metric-card {
    backdrop-filter: none;
    background: rgba(6, 190, 222, 0.08);
  }
  
  .balance-usd {
    font-size: 0.9rem;
  }
}

  /* Compact widget responsive */
  .user-welcome-widget-compact {
    flex-direction: column;
    text-align: center;
    padding: 1.2rem;
    gap: 1rem;
  }

  .user-stats {
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  #userAvatar {
    font-size: 2.5rem;
    padding: 0.6rem;
  }

  .welcome-title-compact {
    font-size: 1.3rem;
    text-align: center;
  }

  .balance-amount {
    font-size: 1.4rem;
  }

  .last-win {
    font-size: 1.1rem;
  }

  .status-badge {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
  }

  /* User metrics responsive */
  .user-metrics-section {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.2rem;
  }

  .user-metric-card .metric-number {
    font-size: 1.2rem;
  }

  .user-metric-card .metric-label {
    font-size: 0.65rem;
  }

  .winner-notifications-container {
    margin-top: 1rem;
  }

  .winner-notification-card {
    padding: 0.8rem;
  }

  .winner-notification-card .winner-content i {
    font-size: 1.1rem;
  }
}

@media screen and (max-width: 480px) {
  .home__title {
    font-size: 2.2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .home_contact {
    flex-direction: column;
    width: 100%;
  }

  .primary-cta, .secondary-cta {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .quick-actions {
    grid-template-columns: 1fr;
    max-width: 200px;
  }
}

/*========== BUTTONS ==========*/
.button {
  display: inline-block;
  background-color: var(--text-color);
  color: var(--title-color);
  font-weight: bold;
  padding: .75rem 1rem;
  border-radius: .5rem;
  transition: .3s;
}

.button:hover {
  background-color: var(--first-color-alt);
}

/*========== ABOUT ==========*/
.about__data {
  text-align: center;
}

.about__description {
  margin-bottom: var(--mb-3);
}

.about__img {
  width: 280px;
  border-radius: .5rem;
  justify-self: center;
}

/*========== SERVICES ==========*/
.services__container {
  row-gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.services__content {
  text-align: center;
}

.services__img {
  width: 64px;
  height: 64px;
  fill: var(--first-color);
  margin-bottom: var(--mb-2);
}

.services__title {
  font-size: var(--h3-font-size);
  color: var(--text-color);
  margin-bottom: var(--mb-2);
}

.services__description {
  padding: 0 1.5rem;
  text-align: left;
}

/*========== MENU ==========*/
.menu__container {
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;

}

.menu__container__Gambling {
  grid-template-columns: repeat(1, 1fr);
  justify-content: center;

}

.menu__container__inTouch {
  grid-template-columns: repeat(1, 1fr);
  justify-content: center;

}

.menu__content__inTouch {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(6, 190, 222, 0.17);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  padding: 3rem;
  text-align: center;
  align-items: center;
  margin: 2rem;
  transition: all 0.3s ease;
}

.menu__content__inTouch:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(6, 190, 222, 0.35);
}

.menu__content__inTouch .menu__name__article {
  color: #06BEDE;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1rem 0;
  text-shadow: 0 0 10px rgba(6, 190, 222, 0.26);
}

.menu__content__inTouch .menu__detail {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.menu__content__inTouch .menu__inTouch {
  background: linear-gradient(135deg, #06BEDE 0%, #4AABDF 100%);
  color: #333;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
}

.menu__content__inTouch .menu__inTouch:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 190, 222, 0.35);
  background: linear-gradient(135deg, #4AABDF 0%, #06BEDE 100%);
}

.brands-footer-inTouch{
  padding: 3rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid rgba(6, 190, 222, 0.08);
}

.brands-footer-inTouch img {
  height: 60px;
  width: auto;
  filter: grayscale(100%) brightness(0.8);
  transition: all 0.3s ease;
  opacity: 0.7;
}

.brands-footer-inTouch img:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.1);
}
.menu__container__casinos {
  grid-template-columns: repeat(1, 1fr);
  justify-content: center;
}

.menu__container__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, 1fr);
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  gap: 2rem;
  align-items: start;
}

.div1 {
  grid-area: 1 / 1 / 6/ 4;
}

.div2 {
  grid-area: 1 / 4 / 3 / 6;
}

.div3 {
  grid-area: 3 / 4 / 2 / 6;
}

.div4 {
  grid-area: 4 / 4 / 3 / 6;
}

.card {
  background: #fff;
  color: #000;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}

.card-img {
  width: 100%;
  height: 100%;
  display: block;
}

.card-review {
  width: 120px;

  height: 120px;
  object-fit: cover;

  border-radius: 50%;

  display: block;
}

/* Tarjeta grande */
.large-card .card-content {
  background: #0d0223;
  color: white;
  padding: 1rem;
  position: relative;
}


.card-footer {
  padding: 1rem;
  background-color: #f0f0f0;
  color: #333;
}

.card-footer .meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Tarjetas mini */
.mini-card {
  height: 200px;
}

.menu__content {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--container-color);
  border-radius: .5rem;
  box-shadow: 0 2px 4px rgba(3, 74, 40, .15);
  padding: 1rem;
  text-align: center;

}

.menu__content__article {
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: var(--container-color);
  box-shadow: 0 2px 4px rgba(3, 74, 40, .15);
  padding: 2rem;
  text-align: left;

}

.menu__content__casinos {
  background-color: var(--container-color);
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: .5rem;
  height: 7rem;
  border-radius: .5rem;
}

.menu__img__casinos {
  width: auto;
  height: 70px;
  align-self: center;
  z-index: 2;
}

.casinos__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.menu__img {
  width: auto;
  height: 100px;
  align-self: center;
  margin-bottom: var(--mb-2);
  z-index: 2;
}

.menu__bg {
  position: absolute;
  top: -10px;
  left: 0;
  z-index: 1;
  height: 240px;
  width: 350px;
}


.menu__name,
.menu__preci {
  font-weight: var(--font-semi-bold);
  color: var(--title-color);
  z-index: 2;
}

.menu__inTouch{
   font-weight: var(--font-semi-bold);
  color: var(--body-color);
  z-index: 2;
}

.menu__name {
  font-size: var(--h2-font-size);
}

.menu__name__article {
  color: var(--title-color);
  font-size: var(--h2-font-size);
}

.bonuses__name {
  color: var(--container-color);
  font-size: var(--h3-font-size);
  margin-bottom: 1.5rem;
}

.menu__detail,
.menu__preci {
  font-size: var(--small-font-size);
  color: var(--title-color);
  z-index: 2;
}

.menu__detail {
  margin-bottom: var(--mb-1);
}

.menu__button {
  bottom: 0;
  right: 0;
  display: flex;
  padding: .625rem .813rem;
  border-radius: .5rem 0 .5rem 0;
  margin: 10px;
  background: linear-gradient(to right, #ffed87 5%, #f0d066 20%, #d6a321 40%, #ffed87 70%, #e6b029 90%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  align-items: center;
  justify-content: center;
}

.bonuses__detail {
  background: var(--container-color);
  padding: .7rem;
  border-radius: .3rem;
  font-weight: bold;
  font-size: var(--font-medium);
  color: #4AABDF;
}

.menu__paly {
  margin-left: .5rem;
}


.menu__left,
.menu__right {
  position: relative;
}

.menu__left {
  top: 0;
  left: 0;
}

.menu__right {
  bottom: 0;
  right: 0;
}

.menu__left .home__moneda:first-of-type {
  top: 0px;
  left: -380px;
  width: 30%;

}

.menu__left .home__moneda:last-of-type {
  bottom: -750px;
  left: -370px;
  transform: rotate(45deg);
  width: 20%;
}

.menu__left .home__moneda:nth-of-type(2) {
  top: 200px;
  left: -150px;
  transform: rotate(-25deg);
  width: 25%;
}



.menu__right .home__moneda:first-of-type {
  top: -70px;
  right: -300px;
  width: 20%;
}

.menu__right .home__moneda:last-of-type {
  top: 400px;
  left: 110%;
  transform: rotate(180deg);
  width: 30%;
}

.menu__right .home__moneda:nth-of-type(2) {
  top: 200px;
  right: -200px;
  transform: rotate(25deg);
  width: 25%;
}



.menu__right .home__juego {
  top: -22rem;
  right: -23rem;

}

.menu__left .home__juego {
  top: -22rem;
  left: -97rem;
  transform: rotate(180deg);
}

.menu__left {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;

}

/*========== GAME ==========*/
.menu__img_game {
  width: 400px;
  align-self: center;
  margin-bottom: var(--mb-2);
  /* padding: 0rem rem 0 3rem; */
}

.menu__img_cryptoPoker {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.menu__img_inTouch {
  width: 45px;
  height: 50px;
  object-fit: cover;
}

.promo {
  margin-top: 3.5rem;
  padding-top: calc(var(--header-height) + 2rem);
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}


.promo-grid {
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, auto);
  height: auto;
}

.promo-card {
  color: white;
  overflow: auto;
}

.purple-bg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem;
}

.dark-bg {
  background-color: #222;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.black-bg {
  background-color: #000;

}

.white-bg {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #000;
  padding: 10rem;
}

.accordion details {
  background-color: #fff;
  color: #000;
  border: 1px solid #ccc;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* "Tiritas" blancas */
.accordion summary {
  background-color: #fff;
  padding: 1rem;
  cursor: pointer;
  font-weight: bold;
  list-style: none;
  position: relative;
}

/* Quitar el ícono por defecto */
.accordion summary::-webkit-details-marker {
  display: none;
}

/* Ícono personalizado con ::after */
.accordion summary::after {
  content: '>';
  position: absolute;
  right: 1rem;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

/* Cuando se abre */
.accordion details[open] summary::after {
  content: '-';
  /* o puedes rotar el + con transform */
}

/* Contenido */
.accordion p {
  padding: 0 1rem 1rem 1rem;
  background-color: #f9f9f9;
  margin: 0;
  font-size: 0.95rem;
  color: #333;
}

.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 15px;

  color: white;
  text-decoration: none;
  border-radius: 5px;
}


/*========== APP ==========*/
.app__data {
  text-align: center;
}

.app__description {
  margin-bottom: var(--mb-5);
}

.app__stores {
  margin-bottom: var(--mb-4);
}

.app__store {
  width: 120px;
  margin: 0 var(--mb-1);
}

.app__img {
  width: 230px;
  justify-self: center;
}

.review {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}



/*========== CONTACT ==========*/
.contact__container {
  text-align: center;
}

.contact__description {
  margin-bottom: var(--mb-3);
}

/*========== FOOTER ==========*/
.footer {
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
  color: white;
  padding: 3rem 0 1.5rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 190, 222, 0.42), transparent);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 0 1rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

@media screen and (max-width: 992px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
}

@media screen and (max-width: 576px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
}

.footer__column {
  display: flex;
  flex-direction: column;
}

.footer__column--brand {
  align-items: flex-start;
}

@media screen and (max-width: 576px) {
  .footer__column--brand {
    align-items: center;
  }
}

.footer__container {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  row-gap: 2rem;
  column-gap: 3rem;
}

.footer__logo {
  font-size: var(--h3-font-size);
  color: #06BEDE;
  font-weight: var(--font-semi-bold);
  text-shadow: 0 0 10px rgba(6, 190, 222, 0.26);
}

.footer__logo-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 0.75rem;
  padding: 0;
}

@media screen and (max-width: 576px) {
  .footer__logo-container {
    justify-content: center;
  }
}

.footer__logo-img {
  width: 140px;
  max-width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 480px) {
  .footer__logo-img {
    width: auto;
    max-width: 120px;
  }
}

.footer__tagline {
  font-size: var(--small-font-size);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.5;
}

.footer__description {
  display: block;
  font-size: var(--small-font-size);
  margin: .25rem 0 var(--mb-3);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.footer__social {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}

@media screen and (max-width: 576px) {
  .footer__social {
    justify-content: center;
  }
}

.footer__social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(6, 190, 222, 0.26);
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.3rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(6, 190, 222, 0.08);
}

.footer__social-link:hover {
  background: linear-gradient(135deg, #06BEDE, #e6c200);
  color: #1a0b2e;
  border-color: #06BEDE;
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(6, 190, 222, 0.35);
}

.footer__social-link:active {
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(6, 190, 222, 0.26);
}

.footer__social-link:focus {
  outline: 2px solid #06BEDE;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .footer__social-link {
    transition: none;
  }
}

.footer__title {
  font-size: 1rem;
  color: #06BEDE;
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--small-font-size);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer__link:hover {
  color: #06BEDE;
  padding-left: 10px;
}

.footer__link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 1px;
  background: #06BEDE;
  transition: width 0.3s ease;
}

.footer__link:hover::before {
  width: 6px;
}

@media screen and (max-width: 576px) {
  .footer__link {
    padding-left: 0;
  }
  
  .footer__link:hover {
    padding-left: 0;
  }
  
  .footer__link::before {
    display: none;
  }
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1rem 0;
  margin-top: 1rem;
  border-top: 1px solid rgba(6, 190, 222, 0.08);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
  gap: 1rem;
}

@media screen and (max-width: 576px) {
  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

.footer__copy {
  font-size: var(--small-font-size);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.footer__support {
  font-size: var(--small-font-size);
  color: #06BEDE;
  margin: 0;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__support::before {
  content: '🔒';
  font-size: 0.9rem;
}

.inTouch {
  margin-top: 8.5rem;
  position: relative;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  text-align: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f0f23 100%);
  color: white;
}

.inTouch-header {
  padding: 4rem 0;
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.08) 0%, rgba(6, 190, 222, 0.04) 100%);
  color: white;
  font-size: var(--h2-font-size);
  border-bottom: 1px solid rgba(6, 190, 222, 0.17);
}

.inTouch-header h3 {
  color: rgba(6, 190, 222, 0.70);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.inTouch-header h2 {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
}

.inTouch-header h2 span {
  color: #06BEDE;
  text-shadow: 0 0 20px rgba(6, 190, 222, 0.42);
}


/*========== MEDIA QUERIES ==========*/
@media screen and (min-width: 576px) {

  .home__container,
  .about__container,
  .app__container {
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
  }

  .about__data,
  .about__initial,
  .app__data,
  .app__initial,
  .contact__container,
  .contact__initial {
    text-align: initial;
  }

  .about__img,
  .app__img {
    width: 380px;
    order: -1;
  }

  .contact__container {
    grid-template-columns: 1.75fr 1fr;
    align-items: center;
  }

  .contact__button {
    justify-self: center;
  }
}

/* Medium screens (tablets and small desktops) - Fix navigation overflow */
@media screen and (min-width: 768px) and (max-width: 1099px) {
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .nav__item {
    margin-left: 0.8rem;
    margin-bottom: 0;
    margin-right: 0.5rem;
  }

  .nav__link {
    font-size: 0.9rem;
    padding: 0.3rem 0.6rem;
    white-space: nowrap;
  }

  .nav__toggle {
    display: none;
  }

  /* Ensure navigation doesn't break */
  .nav__menu {
    overflow: visible;
  }

  /* Adjust home contact buttons for this range */
  .home_contact {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .button-outline {
    margin-left: 0;
  }
}

@media screen and (min-width: 1100px) {
  body {
    margin: 0;
  }

  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__list {
    display: flex;
  }

  .nav__item {
    margin-left: var(--mb-5);
    margin-bottom: 0;
  }

  .nav__toggle {
    display: none;
  }

  .change-theme {
    position: initial;
    margin-left: var(--mb-2);
  }

  .home__container {
    min-height: 100vh;
    justify-items: center;
  }

  .services__container,
  .menu__container {
    margin-top: var(--mb-6);
  }

  .menu__container {
    grid-template-columns: repeat(4, 260px);
    column-gap: 2rem;
  }

  .menu__content {
    padding: 1.5rem;
  }

  .menu__img {
    width: 130px;
  }

  .home__container {
    min-height: 100vh;
    justify-items: center;
  }

  .services__container,
  .menu__container {
    margin-top: var(--mb-6);
  }

  .menu__container {
    grid-template-columns: repeat(4, 260px);
    column-gap: 2rem;
  }

  .menu__content {
    padding: 1.5rem;
  }

  .menu__img {
    width: 130px;
  }

  .app__store {
    margin: 0 var(--mb-1) 0 0;
  }

  .promo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 110vh;
  }
}

@media screen and (min-width: 960px) {
  .bd-container {
    margin-left: auto;
    margin-right: auto;
  }

  .bonuses {
    margin-bottom: 10%;
  }

  .home__img {
    width: 250px;
  }

  .about__container,
  .app__container {
    column-gap: 7rem;
  }

  .menu__container__Gambling {
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
  }

  .menu__container__inTouch {
    margin-top: -15rem;
    padding: 6rem;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    gap: 0;

  }

  .menu__container__casinos {
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;

  }
}

@media screen and (min-height: 721px) {
  .home__container {
    min-height: 880px;
  }
}

/*========== GAMES LOADING INDICATOR ==========*/
.games-loading-container {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 250px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-radius: 20px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
}

.games-loading-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(6, 190, 222, 0.08), transparent);
  animation: loadingShimmer 2s infinite;
}

@keyframes loadingShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.games-loading-spinner {
  text-align: center;
  color: #06BEDE;
  z-index: 2;
  position: relative;
}

.games-loading-spinner p {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: #e6e6e6;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(6, 190, 222, 0.17);
  border-top: 4px solid #06BEDE;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(6, 190, 222, 0.26);
}

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

/*========== DYNAMIC GAMES UPDATES ==========*/
.menu__container__casinos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== MOBILE CASINO GAMES SPECIFIC - 2 COLUMN GRID ========== */
@media screen and (max-width: 768px) {
  /* Padding inferior para evitar que la barra flotante tape los juegos */
  /* Usa calc() con safe-area para dispositivos con notch/home indicator */
  #Gambling {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 140px);
  }

  /* Container con grid de 2 columnas para juegos de casino */
  #Gambling .menu__container__casinos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
    max-width: 100%;
    padding-inline: 0.75rem;
  }

  /* Cards verticales compactas */
  #Gambling .menu__content__casinos {
    padding: 0.75rem 0.75rem 1rem;
    min-height: unset;
    height: auto;
    overflow: visible;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  }

  #Gambling .menu__content__casinos:hover {
    transform: translateY(-3px) scale(1.02);
  }

  #Gambling .game-card-header {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  #Gambling .menu__img__casinos {
    width: 100%;
    height: clamp(90px, 28vw, 110px);
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 10px;
    margin: 0;
    border: 2px solid rgba(6, 190, 222, 0.26);
  }

  #Gambling .game-card-content {
    flex: 1;
    margin-bottom: 0;
    text-align: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }

  #Gambling .menu__name__article {
    font-size: clamp(0.8rem, 2.6vw, 0.95rem);
    margin-bottom: 0.2rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    max-width: 100%;
  }

  #Gambling .menu__detail {
    font-size: 0.7rem;
    margin-bottom: 0.3rem;
    opacity: 0.8;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  #Gambling .menu__preci {
    font-size: 0.65rem;
    padding: 0.2rem 0.4rem;
    margin-top: 0.2rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    display: inline-block;
  }

  #Gambling .casinos__item {
    flex-shrink: 0;
    margin-top: 0.5rem;
    width: 100%;
    position: static;
  }

  #Gambling .game-actions-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
    width: 100%;
  }

  #Gambling .slot-game-btn {
    padding: 0.5rem 0.8rem;
    font-size: 0.75rem;
    min-width: 70px;
    border-radius: 16px;
    margin-bottom: 0;
    gap: 0.3rem;
  }

  #Gambling .slot-game-btn i {
    font-size: 1rem;
  }

  #Gambling .slot-game-btn .menu__paly {
    display: inline;
  }

  #Gambling .slot-game-btn::after {
    content: none;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
  }

  /* ========== FIX BONUS AND NEWS SECTIONS ========== */
  /* Aplicar el mismo fondo glassmorphism que las cards de juegos */
  #Bonuses .menu__content.bonus-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
  }

  #Bonuses .menu__content.bonus-card .menu__detail:not(.bonuses__detail) {
    color: rgba(255, 255, 255, 0.9) !important;
  }

  #Bonuses .menu__content.bonus-card .menu__name.bonuses__name {
    color: #06BEDE !important;
  }

  /* Mantener el estilo dorado para los badges de cantidad */
  #Bonuses .bonuses__detail {
    background: linear-gradient(135deg, #06BEDE, #4AABDF) !important;
    color: #333 !important;
  }

  /* Corregir fondo blanco en secciones de noticias */
  #news .menu__content__article {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: 15px !important;
    padding: 1.5rem !important;
    margin-bottom: 1rem !important;
  }

  #news .menu__content__article .menu__name__article {
    color: #06BEDE !important;
  }

  #news .menu__content__article .menu__detail {
    color: rgba(255, 255, 255, 0.9) !important;
  }

  #news .menu__content__article .menu__preci {
    color: rgba(255, 255, 255, 0.7) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 0.3rem 0.8rem !important;
    display: inline-block !important;
    margin-top: 0.5rem !important;
  }
}

/* ========== FIX BONUS AND NEWS SECTIONS FOR DESKTOP ========== */
/* Aplicar el mismo fondo glassmorphism que las cards de juegos en TODAS las resoluciones */
#Bonuses .menu__content.bonus-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: white !important;
}

#Bonuses .menu__content.bonus-card .menu__detail:not(.bonuses__detail) {
  color: rgba(255, 255, 255, 0.9) !important;
}

#Bonuses .menu__content.bonus-card .menu__name.bonuses__name {
  color: #06BEDE !important;
}

/* Mantener el estilo dorado para los badges de cantidad */
#Bonuses .bonuses__detail {
  background: linear-gradient(135deg, #06BEDE, #4AABDF) !important;
  color: #333 !important;
}

/* Corregir fondo blanco en secciones de noticias */
#news .menu__content__article {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  border-radius: 15px !important;
  padding: 1.5rem !important;
  margin-bottom: 1rem !important;
}

#news .menu__content__article .menu__name__article {
  color: #06BEDE !important;
}

#news .menu__content__article .menu__detail {
  color: rgba(255, 255, 255, 0.9) !important;
}

#news .menu__content__article .menu__preci {
  color: rgba(255, 255, 255, 0.7) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  padding: 0.3rem 0.8rem !important;
  display: inline-block !important;
  margin-top: 0.5rem !important;
}

/*========== CASINO MACHINE SELECTOR MODAL - Enhanced UX ==========*/
.casino-machine-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(16, 20, 40, 0.9));
  backdrop-filter: blur(20px);
  z-index: 10002;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.casino-machine-modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  opacity: 1;
}

.casino-machine-content {
  background: linear-gradient(145deg, rgba(10, 15, 30, 0.98), rgba(20, 25, 50, 0.95));
  border-radius: 20px;
  max-width: 1100px;
  width: 100%;
  height: 95vh;
  max-height: 95vh;
  overflow: hidden;
  border: 1px solid rgba(6, 190, 222, 0.17);
  box-shadow: 
    0 30px 100px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(6, 190, 222, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  transform: scale(0.85) translateY(20px);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.casino-machine-header {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #1a1a2e;
  padding: 0.5rem 1rem;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  min-height: auto;
}

.casino-machine-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
  animation: shimmer 3s infinite;
  pointer-events: none;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

.header-row-primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  z-index: 1;
  position: relative;
}

.header-row-secondary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  z-index: 1;
  position: relative;
  gap: 0.75rem;
}

.casino-machine-header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.casino-close-btn {
  background: rgba(0, 0, 0, 0.2);
  border: none;
  font-size: 1.3rem;
  color: #1a1a2e;
  cursor: pointer;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  flex-shrink: 0;
}

.casino-close-btn:hover {
  background: rgba(0, 0, 0, 0.3);
  transform: scale(1.05);
}

.casino-close-btn:active {
  transform: scale(0.95);
}

.header-balance-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.85);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  border: 2px solid rgba(6, 190, 222, 0.42);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 0 0 15px rgba(6, 190, 222, 0.12);
  font-weight: 700;
  font-size: 1rem;
  color: #06BEDE;
  flex-shrink: 0;
}

.header-balance-pill i {
  font-size: 1.1rem;
  color: #06BEDE;
}

.header-wallet-compact {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(6, 190, 222, 0.22);
  font-size: 0.85rem;
  color: rgba(26, 26, 46, 0.9);
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  min-width: 0;
  justify-content: center;
}

.header-wallet-compact:hover {
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(6, 190, 222, 0.35);
}

.header-wallet-compact:active {
  transform: scale(0.98);
}

.header-wallet-compact i {
  font-size: 0.9rem;
  color: #06BEDE;
  flex-shrink: 0;
}

.header-wallet-compact .wallet-truncated {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.8rem;
  color: #1a1a2e;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-wallet-compact .wallet-expand-icon {
  font-size: 0.85rem;
  color: rgba(26, 26, 46, 0.7);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.header-wallet-compact.expanded .wallet-expand-icon {
  transform: rotate(180deg);
}

.header-wallet-compact.expanded {
  background: rgba(0, 0, 0, 0.7);
  flex: none;
  width: auto;
  max-width: 100%;
  padding: 0.5rem 0.85rem;
}

.header-wallet-compact.expanded .wallet-truncated {
  font-size: 0.7rem;
  word-break: break-all;
  white-space: normal;
  line-height: 1.3;
}

.casino-info-panel {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  padding: 0.8rem 1.5rem;
  backdrop-filter: blur(10px);
  position: relative;
  flex-shrink: 0;
}

.casino-game-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.casino-game-image {
  flex-shrink: 0;
}

.casino-game-image img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid rgba(6, 190, 222, 0.35);
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.17);
}

.casino-game-details {
  flex: 1;
  color: white;
}

.casino-game-details h3 {
  margin: 0 0 0.4rem 0;
  font-size: 1.3rem;
  color: #06BEDE;
  font-weight: 600;
}

.casino-game-details p {
  margin: 0 0 0.8rem 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.4;
  font-size: 0.95rem;
}

.casino-game-stats {
  display: flex;
  gap: 0.75rem;
}

.casino-stat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  color: white;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.casino-stat i {
  color: #06BEDE;
  font-size: 0.9rem;
}

.casino-machine-body {
  flex: 1;
  padding: 1rem 1.5rem;
  color: white;
  overflow: hidden;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.casino-section-title {
  text-align: center;
  margin-bottom: 0.8rem;
  flex-shrink: 0;
}

.casino-section-title h3 {
  margin: 0 0 0.3rem 0;
  font-size: 1.2rem;
  color: #06BEDE;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.casino-section-title p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.3;
}

.machine-search-container {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.machine-search-container input {
  padding: 0.6rem 0.8rem;
  border: 2px solid rgba(6, 190, 222, 0.22);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  color: white;
  font-size: 0.85rem;
  width: 250px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.machine-search-container input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.machine-search-container input:focus {
  outline: none;
  border-color: #06BEDE;
  box-shadow: 0 0 15px rgba(6, 190, 222, 0.26);
}

.search-btn {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #1a1a2e;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
}

.search-btn:hover {
  background: linear-gradient(135deg, #4AABDF, #06BEDE);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(6, 190, 222, 0.26);
}

.machine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.8rem;
  flex: 1;
  overflow-y: auto;
  padding: 0 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(6, 190, 222, 0.26) transparent;
}

.machine-item {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(6, 190, 222, 0.12);
  border-radius: 16px;
  padding: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 120px;
}

.machine-item:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 190, 222, 0.42);
  box-shadow: 0 15px 40px rgba(6, 190, 222, 0.17);
}

.machine-item.selected {
  border-color: #06BEDE;
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.08), rgba(6, 190, 222, 0.04));
  box-shadow: 0 0 30px rgba(6, 190, 222, 0.35);
}

.machine-item.highlighted {
  animation: highlight 3s ease-in-out;
}

@keyframes highlight {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(6, 190, 222, 0.52); }
}

/* Machine Skeleton Loading */
.machine-item.skeleton {
  pointer-events: none;
}

.machine-item.skeleton .machine-skeleton-image {
  height: 60px;
  background: linear-gradient(90deg, 
    rgba(255,255,255,0.05) 25%, 
    rgba(255,255,255,0.12) 50%, 
    rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
  border-radius: 8px;
  margin: 10px;
}

.machine-item.skeleton .machine-skeleton-text {
  height: 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  margin: 8px 10px;
  animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.machine-item.skeleton .machine-skeleton-text.short {
  width: 60%;
  height: 12px;
}

@keyframes skeleton-pulse {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* New Machine Card Layout */
.machine-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem 0.6rem 1rem;
  flex-shrink: 0;
}

.machine-number {
  font-size: 1rem;
  font-weight: bold;
  color: #06BEDE;
}

/* Icon-based badges (UX optimized for mobile) */
.machine-icon-badges {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.machine-icon-badge {
  font-size: 1.1rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.2s ease;
}

.machine-icon-badge.active {
  color: #00ff88;
}

.machine-icon-badge.hot {
  color: #ff6b6b;
}

.machine-icon-badge.lucky {
  color: #06BEDE;
}

/* Legacy text badges (deprecated - keeping for compatibility) */
.machine-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.machine-badge {
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: bold;
}

.machine-badge.hot {
  background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
  color: white;
}

.machine-badge.lucky {
  background: linear-gradient(135deg, #4ecdc4, #45b7b8);
  color: white;
}

.machine-badge.active {
  background: linear-gradient(135deg, #06BEDE, #ffed4e);
  color: #1a1a1a;
}

/* Machine Card Components - Vertical Centered Layout */
.machine-card-body {
  flex: 1;
  padding: 0.5rem 0.8rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.machine-image-container {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.machine-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.machine-info {
  width: 100%;
  text-align: center;
}

.jackpot-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
}

.jackpot-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.jackpot-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #06BEDE;
  text-shadow: 0 0 10px rgba(6, 190, 222, 0.42);
}

/* Card hover/active effect for clickable cards - visual tappability cues */
.machine-item {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(6, 190, 222, 0.08);
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.machine-item:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 190, 222, 0.42);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(6, 190, 222, 0.12);
}

.machine-item:active {
  transform: scale(0.97);
  border-color: #06BEDE;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.1s ease;
}

.machine-item:focus-visible {
  outline: 2px solid #06BEDE;
  outline-offset: 2px;
}

.machine-card-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  gap: 0.5rem;
}

/* New header right container for badges + streaming */
.machine-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Streaming button in header (desktop) */
.machine-streaming-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.machine-streaming-btn:hover {
  background: rgba(78, 205, 196, 0.3);
  border-color: rgba(78, 205, 196, 0.5);
  transform: scale(1.05);
}

.machine-streaming-btn i {
  font-size: 1.2rem;
}

.machine-play-btn {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
  border: none;
  padding: 0.5rem 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex: 1;
  justify-content: center;
}

.machine-play-btn:hover {
  background: linear-gradient(135deg, #20c997, #28a745);
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.machine-icon-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  margin-left: 0.75rem;
}

.machine-icon-btn:hover {
  background: rgba(6, 190, 222, 0.17);
  border-color: rgba(6, 190, 222, 0.35);
  color: #06BEDE;
}

.machine-icon-btn i {
  font-size: 1.1rem;
}

/* User Info Component */
.user-info-container {
  margin-bottom: 1.5rem;
}

.wallet-info-compact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-radius: 15px;
  border: 1px solid rgba(6, 190, 222, 0.12);
  backdrop-filter: blur(10px);
}

.wallet-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

.wallet-display i {
  color: #06BEDE;
  font-size: 1rem;
}

.wallet-address-truncated {
  font-family: monospace;
  color: white;
  font-weight: 500;
}

.balance-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #06BEDE;
  font-weight: 600;
  font-size: 0.95rem;
}

.balance-display i {
  font-size: 1rem;
}

/* Metaverse Options */
.machine-metaverse-options {
  margin: 1rem 0;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.metaverse-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
}

.metaverse-btn {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
}

.metaverse-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}


.launcher-btn:hover {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.17), rgba(255, 237, 78, 0.2));
  border-color: #06BEDE;
  color: #06BEDE;
}

.metaverse-btn i {
  font-size: 1rem;
}

.select-machine-btn {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  width: 100%;
}

.select-machine-btn:hover {
  background: linear-gradient(135deg, #44a08d, #4ecdc4);
  transform: translateY(-2px);
}

/* Metaverse Access Modals */
.metaverse-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.metaverse-modal.show {
  opacity: 1;
  visibility: visible;
}

.metaverse-modal-content {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(40, 40, 40, 0.95));
  border: 2px solid rgba(6, 190, 222, 0.26);
  border-radius: 20px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.metaverse-modal.show .metaverse-modal-content {
  transform: scale(1);
}

.metaverse-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2.5rem 1rem 2.5rem;
  border-bottom: 1px solid rgba(6, 190, 222, 0.17);
  flex-shrink: 0;
}

.metaverse-modal-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #06BEDE;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.metaverse-modal-close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.metaverse-modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}

.metaverse-modal-body {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  padding: 1.5rem 2.5rem 2.5rem 2.5rem;
  overflow-y: auto;
  flex: 1;
  max-height: calc(90vh - 120px);
}

.metaverse-feature-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.metaverse-feature-list li {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.metaverse-feature-list li:before {
  content: "✦";
  color: #06BEDE;
  font-weight: bold;
}

.system-requirements {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1rem;
  margin: 1rem 0;
  border-left: 3px solid #06BEDE;
}

.system-requirements h4 {
  color: #06BEDE;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.requirement-item {
  display: flex;
  justify-content: space-between;
  margin: 0.3rem 0;
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.requirement-label {
  font-weight: bold;
  color: rgba(255, 255, 255, 0.8);
}

.requirement-value {
  color: rgba(255, 255, 255, 0.6);
}

.metaverse-action-btn {
  background: linear-gradient(135deg, #06BEDE, #ffed4e);
  color: #1a1a1a;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1rem;
}

.metaverse-action-btn:hover {
  background: linear-gradient(135deg, #ffed4e, #06BEDE);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 190, 222, 0.35);
}

.streaming-action-btn {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: white;
}

.streaming-action-btn:hover {
  background: linear-gradient(135deg, #44a08d, #4ecdc4);
}

.info-box {
  background: rgba(78, 205, 196, 0.1);
  border: 1px solid rgba(78, 205, 196, 0.3);
  border-radius: 10px;
  padding: 1rem;
  margin: 1rem 0;
}

.info-box.warning {
  background: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.3);
}

.info-box h4 {
  color: #4ecdc4;
  margin-bottom: 0.5rem;
}

.info-box.warning h4 {
  color: #ffc107;
}

/* Custom scrollbar for metaverse modals */
.metaverse-modal-body::-webkit-scrollbar {
  width: 8px;
}

.metaverse-modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.metaverse-modal-body::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #06BEDE, #ffed4e);
  border-radius: 4px;
}

.metaverse-modal-body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #ffed4e, #06BEDE);
}

/* Firefox scrollbar */
.metaverse-modal-body {
  scrollbar-width: thin;
  scrollbar-color: #06BEDE rgba(255, 255, 255, 0.1);
}

.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.8rem;
  padding: 0 0.5rem;
}

.pagination-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  color: white;
  border: 1px solid rgba(6, 190, 222, 0.17);
  padding: 0.5rem 1rem;
  border-radius: 15px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  backdrop-filter: blur(10px);
}

.pagination-btn:hover {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #1a1a2e;
  border-color: #06BEDE;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 190, 222, 0.26);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.pagination-btn:disabled:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
  color: white;
  border-color: rgba(6, 190, 222, 0.17);
  transform: none;
  box-shadow: none;
}

.pagination-info {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

/* Casino Machine Footer */
.casino-machine-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 0 25px 25px;
}

.casino-cancel-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.7rem 1.5rem;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
}

.casino-cancel-btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
  border-color: rgba(255, 255, 255, 0.4);
  color: white;
  transform: translateY(-2px);
}

.casino-info-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-style: italic;
}

.casino-info-text i {
  color: #06BEDE;
  font-size: 1rem;
}



/*========== DESKTOP FULL SCREEN OPTIMIZED LAYOUT ==========*/
@media screen and (min-width: 769px) {
  .casino-machine-modal {
    padding: 0;
  }

  .casino-machine-content {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
    border: none;
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    transform: scale(1) translateY(0);
  }

  /* FULL SCREEN HEADER WITH 2-ROW LAYOUT */
  .casino-machine-header {
    padding: 0.4rem 1.5rem;
    min-height: auto;
    border-radius: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
    gap: 0.3rem 1rem;
  }

  .header-row-primary {
    flex: 1;
    min-width: 0;
  }

  .header-row-secondary {
    flex: none;
    width: auto;
    justify-content: flex-end;
  }

  .casino-machine-header h2 {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.2;
  }

  .header-balance-pill {
    padding: 0.35rem 0.8rem;
    font-size: 0.9rem;
  }

  .header-wallet-compact {
    flex: none;
    width: auto;
  }

  /* HIDE INFO PANEL COMPLETELY ON DESKTOP TO SAVE SPACE */
  .casino-info-panel {
    display: none !important;
  }

  /* BODY TAKES MAXIMUM SPACE */
  .casino-machine-body {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 1rem;
  }

  /* REORGANIZED LAYOUT - TITLE LEFT, SEARCH RIGHT */
  .casino-top-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    flex-shrink: 0;
  }

  .casino-section-title {
    margin-bottom: 0;
    flex-shrink: 0;
    text-align: left;
    flex: 1;
  }

  .casino-section-title h3 {
    font-size: 1.1rem;
    margin-bottom: 0.1rem;
  }

  .casino-section-title p {
    font-size: 0.8rem;
    line-height: 1.2;
    margin: 0;
  }

  /* SEARCH MOVED TO TOP RIGHT */
  .machine-search-container {
    margin-bottom: 0;
    flex-shrink: 0;
    gap: 0.5rem;
    display: flex;
    align-items: center;
  }

  .machine-search-container input {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
    width: 250px;
    border-radius: 15px;
  }

  .search-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 15px;
  }

  /* FULL SCREEN GRID - MAXIMUM MACHINES VISIBLE */
  .machine-grid {
    height: auto;
    max-height: none;
    flex: 1;
    overflow-y: auto;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.8rem;
    padding: 0.5rem;
    margin-bottom: 0;
    /* Calculate height for full screen minus header and top section */
    min-height: calc(100vh - 200px);
  }

  /* OPTIMIZED MACHINE CARDS FOR FULL SCREEN - VERTICAL CENTERED */
  .machine-item {
    height: auto;
    min-height: 140px;
  }

  .machine-card-header {
    padding: 0.4rem 0.6rem 0.2rem 0.6rem;
  }

  .machine-number {
    font-size: 0.85rem;
  }

  .machine-badge {
    padding: 0.1rem 0.4rem;
    font-size: 0.65rem;
  }

  .machine-card-body {
    padding: 0.4rem 0.6rem 0.5rem;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
  }

  .machine-image-container {
    width: 50px;
    height: 50px;
  }

  .jackpot-label {
    font-size: 0.55rem;
  }

  .jackpot-value {
    font-size: 0.95rem;
  }

  .machine-card-actions {
    padding: 0.4rem 0.6rem;
    gap: 0.3rem;
  }

  .machine-play-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.75rem;
  }

  /* CUSTOM SCROLLBAR */
  .machine-grid::-webkit-scrollbar {
    width: 4px;
  }

  .machine-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
  }

  .machine-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, rgba(6, 190, 222, 0.35), rgba(6, 190, 222, 0.52));
    border-radius: 2px;
  }

  .machine-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, rgba(6, 190, 222, 0.52), rgba(6, 190, 222, 0.70));
  }

  /* HIDE BOTTOM ELEMENTS TO SAVE SPACE */
  .casino-machine-footer,
  .casino-cancel-btn,
  .casino-info-text {
    display: none !important;
  }

  /* COMPACT PAGINATION ONLY */
  .pagination-container {
    margin-top: 0.5rem;
    padding: 0.4rem 0.5rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    flex-shrink: 0;
    border: none;
  }

  .pagination-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 12px;
  }
}

/*========== TABLET-OPTIMIZED CASINO MACHINE MODAL (769px-1024px) ==========*/
@media screen and (min-width: 769px) and (max-width: 1024px) {
  /* Fixed 3-column grid for tablets */
  .machine-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    padding: 0.5rem;
  }

  /* Optimized card height for tablet - VERTICAL CENTERED */
  .machine-item {
    height: auto;
    min-height: 145px;
  }

  .machine-card-header {
    padding: 0.5rem 0.7rem 0.3rem 0.7rem;
  }

  .machine-number {
    font-size: 0.9rem;
  }

  .machine-badge {
    padding: 0.15rem 0.45rem;
    font-size: 0.7rem;
  }

  .machine-card-body {
    padding: 0.4rem 0.7rem 0.5rem;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
  }

  .machine-image-container {
    width: 55px;
    height: 55px;
  }

  .machine-card-actions {
    padding: 0.5rem 0.7rem;
    gap: 0.4rem;
  }

  .machine-play-btn {
    padding: 0.5rem 0.7rem;
    font-size: 0.8rem;
  }
}

/*========== MOBILE-OPTIMIZED CASINO MACHINE MODAL ==========*/
@media screen and (max-width: 768px) {
  .casino-machine-modal {
    padding: 0;
    align-items: flex-start;
  }

  .casino-machine-content {
    max-width: 100vw;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    margin: 0;
    border-radius: 0;
    border: none;
    display: flex;
    flex-direction: column;
  }

  /* Compact 2-Row Header for Mobile */
  .casino-machine-header {
    padding: 0.5rem 0.75rem;
    border-radius: 0;
    flex-shrink: 0;
    min-height: auto;
    gap: 0.35rem;
  }

  .header-row-primary {
    gap: 0.5rem;
  }

  .header-row-secondary {
    gap: 0.5rem;
  }

  .casino-machine-header h2 {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .casino-close-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1.2rem;
    border-radius: 10px;
  }

  .header-balance-pill {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    border-radius: 20px;
  }

  .header-balance-pill i {
    font-size: 1rem;
  }

  .header-wallet-compact {
    padding: 0.35rem 0.6rem;
    font-size: 0.8rem;
    border-radius: 16px;
  }

  .header-wallet-compact .wallet-truncated {
    font-size: 0.75rem;
  }

  .header-wallet-compact i {
    font-size: 0.85rem;
  }

  /* Hide info panel on mobile to save space */
  .casino-info-panel {
    display: none;
  }

  /* Maximize body space */
  .casino-machine-body {
    flex: 1;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
  }

  /* Compact section title */
  .casino-section-title {
    margin-bottom: 0.6rem;
    text-align: left;
    flex-shrink: 0;
  }

  .casino-section-title h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
  }

  .casino-section-title p {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  /* Compact search */
  .machine-search-container {
    margin-bottom: 0.6rem;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .machine-search-container input {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
    width: 100%;
    border-radius: 15px;
  }

  .search-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    border-radius: 15px;
    flex-shrink: 0;
  }

  /* Hide user info on mobile to save space */
  .user-info-container {
    display: none;
  }

  /* Optimized grid for mobile - 2 columns */
  .machine-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    flex: 1;
    overflow-y: auto;
    padding: 0.25rem;
    height: auto;
    max-height: none;
  }

  /* Optimized machine cards for mobile - VERTICAL CENTERED */
  .machine-item {
    height: auto;
    min-height: 185px;
    border-radius: 12px;
    border-width: 1px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(6, 190, 222, 0.07);
  }

  .machine-item:active {
    transform: scale(0.96);
    border-color: #06BEDE;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.3);
  }

  /* Compact header with icon badges */
  .machine-card-header {
    padding: 0.5rem 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .machine-header-right {
    display: flex;
    align-items: center;
    gap: 0.35rem;
  }

  .machine-number {
    font-size: 1rem;
    font-weight: 600;
  }

  /* Icon badges for mobile */
  .machine-icon-badges {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .machine-icon-badge {
    font-size: 0.9rem;
  }

  /* Streaming button - compact for mobile */
  .machine-streaming-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    flex-shrink: 0;
  }

  .machine-streaming-btn:active {
    background: rgba(78, 205, 196, 0.3);
  }

  .machine-streaming-btn i {
    font-size: 0.95rem;
  }

  /* Card body with image and jackpot - VERTICAL CENTERED */
  .machine-card-body {
    padding: 0.6rem 0.6rem 0.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }

  .machine-image-container {
    width: 55px;
    height: 55px;
  }

  .machine-image {
    border-radius: 6px;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .machine-info {
    width: 100%;
    text-align: center;
  }

  .jackpot-info {
    gap: 0.2rem;
    text-align: center;
    align-items: center;
  }

  .jackpot-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
  }

  .jackpot-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #06BEDE;
    text-shadow: 0 0 10px rgba(6, 190, 222, 0.42);
  }

  /* Hide old elements */
  .machine-card-actions,
  .machine-play-btn,
  .machine-icon-btn,
  .machine-badges,
  .machine-badge {
    display: none;
  }

  /* Compact pagination */
  .pagination-container {
    margin-top: 0.75rem;
    gap: 0.5rem;
    flex-wrap: nowrap;
    padding: 0;
  }

  .pagination-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    border-radius: 15px;
    flex-shrink: 0;
  }

  .pagination-info {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 15px;
    flex: 1;
    text-align: center;
    order: 0;
    margin-bottom: 0;
  }

  /* Compact footer */
  .casino-machine-footer {
    padding: 0.75rem;
    border-radius: 0;
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .casino-cancel-btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    border-radius: 15px;
    width: 100%;
    justify-content: center;
  }

  .casino-info-text {
    font-size: 0.75rem;
    margin-top: 0.5rem;
    opacity: 0.8;
  }

  /* Mobile-specific enhancements */
  .machine-item:hover {
    transform: scale(1.02);
  }

  .machine-item.selected {
    border-color: #06BEDE;
    box-shadow: 0 0 15px rgba(6, 190, 222, 0.26);
  }

  /* Loading state for mobile */
  .loading-machines {
    text-align: center;
    padding: 2rem 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    grid-column: 1 / -1;
  }

  /* Additional mobile optimizations */
  .casino-machine-modal.show .casino-machine-content {
    animation: slideUpMobile 0.3s ease-out;
  }

  .wallet-info-compact {
    display: none; /* Hide completely on mobile to save space */
  }

  /* Ensure no unnecessary vertical spacing */
  .casino-section-title,
  .machine-search-container,
  .machine-grid,
  .pagination-container {
    margin-top: 0;
  }

  /* Better touch targets for mobile */
  .machine-play-btn,
  .machine-icon-btn,
  .pagination-btn,
  .casino-cancel-btn {
    min-height: 44px; /* iOS minimum touch target */
  }

  /* Prevent zoom on inputs */
  .machine-search-container input {
    font-size: 16px;
  }
}

@keyframes slideUpMobile {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/*========== SMALL MOBILE DEVICES (iPhone 13 mini, SE) ==========*/
@media screen and (max-width: 400px) {
  /* Ultra-compact header for small screens */
  .casino-machine-header {
    padding: 0.4rem 0.6rem;
    gap: 0.3rem;
  }

  .header-row-secondary {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .header-balance-pill {
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.4), 0 0 20px rgba(6, 190, 222, 0.17);
  }

  .header-wallet-compact {
    justify-content: center;
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
  }

  .casino-machine-header h2 {
    font-size: 0.85rem;
  }

  /* Single column grid for very small screens */
  .machine-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 0.4rem;
  }

  /* Single column cards - VERTICAL CENTERED */
  .machine-item {
    min-height: 190px;
    border-radius: 14px;
  }

  .machine-card-header {
    padding: 0.5rem 0.75rem;
  }

  .machine-number {
    font-size: 1.1rem;
    font-weight: 600;
  }

  .machine-icon-badge {
    font-size: 1rem;
  }

  .machine-streaming-btn {
    width: 38px;
    height: 38px;
  }

  .machine-card-body {
    padding: 0.6rem 0.75rem 0.8rem;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .machine-image-container {
    width: 60px;
    height: 60px;
  }

  .jackpot-info {
    gap: 0.2rem;
    align-items: center;
  }

  .jackpot-label {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
  }

  .jackpot-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #06BEDE;
    text-shadow: 0 0 10px rgba(6, 190, 222, 0.42);
  }

  /* Pagination adjustments */
  .pagination-container {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pagination-info {
    width: 100%;
    order: -1;
    margin-bottom: 0.5rem;
  }
}


/*========== CASINO INFO TEXT ==========*/
.casino-info-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4ecdc4;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem;
  background: rgba(78, 205, 196, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(78, 205, 196, 0.2);
}

.casino-info-text i {
  font-size: 1.2rem;
  color: #4ecdc4;
}

/*========== MACHINE LOADING AND BALANCE STYLES ==========*/
.loading-machines {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  font-size: 1.2rem;
  color: #4ecdc4;
  background: rgba(78, 205, 196, 0.1);
  border-radius: 15px;
  border: 2px dashed rgba(78, 205, 196, 0.3);
}

.machine-badge.active {
  background: linear-gradient(135deg, #00ff88, #00cc66);
  color: white;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 255, 136, 0.3);
}

.machine-stat.total-balance {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
}

.machine-stat.total-balance .stat-value {
  color: #06BEDE;
  font-weight: bold;
}

/* Legacy .machine-image styles removed - using new horizontal layout styles */

.machine-item.highlighted {
  border: 3px solid #06BEDE;
  box-shadow: 0 0 20px rgba(6, 190, 222, 0.42);
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.back-to-list-btn {
  margin-top: 1rem;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, #4ecdc4, #44b3a8);
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.back-to-list-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

.user-info-container {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
  padding: 0.5rem;
}

.wallet-info-compact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 25px;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(6, 190, 222, 0.26);
  backdrop-filter: blur(10px);
}

.wallet-display,
.balance-display {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}

.wallet-display i {
  color: #4ecdc4;
  font-size: 1rem;
}

.balance-display i {
  color: #06BEDE;
  font-size: 1rem;
}

.wallet-address-truncated {
  color: #4ecdc4;
  font-weight: 600;
  font-family: 'Courier New', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.5px;
}

.balance-amount-compact {
  color: #06BEDE;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .user-info-container {
    margin: 0.5rem 0;
  }

  .wallet-info-compact {
    gap: 1rem;
    padding: 0.5rem 1rem;
  }

  .wallet-display,
  .balance-display {
    font-size: 0.8rem;
  }

  .wallet-display i,
  .balance-display i {
    font-size: 0.9rem;
  }

  .wallet-address-truncated,
  .balance-amount-compact {
    font-size: 0.75rem;
  }
}

/*========== LOADING MODAL ==========*/
.slot-game-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(15px);
  z-index: 10003;
  justify-content: center;
  align-items: center;
}

.slot-game-container {
  background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  border: 2px solid #06BEDE;
  box-shadow: 0 20px 60px rgba(6, 190, 222, 0.26);
  overflow: hidden;
}

.slot-game-header {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #333;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slot-game-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
}

.close-btn {
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: scale(1.1);
}

.slot-game-content {
  padding: 2rem;
}

.loading-container {
  text-align: center;
  color: white;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #06BEDE;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem;
}

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

.loading-container h3 {
  color: #06BEDE;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.loading-progress {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin: 1rem 0;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #4ecdc4, #44a08d);
  border-radius: 4px;
  transition: width 0.3s ease;
  width: 0%;
}

.loading-container p {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

.menu__content__casinos {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-radius: 20px;
  padding: 1.8rem 2rem 1.5rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.menu__content__casinos:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  border-color: rgba(6, 190, 222, 0.42);
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.08), rgba(255, 255, 255, 0.05));
}

.menu__content__casinos::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(6, 190, 222, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.menu__content__casinos:hover::before {
  opacity: 1;
}

.menu__content__casinos::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #06BEDE, #4AABDF, #06BEDE);
  border-radius: 20px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
}

.menu__content__casinos:hover::after {
  opacity: 0.3;
}

.menu__img__casinos {
  width: 90px;
  height: 90px;
  border-radius: 16px;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  display: block;
  border: 3px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

.menu__content__casinos:hover .menu__img__casinos {
  transform: scale(1.15) rotate(2deg);
  border-color: rgba(6, 190, 222, 0.70);
  box-shadow: 0 8px 30px rgba(6, 190, 222, 0.26);
}

.menu__name__article {
  color: #06BEDE;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  text-align: center;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.menu__detail {
  color: #e6e6e6;
  font-size: 0.95rem;
  text-align: center;
  display: block;
  margin-bottom: 1rem;
  line-height: 1.4;
  opacity: 0.9;
  position: relative;
  z-index: 2;
}

.casinos__item {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-top: auto;
  padding-top: 0.5rem;
  padding-bottom: 0.8rem;
}

.game-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.slot-game-btn {
  background: linear-gradient(135deg, #06BEDE, #4AABDF, #06BEDE);
  background-size: 200% 200%;
  color: #1a1a1a;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 25px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(6, 190, 222, 0.22);
  font-size: 0.85rem;
  min-width: 110px;
  justify-content: center;
  z-index: 10;
  flex-shrink: 0;
}

.slot-game-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 15px 35px rgba(6, 190, 222, 0.42);
  background-position: 100% 100%;
  color: #000;
}

.slot-game-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  transition: all 0.4s ease;
  transform: translate(-50%, -50%);
}

.slot-game-btn:hover::before {
  width: 300px;
  height: 300px;
}

.slot-game-btn i {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.slot-game-btn:hover i {
  transform: translateX(3px);
}

.menu__preci {
  color: #A6A6A6;
  font-size: 0.8rem;
  display: inline-block;
  margin-top: 0;
  padding: 0.5rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  font-weight: 500;
  position: relative;
  z-index: 2;
  white-space: nowrap;
  flex-shrink: 0;
}

@media screen and (max-width: 768px) {
  .menu__container__casinos {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1rem;
    max-width: 100%;
    padding: 0 1rem;
  }

  .menu__content__casinos {
    padding: 1rem 1rem 1.5rem 1rem;
    min-height: auto;
    border-radius: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    overflow: visible;
  }

  .menu__content__casinos:hover {
    transform: translateY(-2px) scale(1.01);
  }

  .game-card-header {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .menu__img__casinos {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin: 0;
    border: 2px solid rgba(255, 255, 255, 0.2);
  }

  .game-card-content {
    flex: 1;
    margin-bottom: 0;
    text-align: left;
    justify-content: flex-start;
  }

  .menu__name__article {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    line-height: 1.2;
  }

  .menu__detail {
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
  }

  .menu__preci {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    margin-top: 0.3rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: inline-block;
  }

  .casinos__item {
    flex-shrink: 0;
    margin-top: 0;
  }

  .slot-game-btn {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
    min-width: 80px;
    border-radius: 20px;
    margin-bottom: 0;
    gap: 0.4rem;
    z-index: 10;
  }

  .game-actions-row {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .slot-game-btn i {
    font-size: 1.1rem;
  }

  .slot-game-btn .menu__paly {
    display: none;
  }

  .slot-game-btn::after {
    content: "PLAY";
    font-size: 0.8rem;
    font-weight: 700;
  }
}

  .slot-game-btn i {
    font-size: 1.1rem;
  }

  .slot-game-btn .menu__paly {
    display: none;
  }

  .slot-game-btn::after {
    content: "PLAY";
    font-size: 0.8rem;
    font-weight: 700;
  }


/*========== MOBILE SMALL SCREENS - 2 COLUMN COMPACT ==========*/
@media screen and (max-width: 480px) {
  /* Grid 2 columnas más compacto para pantallas pequeñas */
  #Gambling .menu__container__casinos {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 0.6rem;
    padding-inline: 0.5rem;
  }

  #Gambling .menu__content__casinos {
    padding: 0.6rem 0.5rem 0.75rem;
    gap: 0.4rem;
    border-radius: 12px;
  }

  #Gambling .menu__img__casinos {
    height: clamp(80px, 25vw, 95px);
    border-radius: 8px;
  }

  #Gambling .menu__name__article {
    font-size: clamp(0.72rem, 2.4vw, 0.85rem);
    margin-bottom: 0.15rem;
    line-height: 1.25;
  }

  #Gambling .menu__detail {
    font-size: 0.65rem;
    margin-bottom: 0.2rem;
  }

  #Gambling .menu__preci {
    font-size: 0.6rem;
    padding: 0.15rem 0.35rem;
    margin-top: 0.15rem;
  }

  #Gambling .slot-game-btn {
    padding: 0.4rem 0.6rem;
    font-size: 0.7rem;
    min-width: 60px;
    border-radius: 14px;
  }

  #Gambling .slot-game-btn i {
    font-size: 0.9rem;
  }

  #Gambling .game-actions-row {
    gap: 0.3rem;
  }
}

@media screen and (min-width: 769px) and (max-width: 1200px) {
  .menu__container__casinos {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1200px;
    gap: 1.5rem;
  }

  .menu__content__casinos {
    padding: 1.8rem 1.8rem 2.5rem 1.8rem;
    min-height: 350px;
  }

  .menu__img__casinos {
    width: 85px;
    height: 85px;
  }

  .slot-game-btn {
    padding: 0.9rem 1.8rem;
    font-size: 0.9rem;
  }
}

@media screen and (min-width: 1201px) {
  .menu__container__casinos {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    max-width: 1400px;
    gap: 2rem;
  }

  .menu__content__casinos {
    padding: 2rem 2rem 2.5rem 2rem;
    min-height: 360px;
  }

  .menu__img__casinos {
    width: 90px;
    height: 90px;
  }

  .slot-game-btn {
    padding: 1rem 2rem;
    font-size: 0.9rem;
  }
}

/*========== GAME CARD STRUCTURE ==========*/
.game-card-header {
  text-align: center;
  margin-bottom: 1rem;
  position: relative;
}

.game-card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin-bottom: 1rem;
}

.casinos__item {
  margin-top: auto;
  text-align: center;
}

/*========== ENHANCED CARD ANIMATIONS ==========*/
.menu__content__casinos {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu__content__casinos:hover {
  animation: cardPulse 0.6s ease-in-out;
}

@keyframes cardPulse {
  0% { transform: translateY(-8px) scale(1.02); }
  50% { transform: translateY(-10px) scale(1.03); }
  100% { transform: translateY(-8px) scale(1.02); }
}

/*========== METAVERSE CASINO SLIDER ==========*/
.metaverse-casino-slider {
  margin-top: 3rem;
  padding: 2rem 0;
  background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.metaverse-casino-slider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(6, 190, 222, 0.04), transparent);
  pointer-events: none;
}

.slider-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.slider-main {
  position: relative;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(6, 190, 222, 0.17);
  backdrop-filter: blur(10px);
}

.slider-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-content.active {
  opacity: 1;
  transform: translateX(0);
}

.slider-image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.slider-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.slider-content.active .slider-image img {
  transform: scale(1.05);
}

.slider-info {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
  padding: 2rem;
  color: white;
  position: relative;
}

.casino-logo {
  position: absolute;
  top: -30px;
  left: 2rem;
  width: 60px;
  height: 60px;
  background: rgba(6, 190, 222, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(6, 190, 222, 0.26);
  backdrop-filter: blur(10px);
}

.casino-logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.casino-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  margin: 1rem 0 0.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.casino-author {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.casino-author span {
  color: #06BEDE;
  font-weight: 600;
}

.casino-btn {
  background: linear-gradient(135deg, #06BEDE 0%, #4AABDF 100%);
  color: #333;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
}

.casino-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 190, 222, 0.35);
  background: linear-gradient(135deg, #4AABDF 0%, #06BEDE 100%);
}

.slider-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.option-card:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: rgba(6, 190, 222, 0.26);
  transform: translateY(-2px);
}

.option-card.active {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.17) 0%, rgba(6, 190, 222, 0.08) 100%);
  border-color: rgba(6, 190, 222, 0.42);
  box-shadow: 0 4px 20px rgba(6, 190, 222, 0.17);
}

.option-image {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.option-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.option-content {
  flex: 1;
  min-width: 0;
}

.option-content h4 {
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.option-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  margin: 0;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .slider-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1rem;
  }

  .slider-main {
    height: 300px;
  }

  .slider-info {
    padding: 1.5rem;
  }

  .casino-title {
    font-size: 1.4rem;
  }

  .slider-options {
    flex-direction: row;
    overflow-x: auto;
    gap: 0.5rem;
  }

  .option-card {
    min-width: 200px;
    flex-shrink: 0;
  }
}

/*========== KENO IFRAME STYLES (DESKTOP) ==========*/
.keno-iframe-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 15px;
  overflow: hidden;
}

.keno-iframe-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.12), rgba(6, 190, 222, 0.07));
  border-bottom: 1px solid rgba(6, 190, 222, 0.17);
}

.keno-iframe-header h3 {
  margin: 0;
  color: #06BEDE;
  font-size: 1.2rem;
  font-weight: 600;
}

.keno-fullscreen-btn {
  background: rgba(6, 190, 222, 0.17);
  border: 1px solid rgba(6, 190, 222, 0.35);
  border-radius: 8px;
  color: #06BEDE;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
}

.keno-fullscreen-btn:hover {
  background: rgba(6, 190, 222, 0.26);
  transform: scale(1.05);
}

.keno-iframe {
  flex: 1;
  width: 100%;
  min-height: 400px;
  border: none;
  background: #000;
}

.keno-iframe-footer {
  padding: 0.75rem 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(6, 190, 222, 0.08);
}

.keno-iframe-footer small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.keno-iframe-footer small i {
  color: #06BEDE;
  font-size: 0.9rem;
}

/* Mobile override - keep current behavior */
@media screen and (max-width: 768px) {
  .keno-iframe-container {
    display: none;
  }
}

/*========== USER ACTIONS BAR ==========*/
.user-actions-bar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(6, 190, 222, 0.17);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.user-balance {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  width: 100%;
}

/*========== ENHANCED BALANCE CARD ==========*/
.enhanced-balance-card {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.12), rgba(6, 190, 222, 0.07));
  border: 2px solid rgba(6, 190, 222, 0.26);
  border-radius: 20px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 8px 25px rgba(6, 190, 222, 0.12);
  transition: all 0.3s ease;
  width: 100%;
}

.enhanced-balance-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(6, 190, 222, 0.17);
}

.balance-icon-container {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
  flex-shrink: 0;
}

.balance-icon-main {
  font-size: 2rem;
  color: #1a1a1a;
}

.balance-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.balance-label-enhanced {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.balance-amount-enhanced {
  color: #06BEDE;
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 0 2px 8px rgba(6, 190, 222, 0.26);
}

.balance-status {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.status-icon {
  font-size: 1.5rem;
  color: #4CAF50;
  text-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

.wallet-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
}

.wallet-info i {
  color: #06BEDE;
  font-size: 1rem;
}

.balance-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.balance-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 500;
}

.balance-amount {
  color: #06BEDE;
  font-size: 1.4rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.action-buttons {
  display: flex;
  gap: 1rem;
}

/*========== ACTION BUTTONS GRID ==========*/
.action-buttons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
}

.grid-action-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 1.2rem;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-size: 0.9rem;
  min-height: 100px;
  justify-content: center;
}

.grid-action-btn i {
  font-size: 1.8rem;
}

.grid-action-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.grid-action-btn.primary {
  border-color: rgba(6, 190, 222, 0.35);
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.12), rgba(6, 190, 222, 0.07));
}

.grid-action-btn.primary:hover {
  border-color: rgba(6, 190, 222, 0.52);
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.17), rgba(6, 190, 222, 0.08));
  box-shadow: 0 8px 25px rgba(6, 190, 222, 0.26);
}

.grid-action-btn.secondary {
  border-color: rgba(33, 150, 243, 0.4);
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.15), rgba(33, 150, 243, 0.08));
}

.grid-action-btn.secondary:hover {
  border-color: rgba(33, 150, 243, 0.6);
  background: linear-gradient(135deg, rgba(33, 150, 243, 0.2), rgba(33, 150, 243, 0.1));
  box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3);
}

.grid-action-btn.withdraw {
  border-color: rgba(255, 92, 92, 0.4);
  background: linear-gradient(135deg, rgba(255, 92, 92, 0.15), rgba(255, 92, 92, 0.08));
}

.grid-action-btn.withdraw:hover {
  border-color: rgba(255, 92, 92, 0.6);
  background: linear-gradient(135deg, rgba(255, 92, 92, 0.2), rgba(255, 92, 92, 0.1));
  box-shadow: 0 8px 25px rgba(255, 92, 92, 0.3);
}

.grid-action-btn.streaming {
  border-color: rgba(78, 205, 196, 0.4);
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.15), rgba(78, 205, 196, 0.08));
}

.grid-action-btn.streaming:hover {
  border-color: rgba(78, 205, 196, 0.6);
  background: linear-gradient(135deg, rgba(78, 205, 196, 0.2), rgba(78, 205, 196, 0.1));
  box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 15px;
  font-weight: 600;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.action-btn.primary {
  background: linear-gradient(135deg, #06BEDE 0%, #4AABDF 100%);
  color: #333;
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
}

.action-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 190, 222, 0.35);
}

.action-btn.secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.action-btn.secondary:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
  border-color: rgba(6, 190, 222, 0.26);
  transform: translateY(-2px);
}

.action-btn.withdraw {
  background: linear-gradient(135deg, rgba(255, 92, 92, 0.2) 0%, rgba(255, 92, 92, 0.1) 100%);
  color: #ff5c5c;
  border: 1px solid rgba(255, 92, 92, 0.3);
}

.action-btn.withdraw:hover {
  background: linear-gradient(135deg, rgba(255, 92, 92, 0.3) 0%, rgba(255, 92, 92, 0.2) 100%);
  border-color: rgba(255, 92, 92, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 92, 92, 0.2);
}

.action-btn i {
  font-size: 1rem;
}

/*========== SLOT PURCHASE MODAL ==========*/
.slot-purchase-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.slot-purchase-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(6, 190, 222, 0.26);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.slot-purchase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.slot-purchase-header h2 {
  color: #06BEDE;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.slot-purchase-body {
  padding: 2rem;
}

.slot-nft-display {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.slot-image-container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(6, 190, 222, 0.17);
}

.slot-nft-image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 10px;
}

.slot-nft-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-align: center;
}

.slot-nft-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.nft-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-label {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.detail-value {
  color: white;
  font-weight: 600;
}

.detail-value.price {
  color: #06BEDE;
  font-size: 1.2rem;
  font-weight: 700;
}

.slot-benefits {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.08) 0%, rgba(6, 190, 222, 0.04) 100%);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(6, 190, 222, 0.17);
}

.slot-benefits h4 {
  color: #06BEDE;
  font-size: 1.2rem;
  margin: 0 0 1rem 0;
}

.slot-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.slot-benefits li {
  color: rgba(255, 255, 255, 0.9);
  margin: 0.5rem 0;
  line-height: 1.4;
}

.slot-purchase-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.slot-cancel-btn, .slot-buy-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 15px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.slot-cancel-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.slot-buy-btn {
  background: linear-gradient(135deg, #06BEDE 0%, #4AABDF 100%);
  color: #333;
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slot-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 190, 222, 0.35);
}

.purchase-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-top: 2px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/*========== WITHDRAW MODAL ==========*/
.withdraw-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  backdrop-filter: blur(15px);
}

.withdraw-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 25px;
  width: 90%;
  max-width: 650px;
  max-height: 90vh;
  border: 1px solid rgba(255, 92, 92, 0.3);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
}

.withdraw-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.withdraw-header h2 {
  color: #ff5c5c;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.withdraw-header h2 i {
  font-size: 1.6rem;
}

.withdraw-close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.withdraw-close-btn:hover {
  background: rgba(255, 92, 92, 0.2);
  color: #ff5c5c;
  transform: rotate(90deg);
}

.withdraw-body {
  padding: 2rem;
}

.current-balance-display {
  margin-bottom: 2rem;
}

.balance-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(255, 92, 92, 0.1) 0%, rgba(255, 92, 92, 0.05) 100%);
  border-radius: 20px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 92, 92, 0.2);
}

.balance-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ff5c5c 0%, #ff7575 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 4px 15px rgba(255, 92, 92, 0.3);
}

.balance-details {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.balance-amount-display {
  color: #ff5c5c;
  font-size: 1.8rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.wallet-destination {
  margin-bottom: 1.5rem;
}

.wallet-destination label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.wallet-input-group {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.wallet-input-group i {
  color: #ff5c5c;
  font-size: 1.2rem;
  margin-right: 0.8rem;
}

.wallet-input-group input {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  width: 100%;
  outline: none;
  font-family: monospace;
}

.withdraw-info {
  margin-top: 0.5rem;
}

.fee-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.fee-info i {
  color: #06BEDE;
}

.withdraw-summary {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.summary-row:last-child {
  margin-bottom: 0;
}

.summary-row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0.8rem;
  margin-top: 0.8rem;
  font-weight: 700;
  font-size: 1rem;
  color: #ff5c5c;
}

.summary-row.usd-equivalent {
  color: rgba(6, 190, 222, 0.80);
  font-size: 0.95rem;
  font-weight: 500;
  padding-top: 0.5rem;
}

.summary-row.usd-equivalent span:last-child {
  color: #06BEDE;
  font-weight: 600;
}

.withdraw-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.withdraw-cancel-btn, .withdraw-confirm-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 15px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.withdraw-cancel-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.withdraw-cancel-btn:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  transform: translateY(-2px);
}

.withdraw-confirm-btn {
  background: linear-gradient(135deg, #ff5c5c 0%, #ff7575 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 92, 92, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.withdraw-confirm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 92, 92, 0.4);
}

.withdraw-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/*========== RECHARGE MODAL ==========*/
.recharge-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 999;
  backdrop-filter: blur(10px);
  overscroll-behavior: contain;
}

.recharge-content {
  overscroll-behavior: contain;
}

.recharge-body {
  overscroll-behavior: contain;
}

.recharge-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 8px;
  width: 99vw;
  height: 99vh;
  overflow-y: auto;
  border: 1px solid rgba(6, 190, 222, 0.26);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

/* Mobile optimizations for recharge modal - FULLSCREEN */
@media screen and (max-width: 768px) {
  .recharge-content {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw !important;
    width: 100dvw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-width: none !important;
    max-height: none !important;
    padding: 0;
    margin: 0;
    border-radius: 0;
    border: none;
    transform: none;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  
  .recharge-header {
    padding: calc(0.75rem + env(safe-area-inset-top, 0)) calc(0.75rem + env(safe-area-inset-right, 0)) 0.5rem calc(0.75rem + env(safe-area-inset-left, 0));
    flex-shrink: 0;
    border-bottom: 1px solid rgba(6, 190, 222, 0.17);
  }
  
  .recharge-header h2 {
    font-size: 1.2rem;
  }
  
  .recharge-body {
    padding: 0;
    padding-left: env(safe-area-inset-left, 0);
    padding-right: env(safe-area-inset-right, 0);
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch;
  }
  
  .recharge-footer {
    padding: 0.5rem;
    padding-left: calc(0.5rem + env(safe-area-inset-left, 0));
    padding-right: calc(0.5rem + env(safe-area-inset-right, 0));
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0));
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  /* Compact buttons for mobile */
  .recharge-cancel-btn,
  .recharge-confirm-btn,
  .checkout-pay-btn,
  .checkout-cancel-btn {
    padding: 0.6rem 1rem !important;
    font-size: 0.9rem !important;
    min-height: 44px !important;
    border-radius: 10px !important;
  }
  
  .recharge-footer .recharge-cancel-btn,
  .recharge-footer .recharge-confirm-btn {
    flex: 1;
    min-width: 0;
  }
  
  /* Payment method buttons compact */
  .payment-method-btn {
    padding: 0.75rem 0.5rem !important;
  }
  
  .payment-method-icon {
    font-size: 1.5rem !important;
    margin-bottom: 0.25rem !important;
  }
  
  .payment-method-title {
    font-size: 0.95rem !important;
  }
  
  .payment-method-subtitle {
    font-size: 0.75rem !important;
  }
  
  /* Back button compact */
  .back-to-methods {
    padding: 0.4rem 0.75rem !important;
    font-size: 0.8rem !important;
  }
  
  .method-header h4 {
    font-size: 1rem !important;
  }
  
  /* Balance display compact */
  .balance-display-large {
    padding: 0.75rem !important;
    border-radius: 10px !important;
  }
  
  .balance-amount-large {
    font-size: 1.5rem !important;
  }
  
  .current-balance {
    margin-bottom: 0.75rem !important;
  }
}

/* CpocketBot iFrame wrapper - full flex fill */
.payment-iframe-wrapper {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

#stripe-payment-container {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
}

#cpocketbot-payment-iframe {
  width: 100% !important;
  flex: 1 !important;
  height: 100% !important;
  border: none !important;
  border-radius: 0;
  background-color: #1a1a2e;
  display: block;
}

@media screen and (max-width: 768px) {
  #stripe-payment-container,
  .payment-iframe-wrapper {
    width: 100% !important;
    flex: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  #cpocketbot-payment-iframe {
    height: 100% !important;
    flex: 1 !important;
    border-radius: 0 !important;
    width: 100% !important;
  }
  
  /* Stripe packages grid compact */
  .stripe-packages-grid {
    gap: 0.5rem !important;
    padding: 0 !important;
  }
  
  .stripe-package-card {
    padding: 0.75rem 0.5rem !important;
    min-height: auto !important;
  }
  
  .package-icon {
    font-size: 1.75rem !important;
    margin-bottom: 0.25rem !important;
  }
  
  .package-name {
    font-size: 0.85rem !important;
  }
  
  .package-usd-amount {
    font-size: 1.25rem !important;
  }
  
  .package-sps-amount {
    font-size: 0.8rem !important;
  }
  
  .package-description {
    font-size: 0.7rem !important;
  }
  
  .packages-title {
    font-size: 0.95rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  /* Stripe info banner — mobile mantiene el estilo compacto base */
  .stripe-info-banner {
    padding: 0.35rem 0.75rem !important;
    font-size: 0.75rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .stripe-info-banner i {
    font-size: 0.9rem !important;
  }
  
  /* Selected package info — mobile mantiene la píldora compacta */
  .stripe-package-selected-info {
    padding: 0.4rem 0.75rem !important;
    margin-top: 0.4rem !important;
  }
  
  .selected-icon {
    font-size: 1rem !important;
  }
  
  .selected-name {
    font-size: 0.75rem !important;
  }
  
  #selectedUSD {
    font-size: 0.75rem !important;
  }
  
  .selected-sps-display {
    font-size: 0.75rem !important;
  }
  
  /* Checkout sticky footer compact */
  .checkout-sticky-footer {
    padding: 0.5rem !important;
    padding-left: max(0.5rem, env(safe-area-inset-left, 0rem)) !important;
    padding-right: max(0.5rem, env(safe-area-inset-right, 0rem)) !important;
    padding-bottom: max(0.75rem, env(safe-area-inset-bottom, 0rem)) !important;
    min-height: auto !important;
    gap: 0.5rem !important;
    flex-shrink: 0;
  }
  
  .checkout-sticky-footer .checkout-pay-btn {
    padding: 0.6rem 1rem !important;
    font-size: 0.9rem !important;
    min-height: 44px !important;
  }
  
  .checkout-sticky-footer .checkout-cancel-btn {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.8rem !important;
    min-height: 36px !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: rgba(255, 255, 255, 0.6) !important;
  }
}

.recharge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.recharge-header h2 {
  color: #06BEDE;
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0;
}

.recharge-body {
  padding: 0rem;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.current-balance {
  text-align: center;
  margin-bottom: 2rem;
}

.balance-display-large {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.08) 0%, rgba(6, 190, 222, 0.04) 100%);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(6, 190, 222, 0.17);
}

.balance-amount-large {
  color: #06BEDE;
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.amount-input-container {
  margin-bottom: 1.5rem;
}

.amount-input-container label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* Estilos antiguos removidos - usando los nuevos profesionales */

.quick-amounts h4 {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 1.2rem 0;
  text-align: left;
}

.quick-amount-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.quick-btn {
  padding: 0.8rem 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.quick-btn:hover {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.17) 0%, rgba(6, 190, 222, 0.08) 100%);
  border-color: rgba(6, 190, 222, 0.26);
  transform: translateY(-2px);
}

.recharge-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.recharge-cancel-btn, .recharge-confirm-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 15px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.recharge-cancel-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.recharge-confirm-btn {
  background: linear-gradient(135deg, #06BEDE 0%, #4AABDF 100%);
  color: #333;
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.recharge-confirm-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 190, 222, 0.35);
}

.recharge-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-top: 2px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Payment Method Selection Styles */
.payment-method-selection {
  margin-bottom: 2rem;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

/* Responsive para móvil - 3 métodos en columnas */
@media screen and (max-width: 768px) {
  .payment-methods {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
}

.payment-method-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 1.5rem 1rem;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.payment-method-btn:hover {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.17) 0%, rgba(6, 190, 222, 0.08) 100%);
  border-color: rgba(6, 190, 222, 0.35);
  transform: translateY(-2px);
}

.payment-method-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.payment-method-title {
  font-weight: 600;
  font-size: 1.1rem;
  color: #06BEDE;
}

.payment-method-subtitle {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.method-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
  gap: 0.75rem;
}

.back-to-methods {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.8);
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.back-to-methods:hover {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.17) 0%, rgba(6, 190, 222, 0.08) 100%);
  border-color: rgba(6, 190, 222, 0.26);
  color: #06BEDE;
}

.method-header h4 {
  color: #06BEDE;
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
}

.sps-equivalent, .usd-equivalent {
  margin-top: 0.8rem;
  text-align: left;
}

/* Estilos para botones de acción mejorados */
.sparklife-confirm-btn {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  border: none;
  border-radius: 12px;
  color: #000;
  font-weight: 600;
  padding: 15px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.1rem;
  margin-top: 1rem;
  width: 100%;
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
}

.sparklife-confirm-btn:hover {
  background: linear-gradient(135deg, #4AABDF, #06BEDE);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(6, 190, 222, 0.35);
}

/* WalletConnect SOLO DEBE MOSTRAR EL BOTÓN DE FOOTER */
.walletconnect-confirm-btn {
  background: linear-gradient(135deg, #4CAF50, #45a049);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  padding: 15px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.1rem;
  width: 100%;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.walletconnect-confirm-btn:hover {
  background: linear-gradient(135deg, #45a049, #3d8b40);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.sparklife-spinner,
.walletconnect-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-top: 2px solid #333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  display: none;
}

/* Estilos mejorados para Wallet Sparklife */
.sparklife-benefits {
  background: rgba(6, 190, 222, 0.08);
  border: 1px solid rgba(6, 190, 222, 0.26);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.benefit-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.benefit-highlight i {
  color: #06BEDE;
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.benefit-highlight p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.4;
}

.benefit-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.benefit-item i {
  color: #4CAF50;
  font-size: 1rem;
  flex-shrink: 0;
}

.benefit-item span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Estilos mejorados profesionales para input de cantidad - LABEL ARRIBA */
.amount-input-container {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
}

.amount-input-container label {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  text-align: left;
  order: 1;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(6, 190, 222, 0.26);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  order: 2;
  width: 100%;
}

.input-group:focus-within {
  border-color: #06BEDE;
  box-shadow: 0 0 0 3px rgba(6, 190, 222, 0.08);
}

.input-group input {
  background: transparent;
  border: none;
  padding: 1.2rem 1.5rem;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  flex: 1;
  outline: none;
}

.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.input-suffix {
  background: rgba(6, 190, 222, 0.17);
  color: #06BEDE;
  padding: 1.2rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-left: 1px solid rgba(6, 190, 222, 0.26);
}

/* Forzar diseño vertical - label arriba, input abajo */
.sparklife-form .amount-input-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0.8rem !important;
}

.sparklife-form .amount-input-container label {
  width: 100% !important;
  text-align: left !important;
  margin-bottom: 0 !important;
  order: 1 !important;
}

.sparklife-form .input-group {
  width: 100% !important;
  order: 2 !important;
  margin-top: 0 !important;
}

/* Estilos para modal de progreso de recarga */
#rechargeProgressModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.progress-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.progress-modal-content {
  background: linear-gradient(135deg, rgba(36, 59, 85, 0.98), rgba(20, 30, 48, 0.98));
  border: 2px solid rgba(6, 190, 222, 0.42);
  border-radius: 16px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.progress-header h3 {
  color: #06BEDE;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.4rem;
}

.progress-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.03);
}

.progress-step.active {
  background: rgba(6, 190, 222, 0.08);
  border-left: 3px solid #06BEDE;
}

.progress-step.completed {
  background: rgba(76, 175, 80, 0.1);
  border-left: 3px solid #4CAF50;
}

.progress-step.error {
  background: rgba(244, 67, 54, 0.1);
  border-left: 3px solid #f44336;
}

.step-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.progress-step.active .step-icon {
  background: #06BEDE;
  color: #1a1a1a;
  border-color: #06BEDE;
  animation: pulse 2s infinite;
}

.progress-step.completed .step-icon {
  background: #4CAF50;
  color: white;
  border-color: #4CAF50;
}

.progress-step.error .step-icon {
  background: #f44336;
  color: white;
  border-color: #f44336;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(6, 190, 222, 0.60); }
  70% { box-shadow: 0 0 0 10px rgba(6, 190, 222, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 190, 222, 0); }
}

.step-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  flex: 1;
}

.progress-step.active .step-text {
  color: #06BEDE;
  font-weight: 500;
}

.progress-step.completed .step-text {
  color: #4CAF50;
}

.progress-status {
  text-align: center;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(6, 190, 222, 0.17);
  margin-top: 0.5rem;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Modal de Error para Tickets de Balotín */
.balotin-error-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.balotin-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.balotin-modal-content {
  position: relative;
  background: linear-gradient(135deg, rgba(42, 55, 79, 0.98), rgba(25, 35, 52, 0.98));
  border: 2px solid rgba(255, 87, 51, 0.5);
  border-radius: 16px;
  padding: 0;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  animation: errorModalFadeIn 0.3s ease-out;
  overflow: hidden;
}

@keyframes errorModalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.balotin-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 87, 51, 0.2);
  background: rgba(255, 87, 51, 0.05);
}

.balotin-modal-header > svg:first-child,
.balotin-modal-header > i:first-child {
  width: 1.5rem;
  height: 1.5rem;
  color: #ff5733;
}

.balotin-modal-header h3 {
  color: #ff5733;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  flex: 1;
}

.balotin-modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
}

.balotin-modal-close:hover {
  background: rgba(255, 87, 51, 0.2);
  border-color: rgba(255, 87, 51, 0.4);
  color: #ff5733;
  transform: scale(1.1);
}

.balotin-modal-body {
  padding: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.balotin-modal-body p {
  margin: 0 0 1rem 0;
  font-size: 0.95rem;
}

.balotin-modal-body .error-detail {
  background: rgba(255, 87, 51, 0.1);
  border: 1px solid rgba(255, 87, 51, 0.3);
  border-radius: 8px;
  padding: 0.8rem;
  margin-top: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.balotin-modal-body .error-detail i {
  color: #ff5733;
  margin-top: 2px;
  flex-shrink: 0;
}

.balotin-modal-footer {
  padding: 1rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  justify-content: center;
}

.balotin-retry-btn {
  background: linear-gradient(135deg, #ff5733, #ff4520);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(255, 87, 51, 0.3);
}

.balotin-retry-btn:hover {
  background: linear-gradient(135deg, #ff4520, #ff5733);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 87, 51, 0.4);
}

.balotin-retry-btn:active {
  transform: translateY(0);
}

/* Responsive para modal de error de Balotín */
@media (max-width: 768px) {
  .balotin-modal-content {
    margin: 1rem;
    width: calc(100% - 2rem);
  }
  
  .balotin-modal-header {
    padding: 1.2rem 1.2rem 0.8rem 1.2rem;
  }
  
  .balotin-modal-body {
    padding: 1.2rem;
  }
  
  .balotin-modal-footer {
    padding: 0.8rem 1.2rem 1.2rem 1.2rem;
  }
}

/* Notificación de éxito */
.success-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.95), rgba(56, 142, 60, 0.95));
  border: 2px solid #4CAF50;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
  z-index: 10001;
  backdrop-filter: blur(10px);
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.3s ease;
}

.success-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.success-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: white;
}

.success-content i {
  font-size: 1.4rem;
  color: #4CAF50;
}

/* Balances compactos integrados - Principios UX */
.compact-balances-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(6, 190, 222, 0.17);
  border-radius: 8px;
  padding: 0.8rem 1.2rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(5px);
}

.balance-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
}

.balance-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.balance-value {
  color: #06BEDE;
  font-weight: 600;
  font-size: 1rem;
}

.balance-divider {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.2rem;
}

/* Footer rediseñado - Jerarquía visual UX */
.recharge-footer-redesigned {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.primary-action-container {
  display: flex;
  justify-content: center;
}

/* Botón principal - Máxima prominencia */
.primary-recharge-btn {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  color: #1a1a1a;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
  min-width: 240px;
  position: relative;
}

.primary-recharge-btn:hover {
  background: linear-gradient(135deg, #4AABDF, #06BEDE);
  box-shadow: 0 6px 20px rgba(6, 190, 222, 0.35);
  transform: translateY(-2px);
}

.primary-recharge-btn:disabled {
  opacity: 0.7;
  transform: none;
  box-shadow: 0 2px 8px rgba(6, 190, 222, 0.17);
  cursor: not-allowed;
}

.btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-content i {
  font-size: 1.2rem;
}

/* Botón secundario - Discreto pero accesible */
.secondary-cancel-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.8rem 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
  min-width: 120px;
}

.secondary-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Spinners en botones principales */
.primary-recharge-btn .sparklife-spinner,
.primary-recharge-btn .walletconnect-spinner,
.primary-recharge-btn .creditcard-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid #1a1a1a;
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

/* Estilos profesionales para botones sugeridos */
.quick-amount-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

/* Botón especial para total de wallet */
.total-wallet-btn {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.12), rgba(6, 190, 222, 0.07));
  border: 2px solid rgba(6, 190, 222, 0.35);
  color: #06BEDE;
  font-weight: 600;
  margin-top: 0.5rem;
}

.total-wallet-btn:hover {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.22), rgba(6, 190, 222, 0.12));
  border-color: rgba(6, 190, 222, 0.52);
  transform: translateY(-1px);
}

/* WalletConnect Connection Styles */
.web3-connection-status {
  text-align: center;
  padding: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.connection-icon {
  margin-bottom: 1.5rem;
}

.connection-icon i {
  font-size: 4rem;
  color: #4ecdc4;
  animation: pulse 2s infinite;
}

.connection-icon.connected i {
  color: #4ade80;
  animation: none;
}

.connection-icon.error i {
  color: #ef4444;
  animation: shake 0.5s ease-in-out;
}

#connectionStatus {
  margin: 1rem 0 0.5rem 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
}

#connectionMessage {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.connection-loader {
  display: flex;
  justify-content: center;
}

.web3-connect-section {
  margin: 2rem 0;
}

.web3-connect-btn {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  border: none;
  border-radius: 12px;
  padding: 1rem 2rem;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
}

.web3-connect-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
  background: linear-gradient(135deg, #5fd3ca, #4eb5a6);
}

.web3-connect-btn:active {
  transform: translateY(0);
}

.web3-connect-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 15px rgba(78, 205, 196, 0.2);
}

.supported-wallets {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.loader-dots {
  display: flex;
  gap: 0.5rem;
}

.loader-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ecdc4;
  animation: loadingDots 1.4s infinite ease-in-out;
}

.loader-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.loader-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

.connected-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4ade80;
  font-size: 0.8rem;
  font-weight: 500;
}

.connected-indicator i {
  font-size: 1rem;
}

@keyframes pulse {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.7; 
    transform: scale(1.05);
  }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@keyframes loadingDots {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

.quick-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.quick-btn:hover {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.12), rgba(6, 190, 222, 0.07));
  border-color: rgba(6, 190, 222, 0.35);
  color: #06BEDE;
  transform: translateY(-1px);
}

/* Estilos mejorados para WalletConnect - SOLO UN BOTÓN */
.walletconnect-waiting {
  text-align: center;
  padding: 4rem 2rem;
  color: rgba(255, 255, 255, 0.8);
}

.waiting-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.walletconnect-waiting h3 {
  color: #06BEDE;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.walletconnect-waiting p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  font-size: 1rem;
}

/* Estilos mejorados para tarjeta de crédito con mejor contraste */
.creditcard-form {
  background: rgba(20, 25, 45, 0.95);
  border-radius: 15px;
  padding: 2rem;
  border: 2px solid rgba(6, 190, 222, 0.35);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Mobile: creditcard-form ocupa 100% del ancho - SIN márgenes laterales */
@media screen and (max-width: 768px) {
  .creditcard-form {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0.5rem 0 !important;
    border-radius: 0 !important;
    border: none !important;
    background: transparent !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
  }
  
  .creditcard-form .method-header {
    padding: 0 env(safe-area-inset-left, 0) 0 env(safe-area-inset-right, 0) !important;
    padding-left: max(0.5rem, env(safe-area-inset-left, 0)) !important;
    padding-right: max(0.5rem, env(safe-area-inset-right, 0)) !important;
  }
  
  .creditcard-form .stripe-info-banner {
    margin: 0 0 0.5rem 0 !important;
    margin-left: max(0.5rem, env(safe-area-inset-left, 0)) !important;
    margin-right: max(0.5rem, env(safe-area-inset-right, 0)) !important;
    border-radius: 8px !important;
  }
  
  .creditcard-form .packages-section {
    padding: 0 !important;
  }
  
  .creditcard-form .stripe-packages-grid {
    padding: 0 !important;
    padding-left: max(0.5rem, env(safe-area-inset-left, 0)) !important;
    padding-right: max(0.5rem, env(safe-area-inset-right, 0)) !important;
  }
  
  .creditcard-form .stripe-package-selected-info {
    margin: 0.5rem !important;
    margin-left: max(0.5rem, env(safe-area-inset-left, 0)) !important;
    margin-right: max(0.5rem, env(safe-area-inset-right, 0)) !important;
  }
  
  /* Payment iframe wrapper - full bleed */
  .creditcard-form .payment-iframe-wrapper,
  .creditcard-form #stripe-payment-container {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }
}

.creditcard-form .method-header h4 {
  color: #06BEDE;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.card-input-section {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  border: 1px solid rgba(6, 190, 222, 0.17);
  backdrop-filter: blur(5px);
}

.card-input-title {
  color: #06BEDE;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-input-title i {
  font-size: 1.3rem;
}

/* Stripe Payment Element Container (Stripe Elements mode) */
#stripe-payment-container {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(6, 190, 222, 0.26);
  margin: 20px 0;
  min-height: 200px;
  backdrop-filter: blur(5px);
}

/* Cuando el contenedor actúa como wrapper del iframe CpocketBot */
#stripe-payment-container.payment-iframe-wrapper {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  border: none !important;
  margin: 0 !important;
  min-height: unset !important;
  backdrop-filter: none !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

#payment-element {
  min-height: 150px;
}

#payment-message {
  margin-top: 1rem;
  color: #ff4757;
  font-size: 0.9rem;
}

/* Mejorar contrastes de Stripe elementos */
.stripe-card-element {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 8px !important;
  padding: 1.2rem !important;
  color: white !important;
  transition: all 0.3s ease !important;
}

.stripe-card-element:focus-within {
  border-color: #06BEDE !important;
  box-shadow: 0 0 0 2px rgba(6, 190, 222, 0.17) !important;
}

/* Mejorar botones de cantidad sugerida para USD */
.amount-suggestions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin-top: 1rem;
}

.amount-suggestion-btn {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.amount-suggestion-btn:hover {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.12), rgba(6, 190, 222, 0.07));
  border-color: rgba(6, 190, 222, 0.42);
  color: #06BEDE;
  transform: translateY(-1px);
}

/* Balance amount mejorado */
.balance-amount-enhanced {
  font-size: 1.8rem;
  font-weight: 700;
  color: #06BEDE;
}

/* Diseño uniforme para equivalencias en ambos métodos de pago */
.equivalence-display {
  margin-top: 0.8rem;
  padding: 0.8rem 1.2rem;
  background: rgba(6, 190, 222, 0.07);
  border: 1px solid rgba(6, 190, 222, 0.17);
  border-radius: 8px;
  text-align: center;
}

.equivalence-display small {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  display: block;
}

.equivalence-display span {
  color: #06BEDE;
  font-weight: 600;
  font-size: 1rem;
}

/* Mantener compatibilidad con clases antiguas */
.sps-equivalent small, .usd-equivalent small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.sps-equivalent span, .usd-equivalent span {
  color: #06BEDE;
  font-weight: 600;
}

/* Stripe Card Styles */
.stripe-card-container {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stripe-card-element {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 1rem;
  color: white;
}

.stripe-card-errors {
  color: #ff4757;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  text-align: center;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 768px) {
  .payment-methods {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .payment-method-btn {
    padding: 1.2rem 0.8rem;
  }

  .payment-method-icon {
    font-size: 1.5rem;
  }

  .method-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
}

/* Responsive for user actions */
@media screen and (max-width: 1024px) {
  .user-actions-bar {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.2rem;
  }

  .user-balance {
    align-items: center;
    text-align: center;
  }

  .balance-amount {
    font-size: 1.2rem;
  }

  .action-buttons {
    flex-direction: row;
    width: 100%;
    justify-content: center;
  }

  .action-btn {
    flex: 1;
    max-width: 150px;
    justify-content: center;
    padding: 0.9rem 0.8rem;
    font-size: 0.7rem;
  }
}

@media screen and (max-width: 768px) {
  .user-actions-bar {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
  }

  .user-balance {
    align-items: center;
    text-align: center;
  }

  .balance-amount {
    font-size: 1.1rem;
  }

  .action-buttons {
    flex-direction: column;
    width: 100%;
  }

  .action-btn {
    justify-content: center;
    padding: 0.9rem;
    font-size: 0.75rem;
  }

  /* Enhanced Balance Card Mobile */
  .enhanced-balance-card {
    padding: 1.2rem;
    gap: 1rem;
  }

  .balance-icon-container {
    width: 50px;
    height: 50px;
  }

  .balance-icon-main {
    font-size: 1.5rem;
  }

  .balance-amount-enhanced {
    font-size: 1.5rem;
  }

  /* Action Buttons Grid Mobile */
  .action-buttons-grid {
    gap: 0.8rem;
  }

  .grid-action-btn {
    padding: 1rem;
    min-height: 80px;
    font-size: 0.8rem;
  }

  .grid-action-btn i {
    font-size: 1.5rem;
  }

  .slot-nft-display {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .slot-purchase-content {
    width: 95%;
    max-height: 95vh;
  }

  .quick-amount-buttons {
    grid-template-columns: 1fr;
  }
}

/*========== GAME CARD STAGGER ANIMATION ==========*/
.menu__content__casinos:nth-child(1) { animation-delay: 0.1s; }
.menu__content__casinos:nth-child(2) { animation-delay: 0.2s; }
.menu__content__casinos:nth-child(3) { animation-delay: 0.3s; }
.menu__content__casinos:nth-child(4) { animation-delay: 0.4s; }
.menu__content__casinos:nth-child(5) { animation-delay: 0.5s; }
.menu__content__casinos:nth-child(6) { animation-delay: 0.6s; }
.menu__content__casinos:nth-child(7) { animation-delay: 0.7s; }
.menu__content__casinos:nth-child(8) { animation-delay: 0.8s; }
.menu__content__casinos:nth-child(9) { animation-delay: 0.9s; }
.menu__content__casinos:nth-child(10) { animation-delay: 1.0s; }

/*========== ACCESSIBILITY IMPROVEMENTS ==========*/
.slot-game-btn:focus {
  outline: 2px solid #06BEDE;
  outline-offset: 2px;
}

.menu__content__casinos:focus-within {
  border-color: rgba(6, 190, 222, 0.52);
  box-shadow: 0 0 0 3px rgba(6, 190, 222, 0.17);
}

@media (prefers-reduced-motion: reduce) {
  .menu__content__casinos,
  .menu__img__casinos,
  .slot-game-btn {
    animation: none !important;
    transition: none !important;
  }

  .menu__content__casinos:hover {
    transform: none !important;
  }

  .number-btn,
  .number-btn.selected,
  .done-message,
  .review-screen.open,
  .checkout-screen.open {
    animation: none !important;
    transition: none !important;
  }
}

/* ========== IMPROVED TICKETS STYLES ========== */
.tickets-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.tickets-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
}

/* Estilos para el nuevo formato de lista - Responsive */
.tickets-list-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ticket-list-item {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(6, 190, 222, 0.17);
    color: white;
    overflow: hidden;
    min-height: 100px;
    position: relative;
}

.ticket-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(6, 190, 222, 0.08);
    border-color: rgba(6, 190, 222, 0.35);
}

.hide-ticket-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.hide-ticket-btn:hover {
    background: rgba(6, 190, 222, 0.17);
    color: #06BEDE;
    transform: scale(1.1);
}

.hide-ticket-btn i {
    pointer-events: none;
}

.ticket-list-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "left center right";
    gap: 2rem;
    align-items: center;
}

.ticket-list-left {
    grid-area: left;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.ticket-list-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(6, 190, 222, 0.26);
    flex-shrink: 0;
}

.ticket-list-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticket-list-info {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.ticket-list-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #06BEDE;
    margin: 0;
    text-shadow: 0 0 10px rgba(6, 190, 222, 0.26);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticket-list-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.ticket-list-id,
.ticket-list-owner {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticket-list-center {
    grid-area: center;
    display: flex;
    justify-content: center;
    padding: 0 1.5rem;
}

.ticket-list-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    justify-content: center;
}

.numbers-line {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    justify-content: center;
    flex-wrap: nowrap;
}

.ticket-list-right {
    grid-area: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 150px;
}

.ticket-list-cost {
    text-align: right;
}

.ticket-list-cost .cost-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #06BEDE;
    text-shadow: 0 0 15px rgba(6, 190, 222, 0.35);
    white-space: nowrap;
}

.ticket-list-hash {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.ticket-list-hash:hover {
    color: #06BEDE;
    background: rgba(6, 190, 222, 0.08);
}

.ticket-list-btn {
    background: linear-gradient(135deg, #00D4FF 0%, #0099CC 100%);
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
    white-space: nowrap;
}

.ticket-list-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, #0099CC 0%, #00D4FF 100%);
}

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

.tickets-header h2 {
    font-size: 2.5rem;
    color: #06BEDE;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.tickets-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    background: rgba(255,255,255,0.1);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #06BEDE;
    color: #333;
}

/* Refresh Button Styles */
.refresh-tickets-btn {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(76, 175, 80, 0.1)) !important;
    border: 1px solid rgba(76, 175, 80, 0.4) !important;
}

.refresh-tickets-btn:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(76, 175, 80, 0.2)) !important;
    border-color: rgba(76, 175, 80, 0.6) !important;
}

.refresh-tickets-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.refresh-tickets-btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Last Update Indicator */
.tickets-last-update {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.tickets-last-update:empty {
    display: none;
}

/* New Ticket Highlight Animation */
.ticket-list-item.new-ticket {
    animation: highlightNew 2s ease-out;
    border-color: rgba(76, 175, 80, 0.6) !important;
}

@keyframes highlightNew {
    0% {
        background: rgba(76, 175, 80, 0.3);
        box-shadow: 0 0 20px rgba(76, 175, 80, 0.4);
    }
    100% {
        background: transparent;
        box-shadow: none;
    }
}

/* Ticket Card Styles - Crypto Style */
.ticket-card {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.95) 100%);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 1px solid rgba(6, 190, 222, 0.17);
    color: white;
}

.ticket-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(6, 190, 222, 0.08);
    border-color: rgba(6, 190, 222, 0.35);
}

.ticket-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(6, 190, 222, 0.17);
}

.ticket-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.17) 0%, rgba(6, 190, 222, 0.08) 100%);
    flex-shrink: 0;
    border: 2px solid rgba(6, 190, 222, 0.26);
}

.ticket-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticket-info {
    flex: 1;
}

.ticket-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #06BEDE;
    margin: 0 0 0.5rem 0;
    text-shadow: 0 0 10px rgba(6, 190, 222, 0.26);
}

.ticket-id, .ticket-owner {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0.2rem 0;
    font-family: 'Courier New', monospace;
}

.ticket-numbers {
    margin-bottom: 1.5rem;
}

.numbers-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ticket-numbers .main-numbers {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.ticket-numbers .special-numbers {
    display: flex;
    gap: 0.5rem;
}

.number-ball {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.number-ball.main {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    box-shadow: 0 4px 8px rgba(76, 175, 80, 0.3);
}

.number-ball.special {
    background: linear-gradient(135deg, #FF9800 0%, #f57c00 100%);
    box-shadow: 0 4px 8px rgba(255, 152, 0, 0.3);
}

.ticket-crypto-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(6, 190, 222, 0.08);
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid rgba(6, 190, 222, 0.17);
}

.crypto-hash {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.crypto-hash:hover {
    color: #06BEDE;
}

.crypto-hash i {
    font-size: 1rem;
}

.ticket-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
    border-top: 2px solid rgba(6, 190, 222, 0.17);
}

.ticket-cost {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: center;
}

.cost-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.cost-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #06BEDE;
    text-shadow: 0 0 10px rgba(6, 190, 222, 0.26);
}

.ticket-action-btn {
    background: linear-gradient(135deg, #06BEDE 0%, #4AABDF 100%);
    color: #333;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticket-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(6, 190, 222, 0.35);
    background: linear-gradient(135deg, #4AABDF 0%, #06BEDE 100%);
}

.ticket-action-btn.view-ticket {
    background: linear-gradient(135deg, #00D4FF 0%, #0099CC 100%);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    color: white;
}

.ticket-action-btn.view-ticket:hover {
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
    background: linear-gradient(135deg, #0099CC 0%, #00D4FF 100%);
}

.no-tickets {
    text-align: center;
    padding: 3rem;
    color: rgba(255,255,255,0.8);
    grid-column: 1 / -1;
}

.no-tickets i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    grid-column: 1 / -1;
}

.loading-spinner .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid #06BEDE;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive for tickets */

/* Tablet - 768px to 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .tickets-list-container {
        padding: 0 1rem;
    }

    .ticket-list-item {
        padding: 1.5rem;
    }

    .ticket-list-content {
        gap: 1rem;
    }

    .ticket-list-left {
        gap: 1rem;
    }

    .ticket-list-logo {
        width: 55px;
        height: 55px;
    }

    .ticket-list-title {
        font-size: 1rem;
    }

    .ticket-list-id,
    .ticket-list-owner {
        font-size: 0.75rem;
    }

    .ticket-list-center {
        padding: 0 0.5rem;
    }

    .ticket-list-right {
        min-width: 130px;
    }

    .ticket-list-cost .cost-value {
        font-size: 1.1rem;
    }

    .ticket-list-hash {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .ticket-list-btn {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        min-width: 100px;
    }

    .number-ball {
        width: 40px;
        height: 40px;
        font-size: 0.85rem;
    }
}

/* Mobile - up to 768px */
@media (max-width: 768px) {
    .tickets-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .tickets-list-container {
        padding: 0 0.5rem;
        gap: 0.8rem;
    }

    .ticket-list-item {
        padding: 1rem;
    }

    .ticket-list-content {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "left"
            "center"
            "right";
        gap: 1rem;
        text-align: center;
    }

    .ticket-list-left {
        justify-content: center;
        gap: 0.8rem;
    }

    .ticket-list-logo {
        width: 50px;
        height: 50px;
    }

    .ticket-list-title {
        font-size: 1rem;
    }

    .ticket-list-id,
    .ticket-list-owner {
        font-size: 0.75rem;
    }

    .ticket-list-center {
        padding: 0;
        justify-content: center;
    }

    .ticket-list-numbers {
        flex-direction: column;
        gap: 0.8rem;
    }

    .ticket-list-right {
        align-items: center;
        gap: 1rem;
        min-width: auto;
    }

    .ticket-list-cost {
        text-align: center;
    }

    .ticket-list-cost .cost-value {
        font-size: 1.2rem;
    }

    .ticket-list-hash {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    .ticket-list-btn {
        font-size: 0.8rem;
        padding: 0.6rem 1.2rem;
        min-width: 120px;
    }

    .number-ball {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .main-numbers {
        gap: 0.3rem;
    }

    .numbers-line {
        gap: 0.3rem;
    }

    /* Mantener estilos para cards (fallback) */
    .ticket-card {
        padding: 1rem;
    }

    .ticket-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .ticket-logo {
        width: 50px;
        height: 50px;
    }

    .ticket-title {
        font-size: 1.1rem;
    }

    .ticket-crypto-info {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .crypto-hash {
        justify-content: center;
        font-size: 0.8rem;
    }

    .ticket-footer {
        align-items: stretch;
    }

    .ticket-action-btn {
        width: 100%;
        padding: 0.8rem;
    }

    .tickets-filters {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 1rem;
    }

    .filter-btn {
        white-space: nowrap;
        padding: 0.6rem 1rem;
    }
}

/* Small mobile - up to 480px */
@media (max-width: 480px) {
    .tickets-list-container {
        padding: 0 0.25rem;
    }

    .ticket-list-item {
        padding: 0.8rem;
        padding-top: 3rem;
    }

    .hide-ticket-btn {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
        top: 8px;
        right: 8px;
    }

    .ticket-list-logo {
        width: 45px;
        height: 45px;
    }

    .ticket-list-title {
        font-size: 0.9rem;
    }

    .ticket-list-id,
    .ticket-list-owner {
        font-size: 0.7rem;
    }

    .ticket-list-hash {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }

    .ticket-list-btn {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
        min-width: 100px;
    }

    .number-ball {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .ticket-list-cost .cost-value {
        font-size: 1.1rem;
    }
}

/*========== TICKET MANAGER STYLES ==========*/
.ticket-manager-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

.ticket-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(6, 190, 222, 0.17);
}

.filter-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-color);
    font-weight: 500;
}

.filter-checkbox input[type="checkbox"] {
    margin-right: 0.8rem;
    width: 18px;
    height: 18px;
    accent-color: var(--first-color);
}

.refresh-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #06BEDE 0%, #4AABDF 100%);
    color: #333;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
}

.refresh-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 190, 222, 0.35);
}

.tickets-table-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(6, 190, 222, 0.17);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--text-color);
    font-size: 1.2rem;
}

.loading-spinner i {
    font-size: 2rem;
    color: var(--first-color);
    margin-bottom: 1rem;
}

.tickets-table {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
    color: var(--text-color);
}

.tickets-table th,
.tickets-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(6, 190, 222, 0.17);
}

.tickets-table th {
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.17) 0%, rgba(6, 190, 222, 0.08) 100%);
    color: #06BEDE;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.tickets-table tr:hover {
    background: rgba(6, 190, 222, 0.04);
}

.ticket-hash {
    font-family: monospace;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

.ticket-link-status.linked {
    color: #4CAF50;
    font-weight: 600;
}

.ticket-link-status.unlinked {
    color: #FF9800;
    font-weight: 600;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.upload-btn {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.linked-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4CAF50;
    font-weight: 600;
}

.no-tickets-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    text-align: center;
}

.no-tickets-message i {
    font-size: 2.5rem;
    color: var(--first-color);
    margin-bottom: 1rem;
}

.upload-info {
    background: rgba(6, 190, 222, 0.08);
    border: 1px solid rgba(6, 190, 222, 0.26);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.upload-info p {
    margin: 0.5rem 0;
    color: var(--text-color);
}

.upload-info span {
    color: #06BEDE;
    font-weight: 600;
    word-break: break-all;
}

.file-preview {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    color: #4caf50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.file-preview i {
    font-size: 1.2rem;
    color: #4caf50;
}

.file-input-group input[type="file"] {
    color: var(--text-color) !important;
    background: transparent;
    border: none;
    outline: none;
    font-size: 0.9rem;
    font-family: var(--body-font);
    flex: 1;
}

.file-input-group input[type="file"]::-webkit-file-upload-button {
    background: linear-gradient(135deg, #06BEDE, #4AABDF);
    color: #2a1a3e;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.file-input-group input[type="file"]::-webkit-file-upload-button:hover {
    background: linear-gradient(135deg, #4AABDF, #06BEDE);
}

.form-help {
    display: block;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Mobile Card Layout for Ticket Manager */
.tickets-mobile-view {
    display: none;
}

.ticket-card-mobile {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 190, 222, 0.17);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.ticket-card-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(6, 190, 222, 0.35);
}

.ticket-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    gap: 1rem;
}

.ticket-card-title {
    color: #06BEDE;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ticket-status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ticket-status-badge.linked {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid rgba(76, 175, 80, 0.4);
}

.ticket-status-badge.unlinked {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
    border: 1px solid rgba(255, 152, 0, 0.4);
}

.ticket-card-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.ticket-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(6, 190, 222, 0.08);
}

.ticket-info-row:last-child {
    border-bottom: none;
}

.ticket-info-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 80px;
}

.ticket-info-value {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: right;
    flex: 1;
    margin-left: 1rem;
}

.ticket-info-value.hash {
    font-family: monospace;
    font-size: 0.75rem;
    word-break: break-all;
    text-align: right;
    color: rgba(255, 255, 255, 0.8);
}

.ticket-info-value.numbers {
    color: #06BEDE;
    font-weight: 700;
}

.ticket-info-value.price {
    color: #4CAF50;
    font-weight: 700;
}

.ticket-card-actions {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.linked-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4CAF50;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(76, 175, 80, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.linked-indicator i {
    font-size: 1.1rem;
}

/*===== PROMO REDESIGNED =====*/
.promo {
    padding: 6rem 0;
    padding-top: calc(var(--header-height) + 6rem);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    position: relative;
    overflow: hidden;
    margin-top: 3.5rem;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.promo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../imagenes/BG.png') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.promo-container {
    position: relative;
    z-index: 2;
}

/* Hero Section */
.promo-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
    min-height: 60vh;
    position: relative;
}

.promo-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: url('../assets/imagenes/imgcasino/web-optimized/background-casino.jpg') center right/cover;
    opacity: 0.12;
    z-index: -1;
    border-radius: 0 25px 25px 0;
    mask: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.2) 15%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.9) 70%, rgba(0,0,0,1) 100%);
    -webkit-mask: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.2) 15%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0.9) 70%, rgba(0,0,0,1) 100%);
    filter: blur(0.5px);
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #06BEDE, #4AABDF);
    color: #1a1a2e;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
    width: fit-content;
    animation: float 3s ease-in-out infinite;
}

.promo-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff, #06BEDE);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.promo-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 90%;
}

.promo-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(6, 190, 222, 0.17);
    min-width: 120px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 190, 222, 0.35);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #06BEDE;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating Cards */
.promo-hero-visual {
    position: relative;
    /* height: 500px; */
}

.floating-cards {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    width: 280px;
    height: 200px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(6, 190, 222, 0.26);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

.floating-card.card-1 {
    top: 20%;
    left: 10%;
    animation: floatY 6s ease-in-out infinite;
}

.floating-card.card-2 {
    top: 50%;
    right: 10%;
    animation: floatY 6s ease-in-out infinite 3s;
}

.floating-card:hover {
    transform: scale(1.05) rotate(2deg);
    border-color: rgba(6, 190, 222, 0.52);
}

.floating-card img,
.floating-card picture {
    width: 100%;
    height: 70%;
}

.floating-card img {
    object-fit: cover;
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.floating-card:hover img {
    filter: brightness(1);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    color: #ffffff;
}

.card-overlay h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: #06BEDE;
}

.card-overlay p {
    font-size: 0.8rem;
    margin: 0;
    opacity: 0.9;
}

/* Casino Spaces */
.casino-spaces {
    margin-bottom: 6rem;
}

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

.section-header h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.spaces-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.space-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border: 1px solid rgba(6, 190, 222, 0.17);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
}

.space-card:hover {
    transform: translateY(-10px);
    border-color: rgba(6, 190, 222, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.space-card.featured {
    border: 2px solid #06BEDE;
    background: linear-gradient(135deg, rgba(242, 219, 86, 0.1), rgba(242, 219, 86, 0.05));
}

.space-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.space-image picture,
.space-image img {
    width: 100%;
    height: 100%;
}

.space-image img {
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.space-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vr-badge {
    background: linear-gradient(135deg, #06BEDE, #4AABDF);
    color: #0A0E1A;
}

.live-badge {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
}

.hot-badge {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
}

.space-content {
    padding: 2rem;
}

.space-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.space-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.space-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.feature-tag {
    background: rgba(6, 190, 222, 0.17);
    color: #06BEDE;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(6, 190, 222, 0.26);
}

.space-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--body-font);
    width: 100%;
    justify-content: center;
}

.space-btn.primary {
    background: linear-gradient(135deg, #06BEDE, #4AABDF);
    color: #1a1a2e;
}

.space-btn.primary:hover {
    background: linear-gradient(135deg, #4AABDF, #06BEDE);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(242, 219, 86, 0.3);
}

.space-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.space-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Technology Showcase */
.tech-showcase {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 4rem 3rem;
    margin-bottom: 6rem;
    border: 1px solid rgba(6, 190, 222, 0.17);
}

.tech-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 1rem;
}

.tech-content p {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tech-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(6, 190, 222, 0.08);
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: rgba(6, 190, 222, 0.26);
    background: rgba(255, 255, 255, 0.08);
}

.tech-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #06BEDE, #4AABDF);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tech-icon i {
    font-size: 1.5rem;
    color: #1a1a2e;
}

.tech-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.tech-info p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
    text-align: left;
}

/* Space Explorer Modal Styles - Enhanced UX */
.space-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(16, 20, 40, 0.9));
    z-index: 10000;
    backdrop-filter: blur(20px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

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

.space-modal-content {
    background: linear-gradient(145deg, rgba(10, 15, 30, 0.98), rgba(20, 25, 50, 0.95));
    border: 1px solid rgba(6, 190, 222, 0.17);
    border-radius: 30px;
    max-width: 700px;
    width: 90%;
    position: relative;
    box-shadow: 
        0 25px 80px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(6, 190, 222, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(0.7) translateY(50px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
    max-height: 85vh;
    overflow-y: auto;
}

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

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10001;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: scale(1.1) rotate(90deg);
    border-color: rgba(6, 190, 222, 0.26);
}

.modal-image-section {
    position: relative;
    height: 350px;
    overflow: hidden;
    border-radius: 30px 30px 0 0;
    flex-shrink: 0;
}

.modal-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.9) contrast(1.1) saturate(1.2);
    transition: all 0.3s ease;
}

.modal-image-section:hover img {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.2) saturate(1.3);
}

.modal-space-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 25px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.modal-space-badge.vr-badge {
    color: #00ff88;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.1));
    border: 1px solid rgba(0, 255, 136, 0.4);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.modal-space-badge.live-badge {
    color: #ff4757;
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.2), rgba(255, 71, 87, 0.1));
    border: 1px solid rgba(255, 71, 87, 0.4);
    box-shadow: 0 0 20px rgba(255, 71, 87, 0.3);
}

.modal-space-badge.hot-badge {
    color: #ffa502;
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.15), rgba(6, 190, 222, 0.08));
    border: 1px solid rgba(6, 190, 222, 0.30);
    box-shadow: 0 0 20px rgba(6, 190, 222, 0.25);
}

.modal-info-section {
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    color: white;
    min-height: auto;
}

.modal-title {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-align: center;
}

.modal-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.system-requirements {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(6, 190, 222, 0.12);
    border-radius: 20px;
    padding: 1.25rem;
    backdrop-filter: blur(10px);
    margin-bottom: 0.5rem;
}

.system-requirements h4 {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Manrope', sans-serif;
}

.system-requirements h4 i {
    color: var(--first-color);
}

.requirements-grid {
    display: grid;
    gap: 0.75rem;
}

.requirement-item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0.75rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.requirement-item:last-child {
    border-bottom: none;
}

.req-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.req-value {
    color: #ffffff;
    font-weight: 500;
    font-size: 0.85rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
}

.launcher-download-btn,
.streaming-play-btn {
    padding: 0.9rem 1.25rem;
    border: none;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: none;
    position: relative;
    overflow: hidden;
}

.launcher-download-btn {
    background: linear-gradient(135deg, var(--first-color), #e6ac00);
    color: #1a1a2e;
    box-shadow: 0 8px 25px rgba(6, 190, 222, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.launcher-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.launcher-download-btn:hover::before {
    left: 100%;
}

.launcher-download-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(6, 190, 222, 0.42);
}

.streaming-play-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    color: var(--first-color);
    border: 2px solid rgba(6, 190, 222, 0.35);
    backdrop-filter: blur(10px);
}

.streaming-play-btn:hover {
    background: linear-gradient(135deg, var(--first-color), #e6ac00);
    color: #1a1a2e;
    transform: translateY(-3px) scale(1.02);
    border-color: var(--first-color);
    box-shadow: 0 8px 25px rgba(6, 190, 222, 0.35);
}

.launcher-download-btn:disabled,
.streaming-play-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Desktop optimizations for Space Modal */
@media screen and (min-width: 769px) {
    .space-modal-content {
        max-width: 750px;
        width: 85%;
    }
    
    .modal-image-section {
        height: 380px;
    }
    
    .modal-info-section {
        padding: 2.5rem 2rem 2rem 2rem;
    }
    
    .modal-title {
        font-size: 2rem;
    }
    
    .modal-description {
        font-size: 1.1rem;
        line-height: 1.6;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .requirement-item {
        padding: 1rem;
    }
}

/* Mobile Responsiveness for Space Modal */
@media screen and (max-width: 768px) {
    .space-modal {
        padding: 1rem 0.5rem;
        align-items: center;
        justify-content: center;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .space-modal-content {
        max-width: 95%;
        margin: 0 auto;
        border-radius: 25px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-image-section {
        height: 200px;
        border-radius: 25px 25px 0 0;
        flex-shrink: 0;
    }

    .modal-info-section {
        padding: 1rem 1.25rem 1.25rem 1.25rem;
        min-height: auto;
        gap: 1rem;
    }

    .modal-title {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .modal-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .system-requirements {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }

    .system-requirements h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .requirements-grid {
        gap: 0.6rem;
    }

    .requirement-item {
        gap: 0.5rem;
        padding: 0.3rem 0;
    }

    .req-label, .req-value {
        font-size: 0.8rem;
    }

    .modal-actions {
        gap: 0.6rem;
        padding-top: 0.75rem;
    }

    .launcher-download-btn,
    .streaming-play-btn {
        padding: 0.8rem 1rem;
        font-size: 0.95rem;
    }
}

/* Extra small mobile devices - Space Modal */
@media screen and (max-width: 480px) {
    .space-modal {
        padding: 0.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .space-modal-content {
        max-width: 98%;
        max-height: 95vh;
    }

    .modal-image-section {
        height: 180px;
    }

    .modal-info-section {
        padding: 0.75rem 1rem 1rem 1rem;
        gap: 0.75rem;
    }

    .modal-title {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }

    .modal-description {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .system-requirements h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .requirements-grid {
        gap: 0.5rem;
    }

    .requirement-item {
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .req-label {
        font-size: 0.75rem;
        font-weight: 600;
    }

    .req-value {
        font-size: 0.75rem;
    }

    .modal-actions {
        gap: 0.5rem;
        padding-top: 0.5rem;
    }

    .launcher-download-btn,
    .streaming-play-btn {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
    }
}

    .requirement-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .req-label {
        font-size: 0.9rem;
    }

    .req-value {
        font-size: 0.9rem;
        padding-left: 1rem;
    }

    .modal-actions {
        gap: 0.8rem;
    }

    .launcher-download-btn,
    .streaming-play-btn {
        padding: 0.9rem 1.2rem;
        font-size: 1rem;
    }


/* FAQ Hero Section */
.faq-hero {
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.07), rgba(74, 171, 223, 0.05));
    border-bottom: 1px solid rgba(6, 190, 222, 0.10);
}

.faq-hero-content {
    max-width: 600px;
    margin: 0 auto;
}

.faq-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.faq-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.faq-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.12), rgba(6, 190, 222, 0.07));
    border: 2px solid rgba(6, 190, 222, 0.42);
    border-radius: 8px;
    color: #06BEDE;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.faq-hero-link:hover {
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.22), rgba(6, 190, 222, 0.12));
    border-color: rgba(6, 190, 222, 0.70);
    box-shadow: 0 8px 25px rgba(6, 190, 222, 0.26);
    transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
    .faq-hero {
        padding: 4rem 1.5rem;
    }

    .faq-hero-title {
        font-size: 2rem;
    }

    .faq-hero-subtitle {
        font-size: 1rem;
    }
}

/* News Hero Section */
.news-hero {
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.10), rgba(74, 171, 223, 0.07));
    border-bottom: 1px solid rgba(6, 190, 222, 0.15);
}

.news-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #06BEDE;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(6, 190, 222, 0.26);
}

.news-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.back-to-home {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.6rem;
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.12), rgba(6, 190, 222, 0.07));
    border: 2px solid rgba(6, 190, 222, 0.42);
    border-radius: 8px;
    color: #06BEDE;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-to-home:hover {
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.22), rgba(6, 190, 222, 0.12));
    border-color: rgba(6, 190, 222, 0.70);
    box-shadow: 0 8px 25px rgba(6, 190, 222, 0.26);
    transform: translateY(-2px);
}

/* News Articles Grid */
.news-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.news-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(6, 190, 222, 0.26);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-height: 200px;
}

.news-card:hover {
    border-color: rgba(6, 190, 222, 0.42);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.news-card-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(6, 190, 222, 0.60);
    font-size: 0.85rem;
}

.news-card-date i {
    font-size: 1rem;
}

.news-card-title {
    color: #06BEDE;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.news-card-excerpt {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.news-card-author {
    color: rgba(6, 190, 222, 0.70);
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: auto;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(6, 190, 222, 0.08);
}


@media screen and (max-width: 768px) {
    .news-hero {
        padding: 4rem 1.5rem;
    }

    .news-hero h1 {
        font-size: 1.8rem;
    }

    .news-hero p {
        font-size: 1rem;
    }

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

    .news-card {
        padding: 1.2rem;
    }

    .news-card-title {
        font-size: 1.1rem;
    }
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
}

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

.faq-header h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.faq-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 190, 222, 0.17);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(6, 190, 222, 0.35);
}

.faq-item[open] {
    border-color: #06BEDE;
    background: linear-gradient(135deg, rgba(242, 219, 86, 0.1), rgba(242, 219, 86, 0.05));
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    color: #ffffff;
    list-style: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-item[open] .faq-question {
    background: rgba(242, 219, 86, 0.1);
    border-bottom: 1px solid rgba(6, 190, 222, 0.17);
}

.faq-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.faq-text {
    flex: 1;
    font-size: 1rem;
}

.faq-arrow {
    font-size: 1.2rem;
    color: #06BEDE;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.faq-answer p {
    margin: 0;
}

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

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

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .promo-hero {
        gap: 3rem;
    }

    .promo-title {
        font-size: 3rem;
    }

    .floating-card {
        width: 250px;
        height: 180px;
    }
}

@media screen and (max-width: 968px) {
    .promo-hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .promo-hero::before {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
        mask: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.2) 20%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.9) 80%, rgba(0,0,0,1) 100%);
        -webkit-mask: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.2) 20%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.9) 80%, rgba(0,0,0,1) 100%);
        border-radius: 0 0 25px 25px;
        opacity: 0.08;
    }

    .promo-title {
        font-size: 2.5rem;
    }

    .promo-subtitle {
        max-width: 100%;
    }

    .floating-cards {
        height: 300px;
    }

    .floating-card {
        width: 200px;
        height: 150px;
    }

    .floating-card.card-1 {
        top: 10%;
        left: 5%;
    }

    .floating-card.card-2 {
        top: 40%;
        right: 5%;
    }

    .tech-showcase {
        padding: 3rem 2rem;
    }

    .spaces-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .promo {
        padding: 4rem 0;
    }

    .promo-hero {
        margin-bottom: 4rem;
    }

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

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

    .promo-stats {
        justify-content: center;
    }

    .stat-item {
        min-width: 100px;
        padding: 0.8rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .section-header h3 {
        font-size: 2rem;
    }

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

    .space-image {
        height: 180px;
    }

    .space-content {
        padding: 1.5rem;
    }

    .tech-showcase {
        padding: 2rem 1.5rem;
        margin-bottom: 4rem;
    }

    .tech-content h3 {
        font-size: 1.8rem;
    }

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

    .tech-item {
        padding: 1rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .faq-answer {
        padding: 0 1rem 1rem 1rem;
        font-size: 0.9rem;
    }

    .floating-cards {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .promo-title {
        font-size: 1.8rem;
    }

    .promo-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .stat-item {
        width: 100%;
        max-width: 200px;
    }
}

/* Responsive Design for Ticket Manager */
@media screen and (max-width: 1029px) {
    .ticket-filters {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .tickets-table-container {
        padding: 1rem;
    }

    /* Hide table and show mobile cards */
    .tickets-table {
        display: none !important;
    }

    .tickets-mobile-view {
        display: block;
    }

    .upload-info {
        padding: 0.8rem;
    }

    .upload-info span {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 480px) {
    .ticket-manager-header {
        padding: 1rem 0;
        margin-bottom: 2rem;
    }

    .tickets-table th,
    .tickets-table td {
        padding: 0.6rem 0.4rem;
        font-size: 0.8rem;
    }

    .tickets-table {
        min-width: 900px;
    }

    .loading-spinner {
        padding: 2rem;
        font-size: 1rem;
    }

    .no-tickets-message {
        padding: 2rem;
        font-size: 1rem;
    }
}

/*========== CONTENT VISIBILITY CONTROL ==========*/
.auth-hidden {
    display: none !important;
}

.auth-visible {
    display: block !important;
}

/* Smooth transitions for content visibility */
section {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

section.auth-fade-out {
    opacity: 0;
    visibility: hidden;
}

section.auth-fade-in {
    opacity: 1;
    visibility: visible;
}

/*===== AUTHENTICATION MODALS =====*/
.auth-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.auth-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal-content {
    background: linear-gradient(135deg, #2a1a3e, #1d1d3a);
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 450px;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 3px solid #06BEDE;
    animation: slideUp 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1000000;
    display: flex;
    flex-direction: column;
}

.auth-modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    pointer-events: none;
}

.auth-modal-header {
    background: linear-gradient(135deg, #06BEDE, #4AABDF);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.auth-modal-header h2,
.auth-modal-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-modal-header h2 i,
.auth-modal-header h3 i {
    font-size: 1.6rem;
    color: #06BEDE;
}

.close-auth-modal {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.close-auth-modal:hover {
    color: #06BEDE;
    opacity: 1;
}

.auth-modal-body {
    padding: 2rem;
    position: relative;
    z-index: 2;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.input-group:focus-within {
    border-color: #06BEDE;
    box-shadow: 0 0 0 3px rgba(242, 219, 86, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.input-group i {
    color: #06BEDE;
    font-size: 1.2rem;
    margin-right: 0.75rem;
    min-width: 20px;
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 1rem;
    font-family: var(--body-font);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Password visibility toggle (login modal) — gold to match input icons.
   Scoped via .cl-pw-toggle class (introduced specifically for this control)
   so it does not affect other pages or input groups. */
.cl-pw-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: #06BEDE;
    cursor: pointer;
    padding: 0;
    margin: 0 0 0 0.5rem;
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    flex: 0 0 auto;
}
.cl-pw-toggle:hover { background: rgba(242, 219, 86, 0.10); }
.cl-pw-toggle:focus-visible {
    outline: 2px solid #06BEDE;
    outline-offset: 2px;
}
.input-group .cl-pw-toggle i,
.input-group .cl-pw-toggle svg {
    color: #06BEDE;
    margin: 0;
    min-width: 18px;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

/* Email case-sensitivity hint below the email input (login modal). */
.cl-input-hint {
    display: block;
    margin: 0.4rem 0.25rem 0;
    font-size: 0.8rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.55);
}

/* Autofill override — el navegador inyecta un fondo amarillo/azul pálido
   y un color de texto oscuro que vuelve ilegibles los inputs sobre el
   tema oscuro. Usamos un box-shadow inset SÓLIDO (igualando el bg del
   modal) para sobrescribir el fondo nativo, y forzamos el color del texto
   a blanco. La transición larga es un truco para retrasar la animación
   de autofill mientras el shadow ya está aplicado. */
.input-group input:-webkit-autofill,
.input-group input:-webkit-autofill:hover,
.input-group input:-webkit-autofill:focus,
.input-group input:-webkit-autofill:active,
.auth-modal input:-webkit-autofill,
.auth-modal input:-webkit-autofill:hover,
.auth-modal input:-webkit-autofill:focus,
.auth-modal input:-webkit-autofill:active,
.cl-auth-modal input:-webkit-autofill,
.cl-auth-modal input:-webkit-autofill:hover,
.cl-auth-modal input:-webkit-autofill:focus,
.cl-auth-modal input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #0A0E1A inset !important;
    box-shadow: 0 0 0 1000px #0A0E1A inset !important;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    transition: background-color 9999s ease-in-out 0s !important;
}

.phone-input-group .country-code-select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.85rem;
    padding: 0.35rem 0.4rem;
    margin-right: 0.5rem;
    min-width: 90px;
    max-width: 100px;
    cursor: pointer;
    outline: none;
    appearance: auto;
    flex-shrink: 0;
}

.phone-input-group .country-code-select option {
    background: #1a1a2e;
    color: #ffffff;
}

.phone-input-group .country-code-select:focus {
    border-color: #06BEDE;
    box-shadow: 0 0 0 2px rgba(242, 219, 86, 0.15);
}

.auth-message {
    display: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.auth-message.success {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.auth-message.error {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #06BEDE 0%, #4AABDF 100%);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--body-font);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-btn:hover {
    background: linear-gradient(135deg, #4AABDF 0%, #06BEDE 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 190, 222, 0.30);
}

.auth-btn:active {
    transform: translateY(0);
}

.auth-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.auth-btn i {
    font-size: 1.1rem;
}

.turnstile-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 15px 0;
    min-height: 65px;
}

.turnstile-container iframe {
    border-radius: 8px;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-footer p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.auth-footer a {
    color: #06BEDE;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Forgot Password Styles */
.forgot-password-description {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.success-icon-container {
    text-align: center;
    margin-bottom: 1.5rem;
}

.success-icon-container i {
    font-size: 4rem;
    color: #4caf50;
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

#forgotPasswordSuccessContainer h3 {
    color: #4caf50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

#forgotPasswordSuccessContainer p {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* User Settings Button */

.user-greeting-header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Button Outline Style for Login Button */
.button-outline {
    background: transparent !important;
    color: #06BEDE !important;
    border: 2px solid #06BEDE !important;
    margin-left: 1rem;
}

.button-outline:hover {
    background: #06BEDE !important;
    color: #2a1a3e !important;
    border-color: #06BEDE !important;
}

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

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

/* Responsive Design */
@media screen and (max-width: 480px) {
    .auth-modal-content {
        width: 95%;
        margin: 1rem;
    }

    .auth-modal-header {
        padding: 1rem 1.5rem;
    }

    .auth-modal-header h2,
    .auth-modal-header h3 {
        font-size: 1.2rem;
    }

    .auth-modal-body {
        padding: 1.5rem;
    }

    .home_contact {
        flex-direction: column;
        gap: 1rem;
    }

    .button-outline {
        margin-left: 0;
    }
}

@media screen and (max-width: 350px) {
    .auth-modal-content {
        width: 98%;
    }

    .auth-modal-body {
        padding: 1rem;
    }
}

/*========== SECURITY WARNING MODAL ==========*/
.security-warning-content {
    max-width: 500px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

.security-warning-header {
    background: linear-gradient(135deg, #8B0000, #5c0000) !important;
    flex-shrink: 0;
}

.security-warning-body {
    overflow-y: auto;
    flex: 1 1 auto;
    min-height: 0;
    padding: 1.5rem;
    padding-bottom: 2rem;
    text-align: center;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(242, 219, 86, 0.5) transparent;
}

.security-warning-body::-webkit-scrollbar {
    width: 6px;
}

.security-warning-body::-webkit-scrollbar-track {
    background: transparent;
}

.security-warning-body::-webkit-scrollbar-thumb {
    background: rgba(242, 219, 86, 0.5);
    border-radius: 3px;
}

.security-warning-header h2 i {
    color: #ff6b6b !important;
}

.security-warning-icon {
    margin-bottom: 1.5rem;
}

.security-warning-icon i {
    font-size: 4rem;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.15);
    padding: 1.5rem;
    border-radius: 50%;
    animation: pulse-warning 2s infinite;
}

@keyframes pulse-warning {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(255, 107, 107, 0);
    }
}

.security-warning-message {
    text-align: left;
    margin-bottom: 1.5rem;
}

.security-warning-message h3 {
    color: #06BEDE;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-align: center;
}

.security-warning-message p {
    color: #e6e6e6;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.security-warning-message strong {
    color: #ff6b6b;
}

.security-warning-tips {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    border-left: 3px solid #06BEDE;
}

.security-warning-tips h4 {
    color: #06BEDE;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.security-warning-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.security-warning-tips li {
    color: #e6e6e6;
    font-size: 0.9rem;
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.security-warning-tips li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.security-warning-confirm {
    margin: 1.5rem 0;
    text-align: left;
}

.security-checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
    gap: 0.75rem;
}

.security-checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 22px;
    height: 22px;
    cursor: pointer;
    z-index: 1;
}

.security-checkmark {
    width: 22px;
    height: 22px;
    min-width: 22px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.security-checkbox-container input[type="checkbox"]:focus + .security-checkmark {
    outline: 2px solid #06BEDE;
    outline-offset: 2px;
}

.security-checkbox-container input[type="checkbox"]:checked + .security-checkmark {
    background: #4CAF50;
    border-color: #4CAF50;
}

.security-checkbox-container input[type="checkbox"]:checked + .security-checkmark::after {
    content: '\2713';
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.security-checkbox-text {
    color: #e6e6e6;
    font-size: 0.9rem;
    line-height: 1.4;
}

.security-continue-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.security-continue-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(135deg, #666, #444) !important;
}

.security-continue-btn:not(:disabled) {
    background: linear-gradient(135deg, #4CAF50, #45a049) !important;
}

.security-continue-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

@media screen and (max-width: 576px) {
    .security-warning-content {
        max-height: 85vh;
        margin: 1rem;
        width: calc(100% - 2rem);
    }

    .security-warning-body {
        padding: 1rem;
        padding-bottom: 1.5rem;
    }

    .security-warning-icon {
        margin-bottom: 1rem;
    }

    .security-warning-icon i {
        font-size: 3rem;
        padding: 1rem;
    }

    .security-warning-message {
        margin-bottom: 1rem;
    }

    .security-warning-message h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .security-warning-message p {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .security-warning-tips {
        padding: 0.75rem 1rem;
        margin-top: 0.75rem;
    }

    .security-warning-tips h4 {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .security-warning-tips li {
        font-size: 0.8rem;
        padding: 0.3rem 0;
    }

    .security-warning-confirm {
        margin: 1rem 0;
    }

    .security-checkbox-text {
        font-size: 0.85rem;
    }

    .security-continue-btn {
        padding: 0.875rem;
        font-size: 1rem;
    }
}

/*========== KENO FLOATING BUTTON ==========*/
.keno-float-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(6, 190, 222, 0.35);
  transition: all 0.3s ease;
  z-index: 1001;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.keno-float-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 12px 35px rgba(6, 190, 222, 0.52);
}

.keno-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.keno-close-icon {
  font-size: 2rem;
  color: #333;
  font-weight: bold;
  transition: all 0.3s ease;
}

.keno-float-button.active {
  background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.keno-float-button.active:hover {
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.6);
}

/*========== CONTACT FLOATING BUTTONS ==========*/
.contact-float-container {
  position: fixed;
  bottom: 20px;
  right: 100px;
  display: flex;
  flex-direction: row;
  gap: 15px;
  z-index: 1003;
}

.contact-float-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-float-button i {
  font-size: 2rem;
  color: white;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.telegram-btn {
  background: linear-gradient(135deg, #0088cc, #005f8c);
}

.telegram-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 10px 30px rgba(0, 136, 204, 0.5);
}

/*========== CONTACT MODALS ==========*/
.contact-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1002;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.contact-modal.show {
  display: flex;
}

.contact-modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 20px;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: slideIn 0.3s ease;
}

.contact-modal-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-modal-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
}

.contact-modal-icon.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-modal-icon.telegram {
  background: linear-gradient(135deg, #0088cc, #005f8c);
}

.contact-modal-title h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.contact-modal-title p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.contact-modal-body {
  margin-bottom: 1.5rem;
}

.contact-modal-body label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.contact-message-input {
  width: 100%;
  min-height: 120px;
  max-height: 250px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: white;
  font-size: 1rem;
  font-family: 'Manrope', sans-serif;
  resize: vertical;
  transition: all 0.3s ease;
}

.contact-message-input:focus {
  outline: none;
  border-color: rgba(6, 190, 222, 0.42);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px rgba(6, 190, 222, 0.17);
}

.contact-message-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.contact-modal-footer {
  display: flex;
  gap: 1rem;
}

.contact-btn {
  flex: 1;
  padding: 0.875rem 1.5rem;
  border-radius: 10px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.contact-send-btn.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
}

.contact-send-btn.whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.contact-send-btn.telegram {
  background: linear-gradient(135deg, #0088cc, #005f8c);
  color: white;
}

.contact-send-btn.telegram:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 136, 204, 0.4);
}

.contact-cancel-btn {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.contact-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.contact-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: rotate(90deg);
}

/*========== KENO MODAL ==========*/
.keno-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.keno-modal.show {
  display: block;
  animation: fadeIn 0.3s ease;
}

.keno-modal-content {
  position: relative;
  width: 100%;
  height: 100%;
  background: #1a1a1a;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(6, 190, 222, 0.26);
}

.keno-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #06BEDE;
  z-index: 10;
}

.keno-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(6, 190, 222, 0.17);
  border-top: 4px solid #06BEDE;
  border-radius: 50%;
  animation: kenoSpin 1s linear infinite;
  margin: 0 auto 1rem;
}

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

.keno-loading p {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0;
  text-shadow: 0 0 10px rgba(6, 190, 222, 0.42);
}

#kenoFrame {
  width: 100%;
  height: 100%;
  border: none;
  background: #000;
}

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

/*========== KENO TABS ==========*/
.keno-tabs {
  display: flex;
  background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
  border-bottom: 2px solid rgba(6, 190, 222, 0.26);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.keno-tab-button {
  flex: 1;
  padding: 1.2rem 2rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 3px solid transparent;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.keno-tab-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(6, 190, 222, 0), rgba(6, 190, 222, 0.08));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.keno-tab-button:hover::before {
  opacity: 1;
}

.keno-tab-button:hover {
  color: #06BEDE;
  background: rgba(6, 190, 222, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(6, 190, 222, 0.17);
}

.keno-tab-button.active {
  color: #06BEDE;
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.12), rgba(6, 190, 222, 0.08));
  border-bottom-color: #06BEDE;
  box-shadow: 0 0 20px rgba(6, 190, 222, 0.26);
  position: relative;
  z-index: 2;
}

.keno-tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #06BEDE, transparent);
  animation: tabGlow 2s ease-in-out infinite alternate;
}

@keyframes tabGlow {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

.keno-tab-content {
  display: none;
  height: calc(100vh - 70px);
  overflow-y: auto;
  background: #1a1a1a;
}

.keno-tab-content.active {
  display: block;
}

/*========== KENO PLAY TAB ==========*/
.keno-game-selection {
  padding: 2rem;
  color: white;
}

.keno-game-selection h3 {
  color: #06BEDE;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.5rem;
}

.keno-games-list {
  display: grid;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.keno-enhanced-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(6, 190, 222, 0.26);
    border-radius: 15px;
    margin: 15px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    overflow: hidden;
}

.keno-enhanced-card:hover {
    transform: translateY(-3px);
    border-color: rgba(6, 190, 222, 0.60);
    box-shadow: 0 12px 35px rgba(6, 190, 222, 0.22);
}

.keno-enhanced-card.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.keno-enhanced-card.disabled:hover {
    transform: none;
    border-color: rgba(6, 190, 222, 0.26);
    box-shadow: none;
}

.keno-enhanced-card.expired {
    opacity: 0.4;
    filter: grayscale(50%);
    pointer-events: none !important;
    cursor: not-allowed !important;
}

.keno-enhanced-card.expired .keno-game-name {
    color: #999;
    text-shadow: none;
}

.keno-enhanced-card.removing {
    pointer-events: none !important;
    cursor: not-allowed !important;
}

.keno-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 10px;
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.08), rgba(6, 190, 222, 0.04));
}

.keno-game-name {
    font-size: 1.4em;
    font-weight: bold;
    color: #06BEDE;
    text-shadow: 0 0 10px rgba(6, 190, 222, 0.26);
}

.keno-game-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-selling {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    box-shadow: 0 0 15px rgba(78, 205, 196, 0.4);
}

.status-finished {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
}

/* Nuevos estilos para countdown y estados de juego */
.keno-game-card.disabled {
    opacity: 0.6;
    cursor: not-allowed !important;
    pointer-events: none;
}

.keno-game-card.disabled .keno-game-name {
    color: #999;
    text-shadow: none;
}

.keno-game-status.preparing {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
    color: white;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
}

.keno-game-status.countdown {
    background: linear-gradient(135deg, #ff9500, #ff6b00);
    color: white;
    box-shadow: 0 0 15px rgba(255, 149, 0, 0.6);
    animation: urgentPulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes urgentPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 149, 0, 0.6);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 20px rgba(255, 149, 0, 0.8);
    }
}

.keno-card-body {
    padding: 15px 20px;
}

.keno-info-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.keno-room-info {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95em;
}

.keno-room-info i {
    margin-right: 8px;
    color: #06BEDE;
    font-size: 1.1em;
}

.keno-countdown-section {
    text-align: right;
    flex-grow: 1;
}

.countdown-timer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.2));
    padding: 10px 15px;
    border-radius: 10px;
    border: 1px solid rgba(6, 190, 222, 0.17);
}

.countdown-label {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.countdown-display {
    font-size: 1.2em;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 10px currentColor;
}

.keno-betting-info {
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.07), rgba(6, 190, 222, 0.03));
    border: 1px solid rgba(6, 190, 222, 0.17);
    border-radius: 10px;
    padding: 15px;
    margin-top: 10px;
}

.bet-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 8px 0;
}

.bet-info-row:first-child {
    margin-top: 0;
}

.bet-info-row:last-child {
    margin-bottom: 0;
}

.bet-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
}

.bet-value {
    color: #06BEDE;
    font-weight: bold;
    font-size: 0.95em;
}

.bet-info-row.jackpot-info {
    border-top: 1px solid rgba(6, 190, 222, 0.17);
    padding-top: 8px;
    margin-top: 12px;
}

.bet-info-row.jackpot-info .bet-value.prize {
    color: #4ecdc4;
    text-shadow: 0 0 8px rgba(78, 205, 196, 0.4);
    font-size: 1.1em;
}

.keno-card-footer {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
    border-top: 1px solid rgba(6, 190, 222, 0.08);
}

.draw-time {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9em;
    gap: 8px;
}

.draw-time i {
    color: #06BEDE;
    font-size: 1.1em;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .keno-info-section {
        flex-direction: column;
        align-items: stretch;
    }

    .keno-countdown-section {
        text-align: left;
        margin-top: 10px;
    }

    .keno-betting-info {
        font-size: 0.9em;
    }
}

/* ========== ESTILOS PARA PROGRESO DE COMPRA ========== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.progress-modal {
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95), rgba(26, 26, 46, 0.95));
    border: 1px solid rgba(6, 190, 222, 0.26);
    border-radius: 20px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    color: white;
    text-align: center;
    animation: slideInScale 0.4s ease-out;
}

@keyframes slideInScale {
    from {
        transform: scale(0.8) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.progress-header {
    margin-bottom: 2rem;
}

.progress-header .progress-icon {
    font-size: 3rem;
    color: #06BEDE;
    margin-bottom: 1rem;
}

.progress-header h3 {
    color: #06BEDE;
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
}

.progress-header p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.95rem;
}

.progress-bar-container {
    margin: 1.5rem 0;
    position: relative;
}

.progress-bar {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    height: 8px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    background: linear-gradient(90deg, #06BEDE, #4ecdc4);
    height: 100%;
    border-radius: 25px;
    transition: width 0.5s ease;
    box-shadow: 0 0 15px rgba(6, 190, 222, 0.35);
}

.progress-percentage {
    color: #06BEDE;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.progress-steps {
    margin: 2rem 0;
    text-align: left;
}

.progress-step {
    display: flex;
    align-items: center;
    margin: 0.75rem 0;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 0.8;
}

.progress-step .step-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(6, 190, 222, 0.17);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 0.9rem;
    color: #06BEDE;
}

.progress-step.active .step-icon {
    background: rgba(6, 190, 222, 0.26);
    border: 1px solid rgba(6, 190, 222, 0.42);
}

.progress-step.completed .step-icon {
    background: #4ecdc4;
    color: white;
}

.progress-step span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.progress-details {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(6, 190, 222, 0.17);
}

.selected-numbers {
    margin-bottom: 1rem;
}

.selected-numbers span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.numbers-display {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    justify-content: center;
}

.number-bubble {
    background: linear-gradient(135deg, #06BEDE, #4AABDF);
    color: #333;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(6, 190, 222, 0.26);
}

.bet-info {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.9rem;
}

.bet-info span {
    color: rgba(255, 255, 255, 0.8);
}

.bet-info strong {
    color: #06BEDE;
}

@media (max-width: 768px) {
    .progress-modal {
        padding: 1.5rem;
        margin: 1rem;
    }

    .numbers-display {
        gap: 0.25rem;
    }

    .number-bubble {
        width: 24px;
        height: 24px;
        font-size: 0.7rem;
    }

    .bet-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* ========== WALLET PAGE STYLES ========== */

/* Wallet Header */
.wallet-header {
    margin-bottom: 2rem;
}

.wallet-title-section {
    text-align: center;
    margin-bottom: 2rem;
}

.wallet-title-section .section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #06BEDE;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.wallet-title-section .section-title i {
    font-size: 2.5rem;
}

.wallet-address-card {
    background: linear-gradient(145deg, rgba(24, 26, 32, 0.95), rgba(32, 34, 42, 0.95));
    border: 1px solid rgba(6, 190, 222, 0.2);
    border-radius: 12px;
    padding: 1.75rem;
    backdrop-filter: blur(20px);
    max-width: 650px;
    margin: 0 auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.wallet-address-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #06BEDE;
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.wallet-address-header i {
    font-size: 1.2rem;
}

.wallet-address-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wallet-address-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(18, 20, 24, 0.6);
    border: 1px solid rgba(6, 190, 222, 0.15);
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    font-family: 'Courier New', monospace;
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.copy-address-btn {
    background: linear-gradient(135deg, #06BEDE, #06BEDE);
    border: none;
    border-radius: 6px;
    padding: 0.5rem 0.7rem;
    color: #1e1e1e;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    font-weight: 500;
}

.copy-address-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(6, 190, 222, 0.35);
}

.wallet-network {
    display: flex;
    justify-content: center;
}

.network-badge {
    background: linear-gradient(135deg, #06BEDE, #06BEDE);
    color: #1e1e1e;
    padding: 0.3rem 0.8rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Balance Cards - Binance Style */
.balance-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.balance-card {
    background: linear-gradient(145deg, rgba(24, 26, 32, 0.95), rgba(32, 34, 42, 0.95));
    border: 1px solid rgba(6, 190, 222, 0.2);
    border-radius: 12px;
    padding: 1.75rem;
    backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Specific Mobile Styles for Wallet Balance Cards */
@media (max-width: 767px) {
    .balance-cards-container .balance-card {
        padding: 1.8rem 1.4rem !important;
        border-radius: 16px !important;
        margin-bottom: 1.2rem !important;
    }

    .balance-cards-container {
        grid-template-columns: 1fr !important;
        gap: 1.6rem !important;
        padding: 0 0.6rem !important;
    }
}

.balance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #06BEDE, #06BEDE, #06BEDE);
}

.balance-card.sps-balance::before {
    background: linear-gradient(90deg, #06BEDE, #06BEDE);
}

.balance-card.bnb-balance::before {
    background: linear-gradient(90deg, #06BEDE, #06BEDE);
}

.balance-card.casino-balance::before {
    background: linear-gradient(90deg, #4ecdc4, #44a08d);
}

.balance-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(6, 190, 222, 0.15);
    border-color: rgba(6, 190, 222, 0.4);
}

.balance-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.balance-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.15), rgba(6, 190, 222, 0.05));
    border: 1px solid rgba(6, 190, 222, 0.2);
    color: #06BEDE;
}

.sps-balance .balance-icon {
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.15), rgba(6, 190, 222, 0.05));
    color: #06BEDE;
}

.bnb-balance .balance-icon {
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.15), rgba(6, 190, 222, 0.05));
    color: #06BEDE;
}

.casino-balance .balance-icon {
    background: linear-gradient(135deg, rgba(78, 205, 196, 0.15), rgba(78, 205, 196, 0.05));
    color: #4ecdc4;
}

.balance-info h3 {
    color: #06BEDE;
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.balance-info p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.85rem;
    font-weight: 400;
}

.balance-amount {
    margin-bottom: 1.75rem;
    min-height: 70px;
    display: flex;
    align-items: center;
}

.balance-value {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    width: 100%;
}

.amount-section {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.balance-value .amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #E2C274;
    line-height: 1.2;
    font-family: 'Manrope', sans-serif;
}

.balance-value .currency-short {
    font-size: 0.9rem;
    color: #06BEDE;
    font-weight: 600;
    opacity: 0.9;
}

.currency-full {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    margin-top: 2px;
}

.loading-balance {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.loading-balance i {
    font-size: 1.2rem;
    color: #06BEDE;
}

/* Balance Skeleton Loading */
.balance-skeleton {
    display: inline-block;
    background: linear-gradient(90deg, 
        rgba(255,255,255,0.08) 25%, 
        rgba(255,255,255,0.15) 50%, 
        rgba(255,255,255,0.08) 75%);
    background-size: 200% 100%;
    animation: balance-skeleton-pulse 1.5s ease-in-out infinite;
    border-radius: 6px;
    height: 1.2em;
    min-width: 100px;
}

.balance-skeleton.small {
    height: 0.9em;
    min-width: 60px;
}

@keyframes balance-skeleton-pulse {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.balance-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #ff6b6b;
}

.balance-error i {
    font-size: 1.2rem;
}

.balance-actions {
    display: flex;
    gap: 0.5rem;
}

/* DESKTOP SPECIFIC STYLES - PREMIUM UX */
@media (min-width: 768px) {
    .balance-cards-container {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)) !important;
        gap: 2rem !important;
        margin-bottom: 3rem !important;
        padding: 0 1rem !important;
    }

    .balance-card {
        background: linear-gradient(145deg, rgba(24, 26, 32, 0.98), rgba(32, 34, 42, 0.95)) !important;
        border: 2px solid rgba(6, 190, 222, 0.3) !important;
        border-radius: 20px !important;
        padding: 2.5rem 2rem !important;
        backdrop-filter: blur(25px) !important;
        box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4) !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        min-height: 280px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    .balance-card:hover {
        transform: translateY(-8px) !important;
        box-shadow: 0 20px 60px rgba(6, 190, 222, 0.2) !important;
        border-color: rgba(6, 190, 222, 0.5) !important;
    }

    .balance-card-header {
        display: flex !important;
        align-items: center !important;
        gap: 1.5rem !important;
        margin-bottom: 2rem !important;
    }

    .balance-icon {
        width: 64px !important;
        height: 64px !important;
        border-radius: 16px !important;
        font-size: 2rem !important;
        background: linear-gradient(135deg, rgba(6, 190, 222, 0.2), rgba(6, 190, 222, 0.1)) !important;
        border: 2px solid rgba(6, 190, 222, 0.3) !important;
    }

    .balance-info h3 {
        font-size: 1.4rem !important;
        font-weight: 700 !important;
        margin-bottom: 0.5rem !important;
        color: #06BEDE !important;
    }

    .balance-info p {
        font-size: 1rem !important;
        color: rgba(255, 255, 255, 0.7) !important;
    }

    .balance-amount {
        background: rgba(6, 190, 222, 0.1) !important;
        border: 2px solid rgba(6, 190, 222, 0.2) !important;
        border-radius: 16px !important;
        padding: 2rem !important;
        text-align: center !important;
        margin-bottom: 2rem !important;
    }

    .balance-value .balance-main {
        font-size: 2.2rem !important;
        font-weight: 800 !important;
        color: #E2C274 !important;
        margin-bottom: 0.5rem !important;
        display: block !important;
    }

    .balance-value .balance-currency {
        font-size: 1.2rem !important;
        color: rgba(6, 190, 222, 0.8) !important;
        font-weight: 600 !important;
    }

    .balance-actions {
        display: flex !important;
        gap: 1rem !important;
        margin-top: auto !important;
    }

    .balance-action-btn {
        flex: 1 !important;
        padding: 1.2rem 1.5rem !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        border-radius: 12px !important;
        min-height: 56px !important;
        background: linear-gradient(135deg, rgba(6, 190, 222, 0.15), rgba(6, 190, 222, 0.08)) !important;
        border: 2px solid rgba(6, 190, 222, 0.3) !important;
        color: #06BEDE !important;
        cursor: pointer !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.8rem !important;
        text-decoration: none !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .balance-action-btn::before {
        content: '' !important;
        position: absolute !important;
        top: 0 !important;
        left: -100% !important;
        width: 100% !important;
        height: 100% !important;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent) !important;
        transition: left 0.5s !important;
    }

    .balance-action-btn:hover::before {
        left: 100% !important;
    }

    .balance-action-btn:hover {
        background: linear-gradient(135deg, rgba(6, 190, 222, 0.25), rgba(6, 190, 222, 0.15)) !important;
        border-color: rgba(6, 190, 222, 0.5) !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 25px rgba(6, 190, 222, 0.25) !important;
    }

    .balance-action-btn i {
        font-size: 1.2rem !important;
    }

    /* Color variations for different button types */
    .deposit-btn {
        background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(76, 175, 80, 0.08)) !important;
        border-color: rgba(76, 175, 80, 0.3) !important;
        color: #4caf50 !important;
    }

    .deposit-btn:hover {
        background: linear-gradient(135deg, rgba(76, 175, 80, 0.25), rgba(76, 175, 80, 0.15)) !important;
        border-color: rgba(76, 175, 80, 0.5) !important;
        box-shadow: 0 8px 25px rgba(76, 175, 80, 0.25) !important;
    }


    .game-btn {
        background: linear-gradient(135deg, rgba(6, 190, 222, 0.15), rgba(6, 190, 222, 0.08)) !important;
        border-color: rgba(6, 190, 222, 0.25) !important;
        color: #06BEDE !important;
    }

    .game-btn:hover {
        background: linear-gradient(135deg, rgba(6, 190, 222, 0.25), rgba(6, 190, 222, 0.15)) !important;
        border-color: rgba(6, 190, 222, 0.5) !important;
        box-shadow: 0 8px 25px rgba(6, 190, 222, 0.25) !important;
    }

}

.balance-action-btn {
    flex: 1;
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.08), rgba(6, 190, 222, 0.04));
    border: 1px solid rgba(6, 190, 222, 0.2);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    color: #06BEDE;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-decoration: none;
    letter-spacing: 0.2px;
}

/* WALLET MOBILE OPTIMIZATION - FINAL */
@media (max-width: 767px) {
    #wallet .balance-cards-container {
        grid-template-columns: 1fr !important;
        gap: 1.8rem !important;
        padding: 0 1rem !important;
    }

    #wallet .balance-card {
        padding: 2rem 1.5rem !important;
        border-radius: 18px !important;
        margin-bottom: 0 !important;
    }

    #wallet .balance-actions {
        flex-direction: column !important;
        gap: 1.4rem !important;
        margin-top: 1.8rem !important;
    }

    #wallet .balance-action-btn {
        width: 100% !important;
        padding: 1.5rem 2rem !important;
        font-size: 1.1rem !important;
        border-radius: 16px !important;
        min-height: 62px !important;
        background: linear-gradient(135deg, rgba(6, 190, 222, 0.25), rgba(6, 190, 222, 0.15)) !important;
        border: 3px solid rgba(6, 190, 222, 0.4) !important;
        font-weight: 700 !important;
        letter-spacing: 0.5px !important;
        gap: 1rem !important;
        box-shadow: 0 4px 15px rgba(6, 190, 222, 0.2) !important;
    }

    #wallet .balance-action-btn:hover {
        background: linear-gradient(135deg, rgba(6, 190, 222, 0.35), rgba(6, 190, 222, 0.25)) !important;
        border-color: rgba(6, 190, 222, 0.6) !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 20px rgba(6, 190, 222, 0.3) !important;
    }

    #wallet .balance-action-btn i {
        font-size: 1.5rem !important;
    }

}

@media (max-width: 480px) {
    #wallet .balance-cards-container {
        padding: 0 0.8rem !important;
        gap: 1.6rem !important;
    }

    #wallet .balance-card {
        padding: 1.8rem 1.3rem !important;
    }

    #wallet .balance-actions {
        gap: 1.2rem !important;
        margin-top: 1.6rem !important;
    }

    #wallet .balance-action-btn {
        padding: 1.3rem 1.8rem !important;
        font-size: 1rem !important;
        min-height: 58px !important;
        border-radius: 15px !important;
        background: linear-gradient(135deg, rgba(6, 190, 222, 0.3), rgba(6, 190, 222, 0.2)) !important;
        border: 3px solid rgba(6, 190, 222, 0.5) !important;
        font-weight: 700 !important;
    }

}

/* Hover handling now in unified .balance-action-btn:hover at end of file */

/* Quick Actions - Binance Style */
.quick-actions-section {
    margin-top: 2.5rem;
}

.quick-actions-title {
    color: #06BEDE;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.quick-action-card {
    background: linear-gradient(145deg, rgba(24, 26, 32, 0.8), rgba(32, 34, 42, 0.8));
    border: 1px solid rgba(6, 190, 222, 0.15);
    border-radius: 10px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.quick-action-card:hover {
    background: linear-gradient(145deg, rgba(24, 26, 32, 0.95), rgba(32, 34, 42, 0.95));
    border-color: rgba(6, 190, 222, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 190, 222, 0.12);
}

.quick-action-card i {
    font-size: 1.8rem;
    color: #06BEDE;
}

.quick-action-card span {
    font-weight: 500;
    text-align: center;
    font-size: 0.85rem;
    letter-spacing: 0.2px;
}

/* Wallet Modals - Premium Metaverse Style */
.wallet-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
    padding: 1rem;
    box-sizing: border-box;
}

.wallet-modal.show {
    display: flex !important;
}

.wallet-modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 1px solid rgba(6, 190, 222, 0.26);
    border-radius: 20px;
    padding: 0;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    backdrop-filter: blur(25px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: slideInScale 0.4s ease-out;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.wallet-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-modal-header h3 {
    color: #06BEDE;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.close-modal-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.close-modal-btn:hover {
    background: rgba(255, 60, 87, 0.2);
    border-color: rgba(255, 60, 87, 0.4);
    color: #ff3c57;
    transform: scale(1.1);
}

.wallet-modal-body {
    padding: 2rem;
    flex: 1;
    overflow-y: auto;
    max-height: calc(90vh - 120px);
}

/* Deposit Modal Styles */
.deposit-instructions {
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.deposit-address-section {
    margin-bottom: 1.5rem;
}

.deposit-address-section label {
    display: block;
    color: #06BEDE;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.deposit-address-input {
    display: flex;
    gap: 0.5rem;
}

.deposit-address-input input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(6, 190, 222, 0.26);
    border-radius: 8px;
    padding: 0.75rem;
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.copy-btn {
    background: linear-gradient(135deg, #06BEDE 0%, #4AABDF 100%);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 190, 222, 0.35);
}

.deposit-qr-section {
    margin-bottom: 1.5rem;
    text-align: center;
}

.qr-placeholder {
    background: rgba(18, 20, 24, 0.4);
    border: 2px dashed rgba(6, 190, 222, 0.3);
    border-radius: 12px;
    padding: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
}

.qr-placeholder i {
    font-size: 2.5rem;
    color: rgba(6, 190, 222, 0.6);
    margin-bottom: 0.75rem;
}

.qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 1rem;
}

#qr-canvas {
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.deposit-warning {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.deposit-warning i {
    color: #ff6b6b;
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

/* Transfer Modal Styles */
.transfer-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #06BEDE;
    font-weight: bold;
}

.form-group input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(6, 190, 222, 0.26);
    border-radius: 8px;
    padding: 0.75rem;
    color: white;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #06BEDE;
    box-shadow: 0 0 0 2px rgba(6, 190, 222, 0.17);
}

.amount-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.amount-input-container input {
    padding-right: 4rem;
}

.currency-label {
    position: absolute;
    right: 1rem;
    color: #06BEDE;
    font-weight: bold;
    pointer-events: none;
}

.available-balance {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.25rem;
}

.transfer-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.cancel-btn {
    flex: 1;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem 2rem;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cancel-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    color: white;
}

.confirm-transfer-btn {
    flex: 1;
    background: linear-gradient(135deg, #06BEDE 0%, #4AABDF 100%);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
}

.confirm-transfer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 190, 222, 0.35);
}

/* Notification System */
.wallet-notification {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95), rgba(26, 26, 46, 0.95));
    border: 1px solid rgba(6, 190, 222, 0.26);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    z-index: 10003;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.wallet-notification.show {
    transform: translateX(0);
}

.wallet-notification.success {
    border-color: rgba(78, 205, 196, 0.5);
}

.wallet-notification.success i {
    color: #4ecdc4;
}

.wallet-notification.error {
    border-color: rgba(255, 107, 107, 0.5);
}

.wallet-notification.error i {
    color: #ff6b6b;
}

.wallet-notification i {
    font-size: 1.2rem;
}

/* Responsive Design */
/* Desktop Modal Optimizations */
@media screen and (min-width: 1024px) {
    .wallet-modal-content {
        max-width: 440px;
        max-height: 75vh;
    }

    .wallet-modal-header {
        padding: 1.2rem 1.8rem;
    }

    .wallet-modal-body {
        padding: 1.2rem 1.8rem 1.8rem 1.8rem;
    }

    .qr-placeholder {
        padding: 1rem;
    }

    .qr-placeholder i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .deposit-instructions {
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }

    .deposit-address-section {
        margin-bottom: 1.2rem;
    }

    .deposit-qr-section {
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 1024px) {
    .balance-cards-container {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .quick-actions-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .wallet-title-section .section-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .wallet-title-section .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .wallet-address-card {
        padding: 1.3rem;
        margin: 0 0.5rem 1.5rem 0.5rem;
        border-radius: 16px;
    }

    .wallet-address-display {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 0.8rem;
        border-radius: 12px;
    }

    .balance-cards-container {
        grid-template-columns: 1fr;
        gap: 1.4rem;
        padding: 0 0.5rem;
        margin-bottom: 2rem;
    }

    .balance-card {
        padding: 1.6rem 1.4rem;
        border-radius: 16px;
        min-height: auto;
    }

    .balance-card-header {
        margin-bottom: 1.4rem;
        gap: 1rem;
    }

    .balance-icon {
        width: 44px;
        height: 44px;
    }

    .balance-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }

    .balance-info p {
        font-size: 0.85rem;
        opacity: 0.8;
        margin-bottom: 0;
    }

    .balance-amount {
        margin-bottom: 1.2rem;
        padding: 0.8rem 1rem;
        background: rgba(6, 190, 222, 0.08);
        border-radius: 10px;
        border: 1px solid rgba(6, 190, 222, 0.15);
    }

    .balance-amount .amount-value {
        font-size: 1.4rem;
        font-weight: 700;
        margin-bottom: 0.2rem;
    }

    .balance-amount .amount-currency {
        font-size: 0.9rem;
        opacity: 0.9;
    }

    .balance-amount {
        margin-bottom: 1.2rem;
        min-height: 55px;
    }

    .balance-value .amount {
        font-size: 1.6rem;
    }

    .balance-value .currency-short {
        font-size: 0.85rem;
    }

    .currency-full {
        font-size: 0.7rem;
    }


    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .quick-action-card {
        padding: 1.2rem;
        border-radius: 16px;
    }

    .quick-action-card i {
        font-size: 1.6rem;
    }

    .quick-action-card span {
        font-size: 0.85rem;
    }

    .wallet-modal {
        padding: 0.5rem;
    }

    .wallet-modal-content {
        width: 95%;
        max-width: 500px;
        max-height: 85vh;
    }

    .wallet-modal-header {
        padding: 1.2rem 1.5rem;
        border-radius: 20px 20px 0 0;
    }

    .wallet-modal-body {
        padding: 1.5rem;
    }

    .deposit-address-input {
        flex-direction: column;
        gap: 0.8rem;
    }

    .deposit-address-input input {
        border-radius: 12px;
        padding: 0.8rem;
        font-size: 0.85rem;
    }

    .copy-btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem;
        border-radius: 12px;
    }

    .transfer-form .form-group {
        margin-bottom: 1.2rem;
    }

    .transfer-form input {
        padding: 0.8rem;
        font-size: 0.9rem;
        border-radius: 12px;
    }

    .transfer-actions {
        flex-direction: row;
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .transfer-actions button {
        flex: 1;
        padding: 0.9rem;
        border-radius: 12px;
        font-size: 0.9rem;
    }

    .wallet-notification {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        transform: translateY(-100%);
    }

    .wallet-notification.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1rem 0.3rem;
    }

    .wallet-header {
        margin-bottom: 1.5rem;
    }

    .wallet-title-section {
        padding: 1rem 0.3rem;
    }

    .wallet-title-section .section-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.25rem;
    }

    .wallet-address-card {
        padding: 1.2rem;
        margin: 0 0.2rem 1.5rem 0.2rem;
        border-radius: 20px;
    }

    .wallet-address-display {
        padding: 1rem;
        border-radius: 16px;
    }

    .wallet-address-text {
        word-break: break-all;
        font-size: 0.85rem;
        line-height: 1.4;
        padding: 0.3rem 0;
    }

    .copy-address-btn {
        padding: 0.7rem 1.2rem;
        border-radius: 12px;
        font-size: 0.9rem;
    }

    .balance-cards-container {
        padding: 0 0.2rem;
        gap: 1rem;
    }

    .balance-card {
        padding: 1.5rem 1.2rem;
        border-radius: 20px;
        min-height: auto;
    }

    .balance-card-header {
        flex-direction: row;
        text-align: left;
        gap: 0.8rem;
        margin-bottom: 1.2rem;
    }

    .balance-icon {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .balance-info {
        flex: 1;
    }

    .balance-info h3 {
        font-size: 0.95rem;
        margin-bottom: 0.2rem;
    }

    .balance-info p {
        font-size: 0.75rem;
    }

    .balance-amount {
        margin-bottom: 1rem;
        min-height: 50px;
    }

    .balance-value .amount {
        font-size: 1.5rem;
    }


    .quick-actions-section {
        margin-top: 2rem;
        padding: 0 0.2rem;
    }

    .quick-actions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .quick-action-card {
        padding: 1.2rem 0.8rem;
        border-radius: 18px;
    }

    .quick-action-card i {
        font-size: 1.6rem;
    }

    .quick-action-card span {
        font-size: 0.8rem;
    }

    .wallet-modal {
        padding: 0;
        align-items: flex-end;
    }

    .wallet-modal-content {
        border-radius: 24px 24px 0 0;
        max-height: 80vh;
    }

    .wallet-modal-header {
        padding: 1rem 1.2rem;
    }

    .wallet-modal-header h3 {
        font-size: 1.1rem;
    }

    .wallet-modal-body {
        padding: 1.2rem;
    }
}

.keno-winning-numbers {
  font-size: 0.8rem;
  color: #06BEDE;
  margin-top: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: rgba(6, 190, 222, 0.08);
  border-radius: 4px;
  border: 1px solid rgba(6, 190, 222, 0.17);
}

.keno-jackpot {
  font-size: 0.9rem;
  color: #06BEDE;
  font-weight: 600;
  margin-top: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: rgba(6, 190, 222, 0.12);
  border-radius: 6px;
  border: 1px solid rgba(6, 190, 222, 0.26);
  text-align: center;
}

/*========== KENO NUMBER SELECTION ==========*/
.keno-number-selection {
  padding: 2rem;
  color: white;
  max-width: 900px;
  margin: 0 auto;
}

.keno-game-info {
  background: rgba(6, 190, 222, 0.08);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(6, 190, 222, 0.26);
}

.keno-number-selection h4 {
  color: #06BEDE;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 1.3rem;
}

.keno-selected-count {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

.keno-selected-count span {
  color: #06BEDE;
  font-weight: bold;
}

.keno-number-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.keno-number-btn {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.keno-number-btn:hover {
  background: rgba(6, 190, 222, 0.17);
  border-color: #06BEDE;
}

.keno-number-btn.selected {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #333;
  border-color: #06BEDE;
  transform: scale(1.05);
}

.keno-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 80px;
}

.keno-back-btn, .keno-buy-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.keno-back-btn {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.keno-back-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.keno-buy-btn {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #333;
  flex: 1;
}

.keno-buy-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 190, 222, 0.35);
}

.keno-buy-btn:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
}

/*========== KENO BET STEPPER CONTROLS ==========*/
.keno-bet-stepper-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border: 2px solid rgba(6, 190, 222, 0.42);
  background: rgba(6, 190, 222, 0.12);
  color: #06BEDE;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.keno-bet-stepper-btn:hover:not(:disabled) {
  background: rgba(6, 190, 222, 0.26);
  border-color: #06BEDE;
  transform: scale(1.05);
}

.keno-bet-stepper-btn:active:not(:disabled) {
  transform: scale(0.95);
  background: rgba(6, 190, 222, 0.35);
}

.keno-bet-stepper-btn:disabled,
.keno-bet-stepper-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.3);
}

.keno-bet-max-btn {
  height: 44px;
  padding: 0 16px;
  border: 2px solid rgba(78, 205, 196, 0.5);
  background: rgba(78, 205, 196, 0.15);
  color: #4ecdc4;
  font-size: 0.85rem;
  font-weight: bold;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.keno-bet-max-btn:hover:not(:disabled) {
  background: rgba(78, 205, 196, 0.3);
  border-color: #4ecdc4;
  transform: scale(1.05);
}

.keno-bet-max-btn:active:not(:disabled) {
  transform: scale(0.95);
  background: rgba(78, 205, 196, 0.4);
}

.keno-bet-max-btn:disabled,
.keno-bet-max-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.3);
}

/*========== KENO PURCHASE SUCCESS ==========*/
.keno-purchase-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 2rem;
  text-align: center;
  color: white;
}

.success-animation {
  margin-bottom: 2rem;
}

.success-animation i {
  font-size: 4rem;
  color: #4caf50;
  animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.keno-purchase-success h3 {
  color: #06BEDE;
  margin-bottom: 1rem;
  font-size: 2rem;
}

.keno-purchase-success p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.keno-success-btn {
  background: linear-gradient(135deg, #06BEDE, #4AABDF);
  color: #333;
  padding: 1rem 2rem;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.keno-success-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 190, 222, 0.35);
}

/*========== RESPONSIVE KENO ==========*/
@media screen and (max-width: 768px) {
  .keno-float-button {
    width: 60px;
    height: 60px;
    bottom: 15px;
    right: 15px;
  }

  .keno-icon {
    width: 32px;
    height: 32px;
  }

  .keno-close-icon {
    font-size: 1.5rem;
  }

  .keno-tab-button {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .keno-game-selection, .keno-number-selection {
    padding: 1rem;
  }

  .keno-number-grid {
    grid-template-columns: repeat(8, 1fr);
    gap: 0.3rem;
  }

  .keno-number-btn {
    font-size: 0.8rem;
  }

  .keno-actions {
    flex-direction: column;
  }

  .keno-back-btn, .keno-buy-btn {
    width: 100%;
  }
}

/* Keno Error Message Styles */
.keno-error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.1), rgba(255, 100, 0, 0.1));
    border-radius: 15px;
    margin: 20px;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.keno-error-message .error-icon {
    font-size: 48px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 0, 0.5));
}

.keno-error-message h3 {
    color: #ff4444;
    margin-bottom: 15px;
    font-size: 24px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.keno-error-message p {
    color: #cccccc;
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.retry-button {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.retry-button:hover {
    background: linear-gradient(135deg, #f7931e, #ff6b35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Keno Stream Info Styles */
.keno-stream-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.08), rgba(255, 140, 0, 0.1));
    border-radius: 20px;
    margin: 20px;
    border: 1px solid rgba(6, 190, 222, 0.26);
    backdrop-filter: blur(10px);
}

.keno-stream-info .stream-icon {
    font-size: 64px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(6, 190, 222, 0.42));
    animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.keno-stream-info h3 {
    color: #06BEDE;
    margin-bottom: 15px;
    font-size: 28px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.keno-stream-info > p {
    color: #e0e0e0;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.5;
    max-width: 400px;
}

.stream-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 35px;
    width: 100%;
    max-width: 350px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(6, 190, 222, 0.17);
    backdrop-filter: blur(5px);
}

.feature-item i {
    font-size: 20px;
    color: #06BEDE;
    min-width: 20px;
}

.feature-item span {
    color: #ffffff;
    font-size: 14px;
}

.keno-stream-btn {
    background: linear-gradient(135deg, #06BEDE, #ffb347);
    color: #2c2c2c;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(6, 190, 222, 0.35);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.keno-stream-btn:hover {
    background: linear-gradient(135deg, #ffb347, #06BEDE);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(6, 190, 222, 0.52);
}

.keno-stream-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(6, 190, 222, 0.35);
}

.keno-stream-btn i {
    font-size: 20px;
}

.stream-note {
    color: #b0b0b0;
    font-size: 12px;
    font-style: italic;
    margin-top: 10px;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
    .keno-stream-info {
        padding: 30px 15px;
        margin: 15px;
    }

    .keno-stream-info .stream-icon {
        font-size: 48px;
    }

    .keno-stream-info h3 {
        font-size: 24px;
    }

    .keno-stream-btn {
        padding: 14px 24px;
        font-size: 16px;
    }

    .stream-features {
        max-width: 300px;
    }

    .feature-item {
        padding: 10px 16px;
    }
}

/*========== KENO TICKETS HISTORY - SPECIFIC STYLES ==========*/

/* =================================
   DESKTOP VERSION (768px+)
   ================================= */

/* Container and Header */
#kenoTicketsTab .keno-tickets-header {
    text-align: center;
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.10), rgba(255, 140, 0, 0.06));
    border-bottom: 2px solid rgba(6, 190, 222, 0.22);
    margin-bottom: 0.5rem;
    border-radius: 15px 15px 0 0;
}

#kenoTicketsTab .keno-tickets-header h3 {
    color: #06BEDE;
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
}

#kenoTicketsTab .keno-tickets-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 0;
    font-weight: 300;
}

/* Loading, Empty and Error States */
#kenoTicketsTab .keno-tickets-loading,
#kenoTicketsTab .keno-tickets-empty,
#kenoTicketsTab .keno-tickets-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 3rem;
    text-align: center;
    color: #ffffff;
    margin: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(15px);
    min-height: 300px;
}

#kenoTicketsTab .keno-tickets-loading {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(139, 195, 74, 0.1));
    border: 2px solid rgba(76, 175, 80, 0.4);
    box-shadow: 0 8px 32px rgba(76, 175, 80, 0.2);
}

#kenoTicketsTab .keno-tickets-empty {
    background: linear-gradient(135deg, rgba(158, 158, 158, 0.15), rgba(189, 189, 189, 0.1));
    border: 2px solid rgba(158, 158, 158, 0.4);
    box-shadow: 0 8px 32px rgba(158, 158, 158, 0.1);
}

#kenoTicketsTab .keno-tickets-error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.15), rgba(229, 57, 53, 0.1));
    border: 2px solid rgba(244, 67, 54, 0.4);
    box-shadow: 0 8px 32px rgba(244, 67, 54, 0.2);
}

#kenoTicketsTab .empty-icon,
#kenoTicketsTab .error-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 15px rgba(6, 190, 222, 0.35));
    animation: pulse 2s infinite ease-in-out;
}

#kenoTicketsTab .keno-tickets-loading .keno-spinner,
#kenoTicketsTab .keno-tickets-empty h4,
#kenoTicketsTab .keno-tickets-error h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

#kenoTicketsTab .keno-tickets-empty p,
#kenoTicketsTab .keno-tickets-error p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    line-height: 1.6;
    font-size: 1rem;
    max-width: 400px;
}

#kenoTicketsTab .keno-retry-btn {
    background: linear-gradient(135deg, #06BEDE, #ffb347);
    color: #2c2c2c;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    box-shadow: 0 6px 20px rgba(6, 190, 222, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#kenoTicketsTab .keno-retry-btn:hover {
    background: linear-gradient(135deg, #ffb347, #06BEDE);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(6, 190, 222, 0.42);
}

/* Tickets List Container */
#kenoTicketsTab .keno-tickets-list {
    padding: 0.5rem 1rem;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(6, 190, 222, 0.42) rgba(255, 255, 255, 0.1);
}

#kenoTicketsTab .keno-tickets-list::-webkit-scrollbar {
    width: 8px;
}

#kenoTicketsTab .keno-tickets-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

#kenoTicketsTab .keno-tickets-list::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #06BEDE, #ffb347);
    border-radius: 10px;
}

/* Ticket Cards */
#kenoTicketsTab .keno-ticket-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border: 2px solid rgba(6, 190, 222, 0.22);
    border-radius: 15px;
    margin-bottom: 1rem;
    padding: 1rem;
    backdrop-filter: blur(15px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#kenoTicketsTab .keno-ticket-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(6, 190, 222, 0.12), transparent);
    transition: left 0.6s ease;
}

#kenoTicketsTab .keno-ticket-card:hover {
    border-color: rgba(6, 190, 222, 0.42);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

#kenoTicketsTab .keno-ticket-card:hover::before {
    left: 100%;
}

#kenoTicketsTab .keno-ticket-card.has-winnings {
    border-color: rgba(6, 190, 222, 0.60);
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.17), rgba(6, 190, 222, 0.08));
    box-shadow: 0 0 30px rgba(6, 190, 222, 0.35);
    animation: winnerGlow 2s infinite ease-in-out;
}

@keyframes winnerGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(6, 190, 222, 0.35); }
    50% { box-shadow: 0 0 40px rgba(6, 190, 222, 0.52); }
}

/* Ticket Header */
#kenoTicketsTab .keno-ticket-card .ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(6, 190, 222, 0.26);
}

#kenoTicketsTab .keno-ticket-card .ticket-title h4 {
    color: #06BEDE;
    margin: 0 0 0.8rem 0;
    font-size: 1.4rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#kenoTicketsTab .keno-ticket-card .ticket-code {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
}

#kenoTicketsTab .keno-ticket-card .ticket-amount .amount {
    color: #4ecdc4;
    font-size: 1.3rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#kenoTicketsTab .keno-ticket-card .winner-badge {
    background: linear-gradient(135deg, #06BEDE, #ffb347);
    color: #2c2c2c;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 1rem;
    box-shadow: 0 4px 15px rgba(6, 190, 222, 0.42);
    animation: winnerPulse 1.5s infinite ease-in-out;
}

/* New Layout Structure - Header Section */
#kenoTicketsTab .keno-ticket-card .ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.2rem 1.5rem 0.8rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#kenoTicketsTab .keno-ticket-card .ticket-title-section h4 {
    margin: 0 0 0.3rem 0;
    color: #06BEDE;
    font-size: 1.4rem;
    font-weight: bold;
}

#kenoTicketsTab .keno-ticket-card .ticket-metadata {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

#kenoTicketsTab .keno-ticket-card .time-separator {
    color: rgba(255, 255, 255, 0.4);
    font-weight: bold;
}

#kenoTicketsTab .keno-ticket-card .ticket-status-section {
    align-self: flex-start;
}

/* Regular Financial Info Section (Non-winners) */
#kenoTicketsTab .keno-ticket-card .ticket-financial-info {
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

#kenoTicketsTab .keno-ticket-card .bet-amount {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#kenoTicketsTab .keno-ticket-card .bet-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

#kenoTicketsTab .keno-ticket-card .bet-amount .amount {
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Winner Financial Section - Special Layout */
#kenoTicketsTab .keno-ticket-card .winner-financial-section {
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.12), rgba(6, 190, 222, 0.08));
    border: 2px solid rgba(6, 190, 222, 0.26);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 0.5rem;
    box-shadow: 0 8px 25px rgba(6, 190, 222, 0.17);
    animation: winnerGlow 3s infinite ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Winner Celebration Compact - New Simplified Layout */
#kenoTicketsTab .keno-ticket-card .winner-celebration-compact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

#kenoTicketsTab .keno-ticket-card .winner-icon-large {
    font-size: 3.5rem;
    animation: bounce 2s infinite ease-in-out;
    filter: drop-shadow(0 4px 8px rgba(6, 190, 222, 0.35));
}

#kenoTicketsTab .keno-ticket-card .winner-congrats {
    font-size: 1.5rem;
    font-weight: bold;
    color: #06BEDE;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

/* Winner Prize Badge - Prominent Badge */
#kenoTicketsTab .keno-ticket-card .winner-prize-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #06BEDE, #ff9500);
    border-radius: 16px;
    padding: 1rem 2rem;
    min-width: 200px;
    box-shadow: 
        0 6px 20px rgba(6, 190, 222, 0.42),
        0 0 30px rgba(6, 190, 222, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: prizeBadgePulse 2s infinite ease-in-out;
}

#kenoTicketsTab .keno-ticket-card .winner-prize-badge .prize-amount {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1a1a2e;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
}

#kenoTicketsTab .keno-ticket-card .winner-prize-badge .prize-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(26, 26, 46, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes prizeBadgePulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 
            0 6px 20px rgba(6, 190, 222, 0.42),
            0 0 30px rgba(6, 190, 222, 0.26),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% { 
        transform: scale(1.03);
        box-shadow: 
            0 8px 25px rgba(6, 190, 222, 0.52),
            0 0 40px rgba(6, 190, 222, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

/* Winner Celebration Section - Legacy (keep for backwards compatibility) */
#kenoTicketsTab .keno-ticket-card .winner-celebration {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(6, 190, 222, 0.26);
}

#kenoTicketsTab .keno-ticket-card .winner-icon {
    font-size: 3rem;
    animation: bounce 2s infinite;
}

#kenoTicketsTab .keno-ticket-card .winner-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

#kenoTicketsTab .keno-ticket-card .winner-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: #06BEDE;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
}

#kenoTicketsTab .keno-ticket-card .winner-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Winner Amounts Section */
#kenoTicketsTab .keno-ticket-card .winner-amounts {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

#kenoTicketsTab .keno-ticket-card .amount-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

#kenoTicketsTab .keno-ticket-card .amount-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

#kenoTicketsTab .keno-ticket-card .amount-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffffff;
}

#kenoTicketsTab .keno-ticket-card .prize-highlight {
    color: #28a745 !important;
    font-size: 1.3rem !important;
    text-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}

#kenoTicketsTab .keno-ticket-card .total-row {
    border-top: 2px solid rgba(6, 190, 222, 0.35);
    padding-top: 1rem !important;
    margin-top: 0.5rem;
}

#kenoTicketsTab .keno-ticket-card .total-highlight {
    color: #06BEDE !important;
    font-size: 1.4rem !important;
    text-shadow: 0 0 15px rgba(6, 190, 222, 0.52);
    animation: totalPulse 2s infinite ease-in-out;
}

/* Ticket Body Improvements */
#kenoTicketsTab .keno-ticket-card .ticket-body {
    padding: 1rem 1.5rem 1.5rem 1.5rem;
}

/* Remove old prize styles that are no longer used */
/* .prize-detail and .prize-value classes removed since we eliminated duplication */

@keyframes winnerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Winner animations */
@keyframes winnerGlow {
    0% { box-shadow: 0 8px 25px rgba(6, 190, 222, 0.17); }
    50% { box-shadow: 0 12px 35px rgba(6, 190, 222, 0.35); }
    100% { box-shadow: 0 8px 25px rgba(6, 190, 222, 0.17); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes totalPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.9; }
    100% { transform: scale(1); opacity: 1; }
}

/* Winning Numbers Section */
#kenoTicketsTab .keno-ticket-card .winning-numbers-section {
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.15), rgba(139, 195, 74, 0.08));
    border-radius: 10px;
    border: 1px solid rgba(76, 175, 80, 0.4);
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.2);
}

#kenoTicketsTab .keno-ticket-card .winning-numbers-section h5 {
    color: #4caf50;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Selected Numbers Section */
#kenoTicketsTab .keno-ticket-card .selected-numbers {
    margin-bottom: 1rem;
}

#kenoTicketsTab .keno-ticket-card .selected-numbers h5 {
    color: #ffffff;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
}

#kenoTicketsTab .keno-ticket-card .numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}

#kenoTicketsTab .keno-ticket-card .number-chip {
    background: linear-gradient(135deg, #06BEDE, #ffb347);
    color: #2c2c2c;
    padding: 0.6rem 0.4rem;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(6, 190, 222, 0.35);
    transition: all 0.3s ease;
}

#kenoTicketsTab .keno-ticket-card .number-chip:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(6, 190, 222, 0.42);
}

#kenoTicketsTab .keno-ticket-card .winning-number-chip {
    background: linear-gradient(135deg, #4caf50, #66bb6a);
    color: white;
    padding: 0.6rem 0.4rem;
    border-radius: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.5);
    transition: all 0.3s ease;
}

#kenoTicketsTab .keno-ticket-card .winning-number-chip:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
}

#kenoTicketsTab .keno-ticket-card .matched-number {
    background: linear-gradient(135deg, #4caf50, #66bb6a) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.5) !important;
    animation: matchPulse 2s infinite ease-in-out;
    position: relative;
}

#kenoTicketsTab .keno-ticket-card .matched-number::after {
    content: '✓';
    position: absolute;
    top: -5px;
    right: -5px;
    background: #4caf50;
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

@keyframes matchPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ========== TICKET DETAILS ACCORDION ========== */
#kenoTicketsTab .ticket-details-accordion {
    margin-top: 1rem;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(6, 190, 222, 0.17);
    backdrop-filter: blur(10px);
}

#kenoTicketsTab .accordion-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.07), rgba(6, 190, 222, 0.02));
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
}

#kenoTicketsTab .accordion-toggle:hover {
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.12), rgba(6, 190, 222, 0.07));
}

#kenoTicketsTab .accordion-toggle:focus {
    outline: 2px solid rgba(6, 190, 222, 0.42);
    outline-offset: -2px;
}

#kenoTicketsTab .accordion-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #06BEDE;
    font-size: 0.95rem;
    font-weight: 600;
}

#kenoTicketsTab .accordion-title i {
    font-size: 1.1rem;
}

#kenoTicketsTab .accordion-chevron {
    color: #06BEDE;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

#kenoTicketsTab .ticket-details-accordion.is-open .accordion-chevron {
    transform: rotate(180deg);
}

#kenoTicketsTab .accordion-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#kenoTicketsTab .accordion-panel.is-open {
    max-height: 500px;
    overflow-y: auto;
}

#kenoTicketsTab .accordion-panel.is-open .accordion-content {
    max-height: none;
    overflow: visible;
}

#kenoTicketsTab .accordion-content {
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(6, 190, 222, 0.12);
}

#kenoTicketsTab .accordion-content .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#kenoTicketsTab .accordion-content .detail-row:last-of-type {
    border-bottom: none;
}

#kenoTicketsTab .accordion-content .detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

#kenoTicketsTab .accordion-content .detail-value {
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

#kenoTicketsTab .accordion-content .transaction-id {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#kenoTicketsTab .accordion-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#kenoTicketsTab .accordion-actions .copy-btn,
#kenoTicketsTab .accordion-actions .bscscan-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 44px;
}

#kenoTicketsTab .accordion-actions .copy-btn {
    background: rgba(78, 205, 196, 0.15);
    border: 1px solid rgba(78, 205, 196, 0.4);
    color: #4ecdc4;
}

#kenoTicketsTab .accordion-actions .copy-btn:hover {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    border-color: #4ecdc4;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

#kenoTicketsTab .accordion-actions .bscscan-btn {
    background: rgba(6, 190, 222, 0.10);
    border: 1px solid rgba(6, 190, 222, 0.35);
    color: #06BEDE;
}

#kenoTicketsTab .accordion-actions .bscscan-btn:hover {
    background: linear-gradient(135deg, #06BEDE, #ffb347);
    border-color: #06BEDE;
    color: #1a1a2e;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 190, 222, 0.35);
}

/* Mobile responsive for accordion */
@media screen and (max-width: 480px) {
    #kenoTicketsTab .accordion-toggle {
        padding: 0.8rem;
    }
    
    #kenoTicketsTab .accordion-title {
        font-size: 0.9rem;
    }
    
    #kenoTicketsTab .accordion-content {
        padding: 0.8rem;
    }
    
    #kenoTicketsTab .accordion-content .transaction-id {
        max-width: 140px;
        font-size: 0.75rem;
    }
    
    #kenoTicketsTab .accordion-actions {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    #kenoTicketsTab .accordion-actions .copy-btn,
    #kenoTicketsTab .accordion-actions .bscscan-btn {
        width: 100%;
    }
}

/* ========== END TICKET DETAILS ACCORDION ========== */

/* Ticket Details (Legacy - keeping for compatibility) */
#kenoTicketsTab .keno-ticket-card .ticket-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#kenoTicketsTab .keno-ticket-card .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

#kenoTicketsTab .keno-ticket-card .detail-row:last-child {
    border-bottom: none;
}

#kenoTicketsTab .keno-ticket-card .detail-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    font-weight: 500;
}

#kenoTicketsTab .keno-ticket-card .detail-value {
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    text-align: right;
}

/* Transaction Actions */
#kenoTicketsTab .keno-ticket-card .transaction-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

#kenoTicketsTab .keno-ticket-card .copy-btn,
#kenoTicketsTab .keno-ticket-card .bscscan-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 0.6rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    font-size: 1.1rem;
}

#kenoTicketsTab .keno-ticket-card .copy-btn:hover {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    border-color: rgba(78, 205, 196, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
}

#kenoTicketsTab .keno-ticket-card .bscscan-btn:hover {
    background: linear-gradient(135deg, #06BEDE, #ffb347);
    border-color: rgba(6, 190, 222, 0.60);
    color: #2c2c2c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 190, 222, 0.35);
}

#kenoTicketsTab .keno-ticket-card .transaction-id {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 6px;
}

/* Copy Feedback Animation */
@keyframes slideInFade {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* =================================
   MOBILE VERSION (up to 767px)
   ================================= */

@media (max-width: 767px) {
    /* Header optimized for mobile */
    #kenoTicketsTab .keno-tickets-header {
        padding: 1rem 0.5rem;
        margin-bottom: 0.5rem;
        border-radius: 10px 10px 0 0;
    }
    
    #kenoTicketsTab .keno-tickets-header h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
    }
    
    #kenoTicketsTab .keno-tickets-header p {
        font-size: 0.85rem;
    }

    /* Mobile-optimized states */
    #kenoTicketsTab .keno-tickets-loading,
    #kenoTicketsTab .keno-tickets-empty,
    #kenoTicketsTab .keno-tickets-error {
        padding: 2rem 1rem;
        margin: 1rem;
        border-radius: 15px;
        min-height: 250px;
    }
    
    #kenoTicketsTab .empty-icon,
    #kenoTicketsTab .error-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    #kenoTicketsTab .keno-tickets-loading .keno-spinner,
    #kenoTicketsTab .keno-tickets-empty h4,
    #kenoTicketsTab .keno-tickets-error h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    #kenoTicketsTab .keno-tickets-empty p,
    #kenoTicketsTab .keno-tickets-error p {
        font-size: 0.9rem;
    }
    
    #kenoTicketsTab .keno-retry-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        margin-top: 1rem;
    }

    /* Mobile tickets list */
    #kenoTicketsTab .keno-tickets-list {
        padding: 0.25rem;
        max-height: calc(100vh - 150px);
    }
    
    /* Mobile-optimized ticket cards */
    #kenoTicketsTab .keno-ticket-card {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
        border-radius: 10px;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    }
    
    #kenoTicketsTab .keno-ticket-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }
    
    /* Mobile ticket header */
    #kenoTicketsTab .keno-ticket-card .ticket-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        margin-bottom: 0.8rem;
        padding-bottom: 0.8rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .ticket-title h4 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .ticket-code {
        font-size: 0.8rem;
        padding: 0.25rem 0.6rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .ticket-amount .amount {
        font-size: 1.1rem;
    }
    
    /* Mobile Responsive Updates for New Layout */
    #kenoTicketsTab .keno-ticket-card .ticket-header {
        flex-direction: column;
        gap: 0.8rem;
        padding: 1rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .ticket-financial-info {
        padding: 1rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .winner-financial-section {
        padding: 1rem;
        margin: 0.25rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .winner-celebration {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .winner-icon {
        font-size: 2.5rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .winner-title {
        font-size: 1.5rem;
    }
    
    /* Mobile: New Simplified Winner Badge */
    #kenoTicketsTab .keno-ticket-card .winner-celebration-compact {
        gap: 0.3rem;
        margin-bottom: 0.8rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .winner-icon-large {
        font-size: 2.5rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .winner-congrats {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    #kenoTicketsTab .keno-ticket-card .winner-prize-badge {
        padding: 0.8rem 1.5rem;
        min-width: 160px;
    }
    
    #kenoTicketsTab .keno-ticket-card .winner-prize-badge .prize-amount {
        font-size: 1.4rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .winner-prize-badge .prize-label {
        font-size: 0.75rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .amount-row {
        padding: 0.4rem 0;
    }
    
    #kenoTicketsTab .keno-ticket-card .amount-label {
        font-size: 0.9rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .amount-value {
        font-size: 1rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .prize-highlight {
        font-size: 1.1rem !important;
    }
    
    #kenoTicketsTab .keno-ticket-card .total-highlight {
        font-size: 1.2rem !important;
    }
    
    #kenoTicketsTab .keno-ticket-card .ticket-metadata {
        flex-wrap: wrap;
        gap: 0.3rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .ticket-body {
        padding: 1rem;
    }

    /* Mobile winning numbers section */
    #kenoTicketsTab .keno-ticket-card .winning-numbers-section {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
        border-radius: 8px;
    }
    
    #kenoTicketsTab .keno-ticket-card .winning-numbers-section h5 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /* Mobile selected numbers */
    #kenoTicketsTab .keno-ticket-card .selected-numbers h5 {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    /* Mobile numbers grid */
    #kenoTicketsTab .keno-ticket-card .numbers-grid {
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .number-chip,
    #kenoTicketsTab .keno-ticket-card .winning-number-chip {
        padding: 0.4rem 0.2rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }
    
    #kenoTicketsTab .keno-ticket-card .number-chip:hover,
    #kenoTicketsTab .keno-ticket-card .winning-number-chip:hover {
        transform: translateY(-2px);
    }
    
    #kenoTicketsTab .keno-ticket-card .matched-number::after {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
        top: -3px;
        right: -3px;
    }

    /* Mobile ticket details */
    #kenoTicketsTab .keno-ticket-card .ticket-details {
        gap: 0.8rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4rem;
        padding: 0.8rem 0;
    }
    
    #kenoTicketsTab .keno-ticket-card .detail-label {
        font-size: 0.9rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .detail-value {
        text-align: left;
        font-size: 0.85rem;
    }
    
    /* Mobile transaction section complete redesign */
    #kenoTicketsTab .keno-ticket-card .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem;
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    #kenoTicketsTab .keno-ticket-card .detail-label {
        font-size: 0.9rem;
        font-weight: 600;
        color: #06BEDE;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 0.3rem;
    }
    
    /* Mobile transaction actions container */
    #kenoTicketsTab .keno-ticket-card .transaction-actions {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
        width: 100%;
        align-items: stretch;
    }
    
    /* Mobile transaction ID - Optimized truncation */
    #kenoTicketsTab .keno-ticket-card .transaction-id {
        font-family: 'Courier New', monospace;
        font-size: 0.7rem;
        padding: 0.6rem;
        width: 100%;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 8px;
        color: rgba(255, 255, 255, 0.9);
        
        /* Improved text truncation */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        word-break: break-all;
        
        /* Prevent horizontal overflow */
        max-width: calc(100vw - 4rem);
        box-sizing: border-box;
    }
    
    /* Mobile buttons row */
    #kenoTicketsTab .keno-ticket-card .mobile-buttons-row {
        display: flex;
        gap: 0.6rem;
        width: 100%;
        justify-content: space-between;
    }
    
    #kenoTicketsTab .keno-ticket-card .copy-btn,
    #kenoTicketsTab .keno-ticket-card .bscscan-btn {
        flex: 1;
        min-width: 0;
        height: 42px;
        padding: 0.6rem;
        font-size: 0.9rem;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        
        /* Prevent button overflow */
        max-width: calc(50% - 0.3rem);
        box-sizing: border-box;
    }
    
    /* Better mobile detail value styling */
    #kenoTicketsTab .keno-ticket-card .detail-value {
        width: 100%;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.4;
    }
}

/* Desktop transaction actions improvements */
@media (min-width: 768px) {
    #kenoTicketsTab .keno-ticket-card .transaction-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .transaction-id {
        flex: 1;
        margin-right: 1rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .mobile-buttons-row {
        display: flex;
        gap: 0.8rem;
        flex-shrink: 0;
    }
    
    #kenoTicketsTab .keno-ticket-card .copy-btn,
    #kenoTicketsTab .keno-ticket-card .bscscan-btn {
        min-width: auto;
        max-width: none;
        flex: none;
        padding: 0.6rem;
    }
    
    #kenoTicketsTab .keno-ticket-card .copy-btn span,
    #kenoTicketsTab .keno-ticket-card .bscscan-btn span {
        display: none; /* Hide text labels on desktop */
    }
}

/* NEW ELEMENTS - Time Played and Game Status */
#kenoTicketsTab .time-played {
    display: block;
    font-size: 0.85rem;
    color: rgba(6, 190, 222, 0.70);
    margin-top: 0.3rem;
    font-weight: 400;
    font-style: italic;
}

#kenoTicketsTab .game-status-container {
    margin-top: 0.5rem;
}

#kenoTicketsTab .game-status {
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid;
}

#kenoTicketsTab .game-status.played {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(139, 195, 74, 0.15));
    color: #4caf50;
    border-color: rgba(76, 175, 80, 0.4);
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

#kenoTicketsTab .game-status.pending {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 235, 59, 0.15));
    color: #ffc107;
    border-color: rgba(255, 193, 7, 0.4);
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3);
}

#kenoTicketsTab .game-status.finished {
    background: linear-gradient(135deg, rgba(96, 125, 139, 0.2), rgba(120, 144, 156, 0.15));
    color: #78909c;
    border-color: rgba(96, 125, 139, 0.4);
    box-shadow: 0 2px 8px rgba(96, 125, 139, 0.3);
}

/* Mobile adjustments for new elements */
@media (max-width: 767px) {
    #kenoTicketsTab .time-played {
        font-size: 0.75rem;
        margin-top: 0.2rem;
    }
    
    #kenoTicketsTab .game-status {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    #kenoTicketsTab .ticket-header {
        align-items: flex-start;
    }
    
    #kenoTicketsTab .game-status-container {
        margin-top: 0.3rem;
        width: 100%;
    }
}

/* KENO STREAMING BUTTON STYLES */
.keno-streaming-prompt {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.95), rgba(26, 26, 26, 0.9));
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(6, 190, 222, 0.17);
}

.streaming-prompt-content {
    max-width: 400px;
    width: 100%;
}

.streaming-icon {
    font-size: 4rem;
    color: #06BEDE;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(6, 190, 222, 0.42));
    animation: pulse 2s infinite ease-in-out;
}

.keno-streaming-prompt h3 {
    color: #06BEDE;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: bold;
    text-shadow: 0 2px 8px rgba(6, 190, 222, 0.26);
}

.keno-streaming-prompt p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.keno-streaming-btn {
    background: linear-gradient(135deg, #06BEDE, #ffb347);
    color: #2c2c2c;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    min-width: 240px;
    box-shadow: 0 8px 25px rgba(6, 190, 222, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.keno-streaming-btn:hover {
    background: linear-gradient(135deg, #ffb347, #06BEDE);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(6, 190, 222, 0.52);
}

.keno-streaming-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(6, 190, 222, 0.35);
}

.keno-streaming-btn i {
    font-size: 1.3rem;
}

/* Pulse animation for streaming icon */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Mobile responsive adjustments */
@media (max-width: 767px) {
    .keno-streaming-prompt {
        padding: 2rem 1rem;
        min-height: 300px;
    }
    
    .streaming-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .keno-streaming-prompt h3 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }
    
    .keno-streaming-prompt p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .keno-streaming-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        min-width: 200px;
    }
}

/* NEW UX IMPROVEMENTS - TICKETS MANAGEMENT */

/* Statistics Cards Grid */
.tickets-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

.stat-card {
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.08), rgba(255, 140, 0, 0.05));
    border: 1px solid rgba(6, 190, 222, 0.17);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(6, 190, 222, 0.26);
    border-color: rgba(6, 190, 222, 0.35);
}

.stat-icon {
    font-size: 1.8rem;
    color: #06BEDE;
    filter: drop-shadow(0 0 8px rgba(6, 190, 222, 0.35));
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Filter Tabs */
.tickets-filter-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-tab {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    padding: 0.6rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    font-weight: 500;
}

.filter-tab:hover {
    background: rgba(6, 190, 222, 0.08);
    border-color: rgba(6, 190, 222, 0.26);
    color: #06BEDE;
}

.filter-tab.active {
    background: linear-gradient(135deg, #06BEDE, #4AABDF);
    border-color: #06BEDE;
    color: #0A0E1A;
    font-weight: bold;
}

/* Summary Info */
.tickets-summary-info {
    background: rgba(6, 190, 222, 0.07);
    border: 1px solid rgba(6, 190, 222, 0.12);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    margin-top: 1rem;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.summary-item i {
    color: #06BEDE;
    font-size: 1.1rem;
}

/* Quick Action Buttons */
.ticket-quick-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
}

.quick-action-btn {
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.12), rgba(255, 140, 0, 0.1));
    border: 1px solid rgba(6, 190, 222, 0.26);
    color: #06BEDE;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    justify-content: center;
    min-width: 150px;
}

.quick-action-btn:hover {
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.22), rgba(255, 140, 0, 0.15));
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
}

.quick-action-btn i {
    font-size: 1rem;
}

/* Ticket Details Modal */
.ticket-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 1rem;
}

.details-modal-content {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 15px;
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid rgba(6, 190, 222, 0.26);
}

.details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.details-header h3 {
    color: #06BEDE;
    margin: 0;
    font-size: 1.3rem;
}

.close-details-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-details-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.details-body {
    padding: 1.5rem;
}

.detail-section {
    margin-bottom: 1.5rem;
}

.detail-section h4 {
    color: #06BEDE;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(6, 190, 222, 0.17);
    padding-bottom: 0.3rem;
}

.detail-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

/* Notification System */
.keno-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border: 1px solid rgba(6, 190, 222, 0.26);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    z-index: 10001;
    animation: slideIn 0.3s ease-out;
    max-width: 300px;
}

.notification-content h4 {
    color: #06BEDE;
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
}

.notification-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Mobile Responsive Adjustments for UX Improvements */
@media (max-width: 767px) {
    .tickets-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .stat-card {
        padding: 0.8rem;
        gap: 0.6rem;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .tickets-filter-tabs {
        margin-bottom: 1rem;
    }
    
    .filter-tab {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .ticket-quick-actions {
        justify-content: center;
        gap: 0.6rem;
    }
    
    .quick-action-btn {
        justify-content: center;
        padding: 0.8rem;
        min-width: auto;
        width: 100%;
        max-width: 200px;
    }
    
    .details-modal-content {
        margin: 1rem;
        max-height: 90vh;
    }
    
    .details-header, .details-body {
        padding: 1rem;
    }
    
    .keno-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(6, 190, 222, 0.17);
}

.ticket-title h4 {
    color: #06BEDE;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    font-weight: bold;
}

.ticket-title .game-code {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-family: monospace;
}

.ticket-amount .amount {
    color: #4ecdc4;
    font-size: 1.1rem;
    font-weight: bold;
}

.selected-numbers {
    margin-bottom: 1.5rem;
}

.selected-numbers h5 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.number-chip {
    background: linear-gradient(135deg, #06BEDE, #ffb347);
    color: #2c2c2c;
    padding: 0.4rem 0.2rem;
    border-radius: 6px;
    text-align: center;
    font-weight: bold;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(6, 190, 222, 0.26);
    transition: all 0.3s ease;
}

.number-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 190, 222, 0.35);
}

.ticket-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.detail-value {
    color: #ffffff;
    font-size: 0.9rem;
    font-family: monospace;
    text-align: right;
}

/* Mobile responsive for tickets */
@media (max-width: 768px) {
    .keno-tickets-header {
        padding: 1.5rem 1rem;
    }
    
    .keno-tickets-header h3 {
        font-size: 1.3rem;
    }
    
    .keno-tickets-list {
        padding: 0.5rem;
    }
    
    .keno-ticket-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .ticket-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .ticket-title h4 {
        font-size: 1.1rem;
    }
    
    .numbers-grid {
        grid-template-columns: repeat(auto-fill, minmax(35px, 1fr));
        gap: 0.4rem;
    }
    
    .number-chip {
        padding: 0.3rem 0.1rem;
        font-size: 0.8rem;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
        padding: 0.7rem 0;
    }
    
    .detail-value {
        text-align: left;
        font-size: 0.85rem;
    }
    
    .keno-tickets-loading, .keno-tickets-empty, .keno-tickets-error {
        padding: 2rem 1rem;
        margin: 1rem;
    }
    
    .empty-icon, .error-icon {
        font-size: 2.5rem;
    }
}

/* ===============================================
   ESTILOS PARA LOTERÍA INTERNACIONAL - TEMA OSCURO
   =============================================== */

/* Estilos generales para elementos de lotería */
.cost-sps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #06BEDE;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(6, 190, 222, 0.17);
    margin-top: 0.5rem;
}

.cost-sps span:last-child {
    font-size: 1.1em;
    color: #06BEDE;
    text-shadow: 0 0 10px rgba(6, 190, 222, 0.26);
}

/* Modal base para loterías - tema oscuro */
.modal {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(135deg, rgba(25, 25, 35, 0.95), rgba(15, 15, 25, 0.98)) !important;
    border: 2px solid rgba(6, 190, 222, 0.26);
    border-radius: 15px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.08), rgba(6, 190, 222, 0.04));
    border-bottom: 1px solid rgba(6, 190, 222, 0.17);
}

.modal-title {
    color: #06BEDE !important;
    text-shadow: 0 0 10px rgba(6, 190, 222, 0.26);
}

.close-button {
    background: none;
    border: none;
    color: #06BEDE !important;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-button:hover {
    color: #fff !important;
    text-shadow: 0 0 15px rgba(6, 190, 222, 0.52);
}

/* Botones de compra con tema oscuro */
.purchase-ticket-btn, .primary-button {
    background: linear-gradient(135deg, #06BEDE, #ffed4e) !important;
    color: #000 !important;
    border: none !important;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(6, 190, 222, 0.26);
    text-decoration: none;
}

.purchase-ticket-btn:hover, .primary-button:hover {
    background: linear-gradient(135deg, #ffed4e, #06BEDE) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(6, 190, 222, 0.35);
}

/* Números seleccionados - tema oscuro */
.number-ball {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: bold;
    margin: 0 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.number-ball.main {
    background: linear-gradient(135deg, #06BEDE, #ffed4e);
    color: #000;
    border: 2px solid rgba(6, 190, 222, 0.42);
}

.number-ball.special {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: #fff;
    border: 2px solid rgba(255, 107, 107, 0.5);
}

/* Grid de números - tema oscuro */
.number-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
    gap: 8px;
    margin: 1rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(6, 190, 222, 0.17);
}

.number-btn {
    width: 45px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05)) !important;
    color: #fff !important;
    border-radius: 50%;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.number-btn:hover {
    border-color: rgba(6, 190, 222, 0.52) !important;
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.17), rgba(6, 190, 222, 0.08)) !important;
    transform: scale(1.1);
}

.number-btn:active {
    transform: scale(0.9);
}

.number-btn.selected {
    background: linear-gradient(135deg, #06BEDE, #ffed4e) !important;
    color: #000 !important;
    border-color: #06BEDE !important;
    box-shadow: 0 0 20px rgba(6, 190, 222, 0.42);
    animation: numberSelectBounce 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes numberSelectBounce {
    0% { transform: scale(0.8); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.special-number.selected {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e) !important;
    color: #fff !important;
    border-color: #ff6b6b !important;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5);
}

/* Información del ticket - tema oscuro */
.purchase-info, .ticket-details {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid rgba(6, 190, 222, 0.17);
    margin: 1rem 0;
}

.info-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.info-line:last-child {
    border-bottom: none;
}

.info-line span:first-child {
    color: rgba(255, 255, 255, 0.8);
}

.info-line span:last-child {
    color: #06BEDE;
    font-weight: 600;
}

/* Estilos específicos para elementos de confirmación */
.purchase-confirmation {
    text-align: center;
    color: #fff;
}

.success-icon {
    font-size: 3rem;
    margin: 1rem 0;
}

.purchase-confirmation h3 {
    color: #06BEDE !important;
    margin: 1rem 0;
    text-shadow: 0 0 10px rgba(6, 190, 222, 0.26);
}

.purchase-confirmation p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 2rem;
}

/* Botones de acción de lotería */
.lottery-action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.quick-pick-btn {
    background: linear-gradient(135deg, rgba(76, 205, 196, 0.9), rgba(76, 205, 196, 0.7)) !important;
    color: #fff !important;
    border: 2px solid rgba(76, 205, 196, 0.5) !important;
    padding: 15px 25px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
    min-width: 140px;
}

.quick-pick-btn:hover {
    background: linear-gradient(135deg, rgba(76, 205, 196, 1), rgba(76, 205, 196, 0.8)) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 205, 196, 0.4);
}

.lottery-action-buttons .purchase-ticket-btn {
    flex: 1;
    min-width: 140px;
}

/* Estilos para jackpot en SPS */
.jackpot-usd {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.5rem;
    font-weight: normal;
}

/* Checkout button específico para móvil */
@media (max-width: 768px) {
    .lottery-action-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .purchase-ticket-btn, .primary-button, .quick-pick-btn {
        width: 100%;
        padding: 18px 30px;
        font-size: 1.2rem;
        margin: 0;
        min-width: auto;
    }

    .number-grid {
        grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
        gap: 6px;
        padding: 0.8rem;
    }

    .number-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .number-ball {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* ===== CORRECIÓN THEME OSCURO LOTTERY ===== */
.review-screen, .checkout-screen {
  background: rgba(0, 0, 0, 0.95) !important;
}

.review-screen .modal-header,
.review-screen .modal-header *,
.review-screen .modal-title,
.review-screen .selected-line,
.review-screen .line-label,
.review-screen .line-numbers,
.review-screen .review-summary,
.review-screen .review-summary *,
.review-screen .review-total,
.review-screen h3, .review-screen h4, .review-screen p,
.review-screen span:not(.number-display):not(.special-number-ball):not(.payment-text),
.checkout-screen .modal-header,
.checkout-screen .modal-header *,
.checkout-screen .modal-title,
.checkout-screen h3, .checkout-screen h4, .checkout-screen p,
.checkout-screen span:not(.number-display):not(.special-number-ball):not(.payment-text),
.checkout-screen .payment-method-label,
.checkout-screen .payment-summary,
.checkout-screen .payment-summary * {
  color: white !important;
}

.review-screen .number-display,
.checkout-screen .number-display {
  color: #1a1a2e !important;
}

.review-screen .special-number-ball,
.checkout-screen .special-number-ball {
  color: #fff !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.review-screen .payment-btn:not(.is-error):not(.is-success),
.review-screen .payment-btn:not(.is-error):not(.is-success) .payment-text,
.review-screen .review-order-btn,
.review-screen .review-order-btn *,
.checkout-screen .payment-btn:not(.is-error):not(.is-success),
.checkout-screen .payment-btn:not(.is-error):not(.is-success) .payment-text,
.checkout-screen .review-order-btn,
.checkout-screen .review-order-btn * {
  color: #1a1a2e !important;
}

.review-screen .modal-content, .checkout-screen .modal-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%) !important;
  color: white !important;
}

.review-screen input, .checkout-screen input {
  background: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

/* Asegurar tabs visibles */
.play-tabs, .tabs-container, .tab-button {
  display: flex !important;
  visibility: visible !important;
}

.tab-button {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
}

.tab-button:not(.active) {
  color: white !important;
}

.tab-button.active {
  color: #1a1a2e !important;
  background: linear-gradient(135deg, #06BEDE, #4AABDF) !important;
  border-color: #06BEDE !important;
}

/* Correcciones de tema oscuro para lotería */

/* Saldo en header de lotería */
.lottery-modal .modal-header .balance-display,
.lottery-modal .balance-display,
.balance-display {
  background: rgba(0, 0, 0, 0.8) !important;
  color: #06BEDE !important;
  border: 2px solid rgba(6, 190, 222, 0.26) !important;
  border-radius: 8px !important;
  padding: 0.5rem 1rem !important;
  font-weight: bold !important;
  font-size: 1rem !important;
}

/* Botón checkout - eliminar TODOS los fondos blancos */
.checkout-btn, .review-btn {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  border: none !important;
  color: white !important;
  padding: 1rem 2rem !important;
  border-radius: 25px !important;
  font-weight: bold !important;
  width: 100% !important;
  margin: 0 !important;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
  transition: all 0.3s ease !important;
}

/* Forzar fondo oscuro en contenedores del botón checkout */
.checkout-btn-container, 
.review-screen .checkout-section,
.lottery-checkout-container,
.checkout-area,
.review-screen .bottom-section,
.review-screen .actions-section {
  background: transparent !important;
  background-color: transparent !important;
}

/* Eliminar cualquier fondo blanco del review screen */
.review-screen {
  background: rgba(21, 25, 40, 0.98) !important;
  background-color: rgba(21, 25, 40, 0.98) !important;
}

.review-screen .modal-content,
.review-screen .lottery-content {
  background: transparent !important;
  background-color: transparent !important;
}

.checkout-btn:hover, .review-btn:hover {
  background: linear-gradient(135deg, #218838, #1a8f6a) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
}

/* Modal de detalles de pago - fondo oscuro */
.payment-details-modal,
.payment-breakdown,
.cost-breakdown {
  background: rgba(21, 25, 40, 0.95) !important;
  color: white !important;
  border: 2px solid rgba(6, 190, 222, 0.26) !important;
  border-radius: 15px !important;
  padding: 1.5rem !important;
  backdrop-filter: blur(10px) !important;
}

.payment-details-modal .breakdown-item,
.cost-breakdown .breakdown-item {
  background: rgba(255, 255, 255, 0.05) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  padding: 0.8rem !important;
  margin: 0.5rem 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.payment-details-modal .breakdown-label,
.cost-breakdown .breakdown-label {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500 !important;
}

.payment-details-modal .breakdown-value,
.cost-breakdown .breakdown-value {
  color: #06BEDE !important;
  font-weight: bold !important;
}

/* Corregir elementos específicos del modal de pago */
.payment-details-modal h3,
.payment-details-modal h4 {
  color: #06BEDE !important;
  margin-bottom: 1rem !important;
}

.payment-details-modal .close-btn {
  background: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 8px !important;
  padding: 0.5rem 1rem !important;
  cursor: pointer !important;
}

.payment-details-modal .close-btn:hover {
  background: rgba(6, 190, 222, 0.17) !important;
  border-color: #06BEDE !important;
}

/* Panel de detalles de precio en review screen */
.price-details-panel {
  background: rgba(21, 25, 40, 0.95) !important;
  color: white !important;
  border: 2px solid rgba(6, 190, 222, 0.26) !important;
  border-radius: 15px !important;
  padding: 1.5rem !important;
  backdrop-filter: blur(10px) !important;
}

.price-details-panel .price-detail-row {
  background: rgba(255, 255, 255, 0.05) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  padding: 0.8rem !important;
  margin: 0.5rem 0 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.price-details-panel .price-detail-label {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500 !important;
}

.price-details-panel .price-detail-value,
.price-details-panel .line-price,
.price-details-panel .line-count,
.price-details-panel .subtotal-value,
.price-details-panel .fee-value {
  color: #06BEDE !important;
  font-weight: bold !important;
}

/* Toggle de precio en header */
#price-toggle {
  background: rgba(0, 0, 0, 0.8) !important;
  color: #06BEDE !important;
  border: 2px solid rgba(6, 190, 222, 0.26) !important;
  border-radius: 8px !important;
  padding: 0.5rem 1rem !important;
  font-weight: bold !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

#price-toggle:hover {
  background: rgba(6, 190, 222, 0.08) !important;
  border-color: #06BEDE !important;
}

.price-toggle-icon {
  transition: transform 0.3s ease !important;
}

/* Corregir texto del precio principal */
.price {
  color: #06BEDE !important;
  font-weight: bold !important;
  font-size: 1.2rem !important;
}

/* FORZAR TEMA OSCURO ABSOLUTO EN REVIEW SCREEN */
.review-screen,
.review-screen .lottery-modal-content,
.review-screen .modal-body,
.review-screen .modal-content {
  background: rgba(21, 25, 40, 0.98) !important;
  background-color: rgba(21, 25, 40, 0.98) !important;
}

.review-screen .checkout-btn-container,
.review-screen .action-buttons,
.review-screen .button-container,
.review-screen .buttons-section {
  background: transparent !important;
  background-color: transparent !important;
  margin: 0 !important;
  padding: 1rem !important;
}

/* Contenedores del review screen - fondo transparente */
.review-screen .review-content,
.review-screen .review-lines-container,
.review-screen .review-actions {
  background-color: transparent !important;
}


/* CRITICAL: Forzar ocultación de botones de pago incorrectos */
#rechargeConfirmBtn[style*="display: none"],
#creditcardConfirmBtn[style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
}

.payment-process-btn {
    background: linear-gradient(45deg, #06BEDE, #4AABDF);
    color: #1a1a2e;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-process-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
}

/* Estilos para radio buttons deshabilitados */
.radio-option input[type="radio"]:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.radio-option input[type="radio"]:disabled + label {
    opacity: 0.5;
    cursor: not-allowed;
    color: rgba(255, 255, 255, 0.4) !important;
}

/* Nota explicativa del balance casino */
.balance-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: 0.2rem;
    font-style: italic;
}

/* ========== MODAL DE IMÁGENES SIMPLIFICADO - FLEX RESPONSIVE ========== */
.simple-image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.simple-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.simple-modal-content {
    position: relative;
    background: #1a1a2e;
    border-radius: 15px;
    padding: 2rem;
    width: min(90vw, 680px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 90vh;
    min-height: 0;
    overflow: hidden;
    border: 2px solid #06BEDE;
    z-index: 10001;
}

.simple-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #06BEDE;
    font-size: 2.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    line-height: 1;
    z-index: 10;
}

.simple-close-btn:hover {
    color: #4AABDF;
}

.simple-modal-title {
    color: #06BEDE;
    text-align: center;
    margin: 0;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.simple-modal-subtitle {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin: 0;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.simple-image-container {
    flex: 1;
    min-height: 0;
    max-height: calc(90vh - 200px);
    overflow: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1rem;
}

.simple-image-wrapper {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.simple-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.simple-navigation {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(26, 26, 46, 0.95);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.simple-nav-btn {
    background: linear-gradient(135deg, #06BEDE, #4AABDF);
    color: #1a1a2e;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.simple-nav-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6, 190, 222, 0.35);
}

.simple-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.simple-counter {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Mobile responsive - Modal de imágenes - Navegación horizontal */
@media screen and (max-width: 640px) {
    .simple-modal-content {
        width: 95vw;
        padding: 0.75rem 0.75rem 0.5rem;
        max-height: 95vh;
    }
    
    .simple-image-container {
        max-height: calc(95vh - 180px);
    }
    
    .simple-navigation {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0.75rem;
        margin: 0 -0.75rem -0.5rem;
        border-radius: 0 0 12px 12px;
    }
    
    .simple-nav-btn {
        flex: 1 1 40%;
        min-width: 0;
        padding: clamp(0.55rem, 2vw, 0.75rem) clamp(0.6rem, 3vw, 1rem);
        font-size: clamp(0.9rem, 2.8vw, 1rem);
        justify-content: center;
    }
    
    .simple-counter {
        flex: 0 1 auto;
        text-align: center;
        font-size: clamp(0.85rem, 2.5vw, 0.95rem);
        white-space: nowrap;
        padding: 0 0.25rem;
    }
}

/* Botón de ver con contador */
.action-btn.view-btn {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.2), rgba(56, 142, 60, 0.2));
    border-color: rgba(76, 175, 80, 0.4);
    color: #66bb6a;
}

.action-btn.view-btn:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(56, 142, 60, 0.3));
    border-color: rgba(76, 175, 80, 0.6);
}

.action-btn.small {
    padding: 0.4rem 0.7rem;
    font-size: 0.85rem;
}

/* Indicador de archivos existentes en modal de upload */
.ticket-attachments-info {
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #64b5f6;
}

.ticket-attachments-info i {
    font-size: 1.3rem;
}

.ticket-attachments-info span {
    flex: 1;
    font-size: 0.9rem;
}

.ticket-attachments-info strong {
    color: #2196f3;
    font-weight: 600;
}

/* Responsive para móviles */
@media screen and (max-width: 768px) {
    .ticket-images-modal-content {
        width: 95%;
        padding: 1rem;
        max-height: 95vh;
    }
    
    .carousel-item img {
        max-height: 300px;
    }
    
    .modal-ticket-title {
        font-size: 1.2rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .images-carousel {
        gap: 0.5rem;
    }
}

/* ========== MENSAJE DE TICKET SIENDO PROCESADO ========== */
.ticket-processing-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    color: #ffc107;
    font-size: 0.85rem;
    font-weight: 500;
}

.ticket-processing-message i {
    font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
    .ticket-processing-message {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    /* Contact Buttons - Mobile */
    .contact-float-container {
        bottom: 80px;
        right: 15px;
        flex-direction: column;
        gap: 10px;
        z-index: 1003;
    }
    
    .contact-float-button {
        width: 50px;
        height: 50px;
    }
    
    .contact-float-button i {
        font-size: 1.5rem;
    }
    
    .contact-modal-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .contact-modal-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-modal-footer {
        flex-direction: column;
    }
}

/*========== DUAL BALANCE CARDS SYSTEM ==========*/

/* CRITICAL: Altura adaptativa para evitar cortes de cards */
.home__container.bd-grid.home--authenticated {
  height: auto !important;
  min-height: calc(100vh - var(--header-height) - 40px);
  padding-bottom: 3rem;
}

/* User Greeting Header - Shared */
.user-greeting-header {
  text-align: center;
  margin: 2rem auto 2.5rem;
  max-width: 600px;
}

.user-avatar-large {
  margin: 0 auto 1rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.17), rgba(6, 190, 222, 0.08));
  border-radius: 50%;
  border: 3px solid rgba(6, 190, 222, 0.35);
}

.user-avatar-large i {
  font-size: 3.5rem;
  color: #06BEDE;
}

.user-name-large {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
  line-height: 1.3;
}

.user-name-large span {
  color: #06BEDE;
}

/* Balance Cards Grid - Responsivo */
.balance-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 2rem;
  padding: 0;
}

/* Mobile Stats Bar - Only visible on mobile */
.mobile-stats-bar {
  display: none; /* Hidden by default, shown in mobile via JS */
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 98%;
  max-width: 600px;
  margin: 0 auto 1.5rem;
  padding: 0 1rem;
}

.mobile-stat-item {
  background: linear-gradient(135deg, rgba(20, 20, 30, 0.95), rgba(60, 40, 80, 0.85));
  border: 2px solid rgba(6, 190, 222, 0.60);
  border-radius: 20px;
  padding: 1.5rem 1.25rem;
  backdrop-filter: blur(20px);
  box-shadow: 
    0 10px 40px rgba(0, 0, 0, 0.4), 
    0 0 30px rgba(6, 190, 222, 0.26),
    inset 0 1px 0 rgba(6, 190, 222, 0.17);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.mobile-stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(6, 190, 222, 0.08), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.mobile-stat-item:hover {
  border-color: rgba(6, 190, 222, 1);
  box-shadow: 
    0 12px 48px rgba(0, 0, 0, 0.5), 
    0 0 40px rgba(6, 190, 222, 0.42),
    inset 0 1px 0 rgba(6, 190, 222, 0.26);
  transform: translateY(-2px);
}

.mobile-stat-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #06BEDE, #ffed4e, #4AABDF);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 
    0 6px 20px rgba(6, 190, 222, 0.42),
    0 0 30px rgba(6, 190, 222, 0.26),
    inset 0 -2px 8px rgba(0, 0, 0, 0.2);
  animation: iconPulse 2s ease-in-out infinite;
  position: relative;
}

.mobile-stat-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid rgba(6, 190, 222, 0.52);
  animation: iconRing 2s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { 
    box-shadow: 
      0 6px 20px rgba(6, 190, 222, 0.42),
      0 0 30px rgba(6, 190, 222, 0.26),
      inset 0 -2px 8px rgba(0, 0, 0, 0.2);
  }
  50% { 
    box-shadow: 
      0 8px 25px rgba(6, 190, 222, 0.52),
      0 0 40px rgba(6, 190, 222, 0.35),
      inset 0 -2px 8px rgba(0, 0, 0, 0.2);
  }
}

@keyframes iconRing {
  0% { 
    transform: scale(1);
    opacity: 0.8;
  }
  50% { 
    transform: scale(1.15);
    opacity: 0;
  }
  100% { 
    transform: scale(1);
    opacity: 0;
  }
}

.mobile-stat-icon i {
  font-size: 1.8rem;
  color: #1a1a2e;
  position: relative;
  z-index: 1;
}

.mobile-stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.mobile-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #06BEDE;
  line-height: 1.2;
  text-shadow: 
    0 2px 15px rgba(6, 190, 222, 0.42),
    0 0 25px rgba(6, 190, 222, 0.26),
    0 4px 8px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.5px;
  animation: valueGlow 2s ease-in-out infinite;
}

@keyframes valueGlow {
  0%, 100% { 
    text-shadow: 
      0 2px 15px rgba(6, 190, 222, 0.42),
      0 0 25px rgba(6, 190, 222, 0.26),
      0 4px 8px rgba(0, 0, 0, 0.4);
  }
  50% { 
    text-shadow: 
      0 2px 20px rgba(6, 190, 222, 0.60),
      0 0 35px rgba(6, 190, 222, 0.42),
      0 4px 8px rgba(0, 0, 0, 0.4);
  }
}

.mobile-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(6, 190, 222, 0.60);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Show mobile stats bar only on mobile (<768px) */
@media (max-width: 768px) {
  .mobile-stats-bar[style*="display: grid"] {
    display: grid !important;
    grid-template-columns: 1fr; /* 1 columna en móviles para mejor visualización del jackpot completo */
    gap: 1.25rem; /* Mayor espaciado entre contadores apilados */
  }
}

/* Pantallas pequeñas como iPhone SE (375px) */
@media (max-width: 400px) {
  .mobile-stats-bar {
    gap: 1rem;
    padding: 0 0.5rem;
    width: 100%;
  }

  .mobile-stat-item {
    padding: 1.25rem 1rem;
    gap: 0.75rem;
    border-radius: 16px;
  }

  .mobile-stat-icon {
    width: 50px;
    height: 50px;
  }

  .mobile-stat-icon i {
    font-size: 1.5rem;
  }

  .mobile-stat-value {
    font-size: 1.4rem;
  }

  .mobile-stat-label {
    font-size: 0.55rem;
    letter-spacing: 0.3px;
  }
}

/* Balance Card Base */
.balance-card {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.9), rgba(40, 40, 40, 0.7));
  border: 2px solid rgba(6, 190, 222, 0.26);
  border-radius: 20px;
  padding: 1.5rem;
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.balance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Wallet Card - Cyan */
.wallet-card {
  border-color: rgba(0, 212, 255, 0.3);
}

.wallet-card:hover {
  border-color: rgba(0, 212, 255, 0.5);
}

/* Casino Card - Naranja */
.casino-card {
  border-color: rgba(6, 190, 222, 0.26);
}

.casino-card:hover {
  border-color: rgba(6, 190, 222, 0.42);
}

/* Card Header */
.balance-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(6, 190, 222, 0.17);
}

.card-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.wallet-icon {
  color: #00d4ff;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 212, 255, 0.1));
}

.casino-icon {
  color: #4AABDF;
  background: linear-gradient(135deg, rgba(74, 171, 223, 0.15), rgba(6, 190, 222, 0.08));
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-color);
  margin: 0;
}

/* Header fijo para Wallet Card con tabs - alineación horizontal */

/* ========================================
   TOKEN LIST - Crypto Wallet Style
   ======================================== */
.token-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.token-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s ease;
  cursor: pointer;
}

.token-row:hover {
  background: rgba(255, 255, 255, 0.07);
}

.token-row-primary {
  background: rgba(6, 190, 222, 0.05);
  border-color: rgba(6, 190, 222, 0.12);
}

.token-row-primary:hover {
  background: rgba(6, 190, 222, 0.08);
}

.token-icon-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.token-send-btn {
  background: rgba(6, 190, 222, 0.10);
  border: 1px solid rgba(6, 190, 222, 0.22);
  color: #06BEDE;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.token-send-btn:hover {
  background: rgba(6, 190, 222, 0.22);
  border-color: rgba(6, 190, 222, 0.42);
  transform: scale(1.08);
}

.token-send-btn:active {
  transform: scale(0.95);
}

.token-chevron {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.token-row:hover .token-chevron {
  color: rgba(255, 255, 255, 0.6);
}

.token-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.token-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.token-fullname {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  line-height: 1.2;
}

.token-balance {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.1rem;
  margin-left: auto;
  min-width: 0;
  overflow: hidden;
}

.token-amount {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.token-row-primary .token-amount {
  font-size: 1rem;
  font-weight: 700;
  color: #06BEDE;
}

.token-usd {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  white-space: nowrap;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* ========================================
   QUICK ACTIONS - DApp Style
   ======================================== */
.wallet-quick-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.5rem;
  transition: all 0.2s ease;
  min-width: 70px;
}

.quick-action-btn:hover {
  color: #ffffff;
}

.quick-action-btn:hover .quick-action-icon {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 190, 222, 0.26);
}

.quick-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.quick-action-icon i {
  font-size: 1.3rem;
}

.deposit-icon {
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.17), rgba(6, 190, 222, 0.08));
  border: 1px solid rgba(6, 190, 222, 0.26);
  color: #06BEDE;
}

.casino-icon {
  background: linear-gradient(135deg, rgba(255, 140, 0, 0.25), rgba(255, 100, 0, 0.15));
  border: 1px solid rgba(255, 140, 0, 0.4);
  color: #ff8c00;
}

.quick-action-primary .casino-icon {
  box-shadow: 0 4px 15px rgba(255, 140, 0, 0.2);
}

.recharge-icon {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(0, 180, 220, 0.1));
  border: 1px solid rgba(0, 212, 255, 0.3);
  color: #00d4ff;
}

/* ========================================
   PAYMENT METHODS - Wallet Footer
   ======================================== */
.wallet-payment-methods {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 0 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.wallet-payment-methods:hover {
  opacity: 1;
}

.payment-logo {
  height: 20px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  border-radius: 3px;
  opacity: 0.8;
}

.bitmart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  line-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bitmart-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.bitmart-link .payment-logo {
  display: block;
  height: 18px;
  width: auto;
  border-radius: 0;
  opacity: 1;
}

/* Mobile Responsivo */
@media (max-width: 768px) {
  .balance-cards-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0 0.75rem;
  }

  .user-greeting-header {
    margin: 1.5rem auto 1.5rem;
  }

  .user-avatar-large {
    width: 60px;
    height: 60px;
  }

  .user-avatar-large i {
    font-size: 2.5rem;
  }

  .user-name-large {
    font-size: 1.3rem;
  }

  .balance-card {
    padding: 1.25rem;
  }

  .token-row {
    padding: 0.6rem;
    gap: 0.6rem;
  }

  .token-icon-img {
    width: 32px;
    height: 32px;
  }

  .token-amount {
    font-size: 0.85rem;
  }

  .token-row-primary .token-amount {
    font-size: 0.95rem;
  }

  .token-row.has-send .token-chevron {
    display: none;
  }

  .token-row.has-send .token-send-btn {
    width: 36px;
    height: 36px;
    min-width: 44px;
    min-height: 44px;
    font-size: 1.05rem;
  }

  .wallet-quick-actions {
    gap: 0.75rem;
  }

  .quick-action-btn {
    font-size: 0.6rem;
    min-width: 65px;
  }

  .quick-action-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .quick-action-icon i {
    font-size: 1.15rem;
  }
}

/* Pantallas muy pequeñas */
@media (max-width: 480px) and (max-height: 700px) {
  .balance-cards-grid {
    gap: 1rem;
  }

  .balance-card {
    padding: 1rem;
  }

  .token-list {
    gap: 0.35rem;
    margin-bottom: 1rem;
  }

  .token-row {
    padding: 0.5rem;
  }

  .wallet-quick-actions {
    gap: 0.5rem;
  }

  .quick-action-btn {
    font-size: 0.55rem;
    min-width: 58px;
    padding: 0.35rem;
  }

  .quick-action-icon {
    width: 38px;
    height: 38px;
  }

  .quick-action-icon i {
    font-size: 1rem;
  }
}

/* ========================================
   CASINO BALANCE ALERT - FROST GLASS
======================================== */
.casino-balance-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}

.casino-balance-alert-overlay.show {
  opacity: 1;
  visibility: visible;
}

.casino-balance-alert-modal {
  background: linear-gradient(135deg, 
    rgba(26, 26, 46, 0.95) 0%, 
    rgba(22, 33, 62, 0.95) 50%, 
    rgba(15, 52, 96, 0.95) 100%);
  border: 1px solid rgba(6, 190, 222, 0.26);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  max-width: 380px;
  width: 100%;
  text-align: center;
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(6, 190, 222, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s ease;
}

.casino-balance-alert-overlay.show .casino-balance-alert-modal {
  transform: scale(1) translateY(0);
}

.casino-balance-alert-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, rgba(6, 190, 222, 0.17), rgba(6, 190, 222, 0.08));
  border: 2px solid rgba(6, 190, 222, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulseGlow 2s ease-in-out infinite;
}

.casino-balance-alert-icon i {
  font-size: 2rem;
  color: #06BEDE;
  text-shadow: 0 0 15px rgba(6, 190, 222, 0.42);
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(6, 190, 222, 0.17); }
  50% { box-shadow: 0 0 30px rgba(6, 190, 222, 0.35); }
}

.casino-balance-alert-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.75rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.casino-balance-alert-message {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
}

.casino-balance-alert-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.casino-balance-alert-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  min-height: 48px;
}

.casino-balance-alert-btn.primary {
  background: linear-gradient(135deg, #06BEDE, #f0c000);
  color: #1a1a2e;
  box-shadow: 0 4px 15px rgba(6, 190, 222, 0.26);
}

.casino-balance-alert-btn.primary:hover {
  background: linear-gradient(135deg, #4AABDF, #06BEDE);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(6, 190, 222, 0.35);
}

.casino-balance-alert-btn.primary:active {
  transform: translateY(0);
}

.casino-balance-alert-btn.primary i {
  font-size: 1.1rem;
}

.casino-balance-alert-btn.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.casino-balance-alert-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .casino-balance-alert-modal {
    padding: 1.5rem 1.25rem;
    margin: 0.5rem;
    border-radius: 16px;
  }

  .casino-balance-alert-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }

  .casino-balance-alert-icon i {
    font-size: 1.75rem;
  }

  .casino-balance-alert-title {
    font-size: 1.2rem;
  }

  .casino-balance-alert-message {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .casino-balance-alert-btn {
    padding: 0.8rem 1.25rem;
    font-size: 0.9rem;
    min-height: 44px;
  }
}

.card-logos-external {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 4px 0;
    opacity: 1;
}

.card-logos-external > .card-logo-img {
    opacity: 0.85;
}

.card-logo-img {
    height: 26px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
    border-radius: 3px;
}

.bitmart-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.93);
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow:
        0 3px 10px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
    text-decoration: none;
    line-height: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bitmart-logo-link:hover {
    transform: translateY(-1px);
    box-shadow:
        0 5px 14px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.bitmart-logo-link .card-logo-img {
    display: block;
    height: 26px;
    width: auto;
    border-radius: 0;
    opacity: 1;
}

@media (max-width: 768px) {
    .card-logos-external {
        margin-top: 6px;
        gap: 8px;
    }

    .card-logo-img {
        height: 22px;
    }

    .bitmart-logo-link {
        padding: 3px 9px;
    }

    .bitmart-logo-link .card-logo-img {
        height: 22px;
    }
}

@media (max-width: 480px) {
    .card-logos-external {
        margin-top: 5px;
        gap: 6px;
    }

    .card-logo-img {
        height: 20px;
    }

    .bitmart-logo-link {
        padding: 3px 8px;
    }

    .bitmart-logo-link .card-logo-img {
        height: 20px;
    }
}

/* ===== WALLET ACCORDION ===== */
.wallet-accordion {
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease;
}

.wallet-accordion:hover {
    border-color: rgba(6, 190, 222, 0.26);
}

.wallet-accordion.open {
    border-color: rgba(6, 190, 222, 0.35);
}

.wallet-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.10) 0%, rgba(74, 171, 223, 0.07) 100%);
    user-select: none;
    transition: background 0.3s ease;
}

.wallet-accordion-header:hover {
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.18) 0%, rgba(74, 171, 223, 0.12) 100%);
}

.wallet-accordion-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.wallet-accordion-title .card-icon {
    font-size: 1.4rem;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.wallet-accordion-title .card-icon.wallet-icon {
    color: #06BEDE;
}

.wallet-accordion-title .card-icon.casino-icon {
    color: #00e5ff;
}

.accordion-wallet-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
}

.accordion-wallet-balance {
    font-size: 1rem;
    font-weight: 700;
    color: #06BEDE;
    white-space: nowrap;
}

.wallet-accordion-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}


.wallet-accordion-icon {
    font-size: 1.4rem;
    color: #e6e6e6;
    transition: transform 0.3s ease;
}

.wallet-accordion.open .wallet-accordion-icon {
    transform: rotate(180deg);
}

.wallet-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.wallet-accordion.open .wallet-accordion-body {
    max-height: 2000px;
}

.wallet-accordion-body .balance-card {
    border-radius: 0;
    border: none;
    margin: 0;
}

.accordion-lottery-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.2), rgba(6, 190, 222, 0.1));
    padding: 4px;
}

.accordion-jackpot {
    color: #4CAF50;
}

#lotto {
    display: flex;
    flex-direction: column;
    gap: inherit;
}

.wallet-accordion-body .international-lottery-card {
    border-radius: 0;
    border: none;
    margin: 0;
    box-shadow: none;
}

.wallet-accordion-body .international-lottery-card::before {
    display: none;
}

@media (max-width: 768px) {
    .wallet-accordion-header {
        padding: 12px 14px;
    }
    
    .accordion-wallet-name {
        font-size: 0.85rem;
    }
    
    .accordion-wallet-balance {
        font-size: 0.9rem;
    }

    .accordion-lottery-logo {
        width: 42px;
        height: 42px;
        padding: 4px;
        border-radius: 10px;
    }
}

/* ===== SECTION ACCORDION (Resources) ===== */
.section-accordion {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s ease;
}

.section-accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease;
}

.section-accordion-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.section-accordion-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.section-accordion-title i {
    font-size: 1.6rem;
    color: #ff0000;
}

.section-accordion-title .accordion-text {
    display: flex;
    flex-direction: column;
}

.section-accordion-title .accordion-text .resources-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.section-accordion-title .accordion-text .resources-description {
    font-size: 0.8rem;
    color: #A6A6A6;
    margin: 0;
}

.section-accordion-icon {
    font-size: 1.4rem;
    color: #e6e6e6;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.section-accordion.open .section-accordion-icon {
    transform: rotate(180deg);
}

.section-accordion-body {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.4s ease, visibility 0s 0.4s;
}

.section-accordion.open .section-accordion-body {
    max-height: 500px;
    visibility: visible;
    transition: max-height 0.4s ease, visibility 0s 0s;
}

.section-accordion-body .resources-buttons {
    display: flex;
    gap: 10px;
    padding: 0 20px 16px;
    flex-wrap: wrap;
}

/* ===== TICKETS MODAL ===== */
.tickets-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.tickets-modal-overlay.show {
    display: flex;
}

.tickets-modal-content {
    background: linear-gradient(135deg, #0A0E1A 0%, #080C18 100%);
    border: 1px solid rgba(6, 190, 222, 0.17);
    border-radius: 20px;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.tickets-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid rgba(6, 190, 222, 0.12);
    flex-shrink: 0;
    background: linear-gradient(135deg, #0A0E1A 0%, #080C18 100%);
}

.tickets-modal-header .section-title-small {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.tickets-modal-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 16px 24px 24px;
}

.tickets-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.tickets-modal-close:hover {
    background: rgba(255, 0, 0, 0.3);
}

/* ===== FLOATING TICKETS BUTTON ===== */
.floating-tickets-btn {
    position: fixed;
    right: 20px;
    bottom: 180px;
    z-index: 1001;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #06BEDE 0%, #4AABDF 100%);
    color: #1a1a2e;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(6, 190, 222, 0.35);
    transition: all 0.3s ease;
    animation: floatingPulse 2s ease-in-out infinite;
}

.floating-tickets-btn.visible {
    display: flex;
}

.floating-tickets-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(6, 190, 222, 0.52);
}

.floating-tickets-btn i {
    font-size: 1.2rem;
}

@keyframes floatingPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(6, 190, 222, 0.35); }
    50% { box-shadow: 0 4px 30px rgba(6, 190, 222, 0.60); }
}

@media (max-width: 768px) {
    .floating-tickets-btn {
        right: 14px;
        bottom: 186px;
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .tickets-modal-overlay {
        padding: 0;
        align-items: stretch;
    }

    .tickets-modal-content {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        max-width: none;
        max-height: none;
        border-radius: 0;
        border: none;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .tickets-modal-header {
        padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px;
    }

    .tickets-modal-body {
        padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px));
    }
}

/* ===== HIDE HERO FLOATING INDICATORS (moved to pre-footer T004) ===== */
#authenticatedIndicators {
    display: none !important;
}

/* ===== AUTHENTICATED HERO COMPACT (T008) ===== */
@media (min-width: 769px) and (max-width: 1199px) {
    .authenticated-content .balance-cards-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .authenticated-content .balance-cards-grid #lotto {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
}

@media (min-width: 1200px) {
    .authenticated-content .balance-cards-grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
    .authenticated-content .balance-cards-grid .wallet-accordion {
        width: 100%;
    }
    .authenticated-content .balance-cards-grid #lotto {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        width: 100%;
    }
    .authenticated-content .balance-cards-grid #lotto .wallet-accordion {
        min-width: 0;
    }

    .user-name-large {
        font-size: 1.1rem !important;
        margin-bottom: 0.25rem !important;
    }
    .authenticated-content .user-card-main {
        padding: 0.75rem 1rem !important;
        margin-bottom: 0.75rem !important;
    }
    .authenticated-content .user-card-header {
        margin-bottom: 0.5rem !important;
    }
}

/* ===== CATEGORY MODAL (Ver todos) ===== */
.category-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.category-modal-overlay.active {
    display: flex;
}

.category-modal {
    background: #1a1030;
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(6, 190, 222, 0.12);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.category-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.category-modal-title-area {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.category-modal-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.17), rgba(6, 190, 222, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #06BEDE;
    font-size: 1.2rem;
}

.category-modal-title {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.category-modal-count {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.category-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: background 0.2s;
}

.category-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.category-modal-body {
    overflow-y: auto;
    flex: 1;
    padding: 1rem 1.5rem 1.5rem;
    -webkit-overflow-scrolling: touch;
}

.category-modal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 12px;
}

.category-modal-grid .online-game-card {
    width: 100%;
}

.category-modal-loader {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
}

.category-modal-loader .spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(6, 190, 222, 0.17);
    border-top-color: #06BEDE;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@media (max-width: 480px) {
    .category-modal {
        max-height: 90vh;
        border-radius: 12px;
    }

    .category-modal-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }

    .category-modal-header {
        padding: 0.8rem 1rem;
    }

    .category-modal-body {
        padding: 0.8rem 1rem 1rem;
    }

    .category-modal-title {
        font-size: 1.1rem;
    }
}

/* ===== BONUSES COMING SOON ===== */
.bonuses-coming-soon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 1.5rem;
    margin: 0 auto;
    max-width: 500px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(6, 190, 222, 0.17);
    border-radius: 16px;
}

.coming-soon-content {
    text-align: center;
    max-width: 400px;
}

.coming-soon-icon {
    font-size: 3.5rem;
    color: #06BEDE;
    margin-bottom: 0.75rem;
    display: block;
}

.coming-soon-title {
    font-size: 1.6rem;
    color: #06BEDE;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.coming-soon-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
}

/* ===== PRE-FOOTER STATS SECTION ===== */
.pre-footer-stats {
    padding: 2rem 1rem;
}

.pre-footer-stats .mobile-stats-bar {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pre-footer-stats .referral-share-card {
    margin-top: 0;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
    .pre-footer-stats .mobile-stats-bar {
        grid-template-columns: 1fr !important;
        gap: 1rem;
        padding: 0;
        width: 100%;
    }

    .pre-footer-stats .mobile-stat-item {
        overflow: visible;
        padding: 1.25rem 1rem;
        gap: 0.875rem;
    }

    .pre-footer-stats .mobile-stat-icon {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .pre-footer-stats .mobile-stat-icon i {
        font-size: 1.5rem;
    }

    .pre-footer-stats .mobile-stat-value {
        font-size: 1.5rem;
        word-break: break-word;
    }

    .pre-footer-stats .mobile-stat-label {
        font-size: 0.6rem;
    }

    .pre-footer-stats .referral-share-card {
        width: 100%;
        max-width: 100%;
        padding: 0.875rem;
        box-sizing: border-box;
    }

    .pre-footer-stats .referral-link-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .pre-footer-stats .referral-link-input {
        width: 100%;
        font-size: 0.7rem;
        padding: 0.5rem 0.65rem;
        box-sizing: border-box;
    }

    .pre-footer-stats .referral-copy-btn {
        width: 100%;
        justify-content: center;
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
    }

    .pre-footer-stats .referral-description {
        font-size: 0.7rem;
    }

    .pre-footer-stats .referral-title {
        font-size: 0.875rem;
    }
}

@media screen and (max-width: 400px) {
    .pre-footer-stats {
        padding: 1.5rem 0.75rem;
    }

    .pre-footer-stats .mobile-stat-item {
        padding: 1rem 0.875rem;
        gap: 0.75rem;
        border-radius: 16px;
    }

    .pre-footer-stats .mobile-stat-icon {
        width: 44px;
        height: 44px;
    }

    .pre-footer-stats .mobile-stat-icon i {
        font-size: 1.3rem;
    }

    .pre-footer-stats .mobile-stat-value {
        font-size: 1.3rem;
    }

    .pre-footer-stats .mobile-stat-label {
        font-size: 0.55rem;
        letter-spacing: 0.3px;
    }

    .pre-footer-stats .referral-share-card {
        padding: 0.75rem;
    }

    .pre-footer-stats .referral-link-input {
        font-size: 0.65rem;
        padding: 0.45rem 0.5rem;
    }

    .pre-footer-stats .referral-copy-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.7rem;
    }

    .pre-footer-stats .referral-description {
        font-size: 0.65rem;
    }
}

/* ========================================
   INSUFFICIENT BALANCE MODAL
   ======================================== */
.insufficient-balance-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10003;
  padding: 1rem;
}
.insufficient-balance-overlay.show {
  display: flex;
}
.insufficient-balance-modal {
  background: linear-gradient(145deg, rgba(24, 26, 32, 0.98), rgba(32, 34, 42, 0.98));
  border: 2px solid rgba(255, 92, 92, 0.4);
  border-radius: 20px;
  max-width: 420px;
  width: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.4s ease;
}
.insufficient-balance-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, rgba(255, 92, 92, 0.2), rgba(255, 92, 92, 0.1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 92, 92, 0.3);
}
.insufficient-balance-icon i {
  font-size: 2rem;
  color: #ff5c5c;
}
.insufficient-balance-title {
  color: #ff5c5c;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.insufficient-balance-message {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}
.insufficient-balance-detail {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.balance-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.95rem;
}
.balance-detail-row:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.balance-detail-row span:first-child {
  color: rgba(255, 255, 255, 0.6);
}
.balance-required {
  color: #06BEDE;
  font-weight: 700;
}
.balance-available {
  color: #2ED573;
  font-weight: 700;
}
.balance-detail-row.deficit span:first-child {
  color: rgba(255, 92, 92, 0.8);
}
.balance-deficit {
  color: #ff5c5c;
  font-weight: 700;
}
.insufficient-balance-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.insufficient-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 2px solid;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.insufficient-btn.deposit {
  background: linear-gradient(135deg, rgba(46, 213, 115, 0.3), rgba(46, 213, 115, 0.15));
  border-color: rgba(46, 213, 115, 0.5);
  color: #fff;
}
.insufficient-btn.deposit:hover {
  background: linear-gradient(135deg, rgba(46, 213, 115, 0.4), rgba(46, 213, 115, 0.25));
  border-color: rgba(46, 213, 115, 0.7);
  box-shadow: 0 5px 20px rgba(46, 213, 115, 0.3);
}
.insufficient-btn.deposit i {
  font-size: 1.3rem;
}
.insufficient-btn.cancel {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}
.insufficient-btn.cancel:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.insufficient-balance-polling {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(6, 190, 222, 0.04);
  border: 1px solid rgba(6, 190, 222, 0.17);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}
.polling-spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(6, 190, 222, 0.17);
  border-top-color: #06BEDE;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.polling-balance {
  color: #06BEDE;
  font-weight: 700;
  font-size: 1rem;
}
.polling-cancel-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  padding: 0.4rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.3s ease;
  margin-top: 0.25rem;
}
.polling-cancel-btn:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

/* ========================================
   DEPOSIT SELECT MODAL
   ======================================== */
.deposit-select-overlay,
.crypto-deposit-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1rem;
}

.deposit-select-overlay.show,
.crypto-deposit-overlay.show {
  opacity: 1;
  visibility: visible;
}

.deposit-select-modal,
.crypto-deposit-modal {
  background: linear-gradient(135deg,
    rgba(26, 26, 46, 0.97) 0%,
    rgba(22, 33, 62, 0.97) 50%,
    rgba(15, 52, 96, 0.97) 100%);
  border: 1px solid rgba(6, 190, 222, 0.17);
  border-radius: 20px;
  padding: 1.5rem;
  max-width: 380px;
  width: 100%;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(6, 190, 222, 0.07);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s ease;
}

.deposit-select-overlay.show .deposit-select-modal,
.crypto-deposit-overlay.show .crypto-deposit-modal {
  transform: scale(1) translateY(0);
}

.deposit-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.deposit-modal-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.deposit-header-token {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.deposit-header-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.deposit-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.7);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.deposit-modal-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Select List */
.deposit-select-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.deposit-select-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
}

.deposit-select-item:hover {
  background: rgba(6, 190, 222, 0.07);
  border-color: rgba(6, 190, 222, 0.17);
}

.deposit-select-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.deposit-select-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
}

.deposit-select-name {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.deposit-select-fullname {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.deposit-select-item i {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.2rem;
}

/* Network Selector */
.deposit-network-selector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.deposit-network-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.deposit-network-pills {
  display: flex;
  gap: 0.4rem;
  flex: 1;
}

.network-pill {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1;
  justify-content: center;
}

.network-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.network-pill.active {
  background: rgba(6, 190, 222, 0.12);
  border-color: rgba(6, 190, 222, 0.35);
  color: #06BEDE;
}

.network-pill-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.deposit-network-static .deposit-network-fixed {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 20px;
  background: rgba(6, 190, 222, 0.10);
  border: 1px solid rgba(6, 190, 222, 0.30);
  color: #06BEDE;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: default;
  user-select: none;
}

.deposit-network-static .deposit-network-name {
  letter-spacing: 0.02em;
}

.deposit-network-static .deposit-network-fullname {
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

/* QR Container */
.deposit-qr-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.deposit-qr-container canvas {
  border-radius: 16px;
  border: 2px solid rgba(6, 190, 222, 0.17);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Address Row */
.deposit-address-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.deposit-address-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  font-family: 'Roboto Mono', monospace;
  letter-spacing: 0.5px;
}

.deposit-copy-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: rgba(6, 190, 222, 0.12);
  border: 1px solid rgba(6, 190, 222, 0.26);
  color: #06BEDE;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.deposit-copy-btn:hover {
  background: rgba(6, 190, 222, 0.22);
  border-color: rgba(6, 190, 222, 0.42);
}

.deposit-copy-btn.copied {
  background: rgba(0, 200, 83, 0.15);
  border-color: rgba(0, 200, 83, 0.4);
  color: #00c853;
}

.deposit-copy-btn i {
  font-size: 0.95rem;
}

/* Warnings */
.deposit-warnings {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.deposit-warning-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  background: rgba(255, 193, 7, 0.06);
  border: 1px solid rgba(255, 193, 7, 0.1);
}

.deposit-warning-item i {
  color: #ffc107;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.deposit-warning-item span {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

.deposit-warning-item.warning-critical {
  background: rgba(244, 67, 54, 0.08);
  border-color: rgba(244, 67, 54, 0.15);
}

.deposit-warning-item.warning-critical i {
  color: #f44336;
}

@media (max-width: 480px) {
  .deposit-select-modal,
  .crypto-deposit-modal {
    padding: 1.25rem;
    border-radius: 16px;
    max-width: 100%;
  }

  .deposit-qr-container canvas {
    width: 180px !important;
    height: 180px !important;
  }

  .deposit-address-text {
    font-size: 0.8rem;
  }

  .network-pill {
    padding: 0.35rem 0.5rem;
    font-size: 0.65rem;
  }
}

/* ===== WALLET BALANCE HEADER (replaces tabs) ===== */
.wallet-balance-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid rgba(6, 190, 222, 0.2);
}

.wallet-secondary-actions {
    display: flex;
    gap: 0.4rem;
    flex-wrap: nowrap;
}

.wallet-mini-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(6, 190, 222, 0.35);
    border-radius: 999px;
    background: rgba(6, 190, 222, 0.08);
    color: #06BEDE;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.25s ease;
    min-height: 34px;
    white-space: nowrap;
}

.wallet-mini-btn:hover {
    background: rgba(6, 190, 222, 0.2);
    border-color: rgba(6, 190, 222, 0.6);
    color: #06BEDE;
    box-shadow: 0 0 12px rgba(6, 190, 222, 0.15);
    transform: translateY(-1px);
}

.wallet-mini-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.wallet-mini-btn:focus-visible {
    outline: 2px solid #06BEDE;
    outline-offset: 2px;
}

.wallet-mini-btn i {
    font-size: 0.95rem;
}

.staking-mini-btn {
    border-color: rgba(76, 175, 80, 0.35);
    background: rgba(76, 175, 80, 0.08);
    color: #81C784;
}

.staking-mini-btn:hover {
    color: #66BB6A;
    border-color: rgba(76, 175, 80, 0.6);
    background: rgba(76, 175, 80, 0.18);
    box-shadow: 0 0 12px rgba(76, 175, 80, 0.15);
}

.swap-mini-btn {
    border-color: rgba(0, 229, 255, 0.3);
    background: rgba(0, 229, 255, 0.06);
    color: #80DEEA;
}

.swap-mini-btn:hover {
    color: #4DD0E1;
    border-color: rgba(0, 229, 255, 0.55);
    background: rgba(0, 229, 255, 0.15);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
}

/* ===== HISTORY MODAL ===== */
.history-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.25s ease-out;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.history-modal-overlay[style*="display: flex"] {
    display: flex !important;
}
.history-modal-content {
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.98), rgba(40, 30, 60, 0.95));
    border: 2px solid rgba(6, 190, 222, 0.26);
    border-radius: 20px;
    width: 95%;
    max-width: 520px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}
.history-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(6, 190, 222, 0.12);
}
.history-modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #06BEDE;
}
.history-modal-title i {
    font-size: 1.3rem;
}
.history-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    cursor: pointer;
    transition: all 0.2s;
}
.history-modal-close:hover {
    background: rgba(255, 70, 70, 0.2);
    color: #ff4444;
}
.history-modal-body {
    padding: 0.8rem 1.2rem 1.2rem;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.history-filter-tabs {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
}
.history-filter-tabs::-webkit-scrollbar {
    display: none;
}
.history-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #aaa;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.history-tab.active {
    background: rgba(6, 190, 222, 0.12);
    border-color: rgba(6, 190, 222, 0.35);
    color: #06BEDE;
}
.history-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    color: #ddd;
}
/* Subtle pulse on the tab while its section is being refetched in the background. */
.history-tab.refreshing {
    animation: historyTabRefreshPulse 1.1s ease-in-out infinite;
}
@keyframes historyTabRefreshPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}
.history-loading, .history-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 2.5rem 1rem;
    color: #888;
    font-size: 0.9rem;
}
.history-loading i, .history-empty i {
    font-size: 2rem;
    color: #06BEDE;
}
.history-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.history-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.8rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s;
}
.history-row:hover {
    background: rgba(255, 255, 255, 0.08);
}
.history-row-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.history-row-icon.swap-icon {
    background: rgba(0, 229, 255, 0.12);
    color: #80DEEA;
}
.history-row-icon.deposit-icon {
    background: rgba(76, 175, 80, 0.12);
    color: #81C784;
}
.history-row-icon.withdraw-icon {
    background: rgba(244, 67, 54, 0.12);
    color: #E57373;
}
.history-row-icon.casino-icon {
    background: rgba(255, 193, 7, 0.12);
    color: #FFD54F;
}
.history-row-icon.ticket-icon {
    background: rgba(156, 39, 176, 0.12);
    color: #CE93D8;
}
.history-row-info {
    flex: 1;
    min-width: 0;
}
.history-row-type {
    font-size: 0.8rem;
    font-weight: 600;
    color: #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.history-row-date {
    font-size: 0.68rem;
    color: #888;
    margin-top: 0.15rem;
}
.history-row-amount {
    text-align: right;
    flex-shrink: 0;
}
.history-row-amount-in {
    font-size: 0.78rem;
    font-weight: 600;
    color: #E57373;
}
.history-row-amount-out {
    font-size: 0.68rem;
    color: #81C784;
    margin-top: 0.1rem;
}
.history-row-tx-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.2rem;
    font-size: 0.66rem;
    color: #06BEDE;
    text-decoration: none;
    line-height: 1.2;
    word-break: break-all;
}
.history-row-tx-link:hover,
.history-row-tx-link:focus-visible {
    text-decoration: underline;
    color: #ffe066;
}
.history-row-tx-link i {
    font-size: 0.85em;
}
.history-row-tx-hash {
    font-family: 'Courier New', monospace;
    color: #aaa;
}
/* ===== Casino expand/accordion (Task #19) ===== */
.history-row-has-detail {
    padding-right: 0.4rem;
}
.history-row-expand {
    background: transparent;
    border: none;
    color: #aaa;
    cursor: pointer;
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin-left: 0.2rem;
    flex-shrink: 0;
    transition: background 0.18s, color 0.18s;
}
.history-row-expand:hover,
.history-row-expand:focus-visible {
    background: rgba(6, 190, 222, 0.08);
    color: #06BEDE;
    outline: none;
}
.history-row-expand i {
    font-size: 1.4rem;
    transition: transform 0.16s ease;
}
.history-row-expand[aria-expanded="true"] i {
    color: #06BEDE;
}
.history-row-detail {
    margin: -0.3rem 0 0.6rem 0;
    padding: 0.7rem 0.85rem;
    background: rgba(6, 190, 222, 0.03);
    border: 1px solid rgba(6, 190, 222, 0.14);
    border-top: none;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    animation: historyDetailExpand 170ms ease-out;
    max-height: 800px;
    opacity: 1;
}
.history-row-detail[hidden] { display: none !important; }
@keyframes historyDetailExpand {
    from { max-height: 0; opacity: 0; padding-top: 0; padding-bottom: 0; }
    to   { max-height: 800px; opacity: 1; padding-top: 0.7rem; padding-bottom: 0.7rem; }
}
@media (prefers-reduced-motion: reduce) {
    .history-row-detail { animation: none; max-height: none; }
    .history-row-expand i { transition: none; }
}
.history-detail-financial,
.history-detail-tech {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.history-detail-financial {
    padding-bottom: 0.55rem;
    margin-bottom: 0.55rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.10);
}
.history-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    line-height: 1.3;
}
.history-detail-label {
    color: #888;
    flex-shrink: 0;
}
.history-detail-value {
    color: #ddd;
    text-align: right;
    word-break: break-word;
    font-weight: 500;
}
.history-detail-diff-pos { color: #81C784; font-weight: 600; }
.history-detail-diff-neg { color: #E57373; font-weight: 600; }
.history-detail-diff-zero { color: #aaa; }
.history-detail-row-action {
    justify-content: center;
    margin-top: 0.4rem;
}
.history-detail-explorer-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    background: rgba(6, 190, 222, 0.08);
    border: 1px solid rgba(6, 190, 222, 0.25);
    border-radius: 8px;
    color: #06BEDE;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    transition: background 0.18s;
}
.history-detail-explorer-btn:hover {
    background: rgba(6, 190, 222, 0.17);
}
.history-detail-explorer-btn i { font-size: 1rem; }
.history-load-more {
    display: block;
    width: 100%;
    padding: 0.7rem;
    margin-top: 0.6rem;
    border-radius: 10px;
    border: 1px solid rgba(6, 190, 222, 0.22);
    background: rgba(6, 190, 222, 0.07);
    color: #06BEDE;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.history-load-more:hover {
    background: rgba(6, 190, 222, 0.14);
}
@media (max-width: 768px) {
    .history-modal-content {
        width: 100%;
        max-width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
        border: none;
        padding-top: env(safe-area-inset-top, 0px);
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
}
.history-filter-tabs {
    position: relative;
    mask-image: linear-gradient(to right, black calc(100% - 20px), transparent);
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 20px), transparent);
}
.history-filter-tabs:not(.history-tabs-end) {
    mask-image: linear-gradient(to right, black calc(100% - 20px), transparent);
    -webkit-mask-image: linear-gradient(to right, black calc(100% - 20px), transparent);
}
.history-filter-tabs.history-tabs-end {
    mask-image: none;
    -webkit-mask-image: none;
}

.history-mini-btn {
    border-color: rgba(255, 193, 7, 0.35);
    background: rgba(255, 193, 7, 0.08);
    color: #FFD54F;
}

.history-mini-btn:hover {
    color: #FFCA28;
    border-color: rgba(255, 193, 7, 0.6);
    background: rgba(255, 193, 7, 0.18);
    box-shadow: 0 0 12px rgba(255, 193, 7, 0.15);
}

/* ===== STAKING MODAL ===== */
.staking-modal-overlay,
.swap-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.25s ease-out;
}

.staking-modal-overlay[style*="display: flex"],
.swap-modal-overlay[style*="display: flex"] {
    display: flex !important;
}

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

.staking-modal-content,
.swap-modal-content {
    background: linear-gradient(135deg, rgba(20, 20, 35, 0.98), rgba(40, 30, 60, 0.95));
    border: 2px solid rgba(6, 190, 222, 0.26);
    border-radius: 20px;
    width: 95%;
    max-width: 520px;
    max-height: 85vh;
    overflow-y: auto;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(6, 190, 222, 0.08);
    animation: modalSlideUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideUp {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.staking-modal-header,
.swap-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(6, 190, 222, 0.17);
    position: sticky;
    top: 0;
    background: inherit;
    border-radius: 20px 20px 0 0;
    z-index: 1;
}

.staking-modal-title,
.swap-modal-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #06BEDE;
}

.staking-modal-title i,
.swap-modal-title i {
    font-size: 1.3rem;
}

.staking-modal-close,
.swap-modal-close {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.staking-modal-close:hover,
.swap-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(6, 190, 222, 0.35);
}

.staking-modal-body,
.swap-modal-body {
    padding: 1.25rem 1.5rem;
}

/* ===== MOBILE: LOTTERY FIRST ORDER ===== */
@media (max-width: 768px) {
    .authenticated-content .balance-cards-grid {
        display: flex !important;
        flex-direction: column !important;
    }
    .authenticated-content .balance-cards-grid #lotto {
        order: -1 !important;
    }
    .wallet-mini-btn {
        padding: 0.3rem 0.65rem;
        font-size: 0.7rem;
        min-height: 30px;
    }
    .wallet-mini-btn i {
        font-size: 0.85rem;
    }
}

/* ============================================
   FOOTER LEGAL — license disclaimer + 18+ warning
   Sitewide compliance block. Tipografía nunca por
   debajo de 12px en mobile (mínimo MGA/UKGC).
   ============================================ */
.footer__legal {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 920px;
    margin-inline: auto;
    text-align: center;
}

.footer__warning {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;        /* 14px desktop */
    color: #FFB74D;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.footer__warning i {
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
}

.footer__license {
    font-size: 0.8125rem;       /* 13px desktop */
    color: #9aa3b2;
    line-height: 1.6;
    margin: 0;
}

.footer__license strong {
    color: #e8eaf0;
    font-weight: 600;
}

@media (max-width: 600px) {
    .footer__legal {
        margin-top: 14px;
        padding-top: 12px;
    }
    .footer__warning {
        font-size: 0.8125rem;   /* 13px mobile (>12px MGA min) */
        gap: 6px;
    }
    .footer__warning i {
        font-size: 1rem;
    }
    .footer__license {
        font-size: 0.75rem;     /* 12px mobile (mínimo absoluto MGA) */
        line-height: 1.55;
    }
}

/* ============================================
   REGISTRO NATIVO DESHABILITADO
   El registro fue migrado a https://registro.coinlotery.fun/registro
   Estas reglas garantizan que aunque cualquier script legacy intente
   abrir los modales, queden ocultos. Login no se ve afectado.
   Para revertir: borrar este bloque.
   ============================================ */
#registerModal,
#securityWarningModal {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}



/* =========================================================
   TICKETS MODAL — UX REDESIGN (2026-05-06, Task #83 follow-up)
   Scope: #ticketsModalOverlay only. Overrides legacy
   .user-tickets / .tickets-container / .tickets-toolbar rules
   so the modal has a clean, single-row toolbar, ticket count
   chip in the header, lottery logos in filter chips, and no
   wasted vertical space caused by leaked grid/min-height rules.
   ========================================================= */
#ticketsModalOverlay .tickets-modal-header {
    padding: 16px 22px 14px;
    gap: 12px;
    align-items: flex-start;
}
#ticketsModalOverlay .tickets-modal-titlewrap {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
}
#ticketsModalOverlay .tickets-modal-titlewrap .section-title-small {
    font-size: 1.05rem;
    line-height: 1.25;
    color: #fff;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#ticketsModalOverlay .tickets-modal-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.14), rgba(74, 171, 223, 0.08));
    border: 1px solid rgba(6, 190, 222, 0.30);
    color: #06BEDE;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
}
#ticketsModalOverlay .tickets-modal-count[data-empty="true"] {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Body: kill leaked min-height + grid that pushed content down */
#ticketsModalOverlay .user-tickets {
    padding: 0;
    background: transparent;
    margin: 0;
    border: none;
    overflow: visible;
}
#ticketsModalOverlay .tickets-container {
    display: block;
    grid-template-columns: none;
    max-width: none;
    margin: 0;
    padding: 0;
    min-height: 0;
}
#ticketsModalOverlay .tickets-list-container {
    max-width: none;
    margin: 0;
    padding: 0;
    gap: 0.75rem;
}
#ticketsModalOverlay .loading-spinner {
    height: 220px;
}

/* Toolbar: single horizontal row, filters left, controls right */
#ticketsModalOverlay .tickets-toolbar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
#ticketsModalOverlay .ticket-filters {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    min-width: 0;
    flex: 1 1 auto;
}
#ticketsModalOverlay .ticket-filters::-webkit-scrollbar { display: none; }
#ticketsModalOverlay .ticket-utilities {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    align-items: center;
    flex-shrink: 0;
}

/* Filter chips with optional lottery logo */
#ticketsModalOverlay .filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.78rem;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
}
#ticketsModalOverlay .filter-btn:hover {
    border-color: rgba(6, 190, 222, 0.42);
    background: rgba(6, 190, 222, 0.07);
    color: #fff;
    transform: none;
}
#ticketsModalOverlay .filter-btn.active {
    background: linear-gradient(135deg, #06BEDE, #ffb830);
    color: #0A0E1A;
    border-color: rgba(6, 190, 222, 0.60);
    box-shadow: 0 2px 10px rgba(6, 190, 222, 0.26);
}
#ticketsModalOverlay .filter-btn__logo {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    background: #fff;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Utility buttons */
#ticketsModalOverlay .utility-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.76rem;
    line-height: 1;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
#ticketsModalOverlay .utility-btn:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
#ticketsModalOverlay .utility-btn i {
    width: 15px;
    height: 15px;
    stroke-width: 2.2;
}
#ticketsModalOverlay .utility-btn.refresh-tickets-btn {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.22), rgba(76, 175, 80, 0.12)) !important;
    border-color: rgba(76, 175, 80, 0.45) !important;
    color: #d6f5d6;
}
#ticketsModalOverlay .utility-btn.refresh-tickets-btn:hover {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.32), rgba(76, 175, 80, 0.2)) !important;
    border-color: rgba(76, 175, 80, 0.65) !important;
    color: #fff;
}
#ticketsModalOverlay .utility-btn.toggle-hidden-btn[aria-pressed="true"],
#ticketsModalOverlay .utility-btn.toggle-hidden-btn.active {
    background: linear-gradient(135deg, rgba(6, 190, 222, 0.18), rgba(74, 171, 223, 0.10));
    border-color: rgba(6, 190, 222, 0.46);
    color: #06BEDE;
}

/* Meta line under toolbar (last update) */
#ticketsModalOverlay .tickets-modal-meta {
    display: flex;
    justify-content: flex-end;
    margin: 0 0 12px;
    min-height: 14px;
}
#ticketsModalOverlay .tickets-last-update {
    background: transparent;
    border: none;
    padding: 0;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.01em;
}
#ticketsModalOverlay .tickets-last-update:empty { display: none; }

/* Empty / loading state polishing */
#ticketsModalOverlay #noTickets { padding: 2rem 1rem; }

/* Mobile-specific tweaks (≤768px) */
@media (max-width: 768px) {
    #ticketsModalOverlay .tickets-modal-header { padding: calc(12px + env(safe-area-inset-top, 0px)) 14px 10px; }
    #ticketsModalOverlay .tickets-modal-titlewrap .section-title-small { font-size: 0.98rem; }
    #ticketsModalOverlay .tickets-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding-bottom: 10px;
    }
    #ticketsModalOverlay .ticket-filters {
        overflow-x: auto;
        padding-bottom: 2px;
    }
    #ticketsModalOverlay .ticket-utilities {
        justify-content: space-between;
    }
    #ticketsModalOverlay .ticket-utilities .refresh-tickets-btn { flex: 1 1 auto; justify-content: center; }
    #ticketsModalOverlay .utility-btn--icon { padding: 7px 10px; }
    #ticketsModalOverlay .utility-btn--icon .utility-btn__label {
        position: absolute;
        width: 1px; height: 1px;
        padding: 0; margin: -1px;
        overflow: hidden;
        clip: rect(0,0,0,0);
        white-space: nowrap;
        border: 0;
    }
}

/* ============================================================
   SEO Fase 2 — bloque de interlinking "Sigue explorando"
   Usado en index.html, powerball.html, megamillions.html.
   Pill-style links con paleta dorada sobre fondo púrpura.
   ============================================================ */
.cl-seo-related {
    padding: 32px 16px 48px;
    background: transparent;
}
.cl-seo-related__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 24px 28px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(10, 14, 26, 0.55), rgba(8, 12, 24, 0.55));
    border: 1px solid rgba(6, 190, 222, 0.25);
}
.cl-seo-related__title {
    margin: 0 0 18px;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: clamp(1.25rem, 2.4vw, 1.6rem);
    font-weight: 700;
    color: #06BEDE;
    letter-spacing: 0.2px;
}
.cl-seo-related__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
}
.cl-seo-related__list li {
    margin: 0;
    padding: 0;
}
.cl-seo-related__list a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(6, 190, 222, 0.07);
    border: 1px solid rgba(6, 190, 222, 0.30);
    color: #06BEDE;
    text-decoration: none;
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.2;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.cl-seo-related__list a:hover,
.cl-seo-related__list a:focus-visible {
    background: rgba(6, 190, 222, 0.14);
    border-color: rgba(6, 190, 222, 0.52);
    color: #06BEDE;
    transform: translateY(-1px);
    text-decoration: none;
}
.cl-seo-related__list a:focus-visible {
    outline: 2px solid #06BEDE;
    outline-offset: 2px;
}
@media (max-width: 600px) {
    .cl-seo-related {
        padding: 20px 12px 32px;
    }
    .cl-seo-related__inner {
        padding: 18px 16px 22px;
        border-radius: 12px;
    }
    .cl-seo-related__list a {
        padding: 9px 14px;
        font-size: 0.88rem;
    }
}

/* ===== Lead Capture Band — Task #113 (Variante C aprobada) ===== */
.cl-lead-band{
  position:relative;
  padding:48px 24px 56px;
  background:linear-gradient(160deg,#080C18 0%,#0A0E1A 50%,#080C18 100%);
  border-top:1px solid rgba(140,60,220,0.3);
  border-bottom:1px solid rgba(140,60,220,0.3);
  font-family:'Manrope','Poppins',system-ui,-apple-system,'Segoe UI',sans-serif;
  color:#f6efff;
  -webkit-font-smoothing:antialiased;
}
.cl-lead-band::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:
    radial-gradient(circle at 15% 20%,rgba(6,190,222,0.10),transparent 45%),
    radial-gradient(circle at 85% 80%,rgba(140,60,220,0.30),transparent 55%);
  z-index:0;
}
.cl-lead-band__inner{
  position:relative;z-index:1;max-width:1100px;margin:0 auto;
  background:linear-gradient(160deg,rgba(35,15,60,0.92) 0%,rgba(22,8,42,0.92) 100%);
  border:1px solid rgba(6,190,222,0.45);
  border-radius:18px;
  padding:28px;
  box-shadow:0 24px 60px -20px rgba(0,0,0,0.6),inset 0 1px 0 rgba(6,190,222,0.08);
}
.cl-lead-band__inner--split{
  display:grid;grid-template-columns:1.1fr 2.4fr;gap:28px;align-items:center;
}
.cl-lead-band__intro{display:flex;flex-direction:column;gap:8px;}
.cl-lead-band__badge{
  display:inline-flex;align-items:center;gap:6px;
  background:rgba(6,190,222,0.12);border:1px solid rgba(6,190,222,0.4);
  color:#06BEDE;font-size:11px;font-weight:700;letter-spacing:0.08em;
  text-transform:uppercase;padding:6px 10px;border-radius:999px;
  align-self:flex-start;
}
.cl-lead-band__badge .cl-lead-band__badge-icon,
.cl-lead-band__badge svg,
.cl-lead-band__badge i[data-lucide]{width:12px;height:12px;}
.cl-lead-band__title{
  font-size:22px;line-height:1.2;font-weight:800;margin:6px 0 4px;color:#f6efff;letter-spacing:-0.01em;
}
.cl-lead-band__subtitle{font-size:13.5px;color:rgba(246,239,255,0.72);margin:0 0 8px;line-height:1.5;}
.cl-lead-band__perks{
  list-style:none;padding:0;margin:6px 0 0;display:grid;gap:8px;
  font-size:12.5px;color:rgba(246,239,255,0.78);
}
.cl-lead-band__perks li{display:flex;align-items:center;gap:8px;}
.cl-lead-band__perks svg,.cl-lead-band__perks i[data-lucide]{width:14px;height:14px;color:#06BEDE;}

.cl-lead-form{display:grid;gap:14px;margin:0;}
.cl-lead-form *{box-sizing:border-box;}
.cl-lead-form__grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;}
.cl-lead-form__field{position:relative;}
.cl-lead-form__icon{
  position:absolute;left:14px;top:50%;transform:translateY(-50%);
  width:17px;height:17px;color:#06BEDE;pointer-events:none;
}
.cl-lead-form__input,
.cl-lead-form__select{
  width:100%;background:rgba(15,5,30,0.55);border:1px solid rgba(140,60,220,0.45);
  border-radius:10px;padding:12px 14px 12px 42px;color:#f6efff;font-size:14px;
  font-family:inherit;outline:none;appearance:none;-webkit-appearance:none;
  transition:border-color .15s,box-shadow .15s,background .15s;
}
.cl-lead-form__select{
  padding-right:36px;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f6efff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat:no-repeat;background-position:right 12px center;background-size:14px 14px;
  background-color:rgba(15,5,30,0.55);
}
.cl-lead-form__input::placeholder{color:rgba(246,239,255,0.5);}
.cl-lead-form__input:focus,
.cl-lead-form__select:focus{
  border-color:#06BEDE;background-color:rgba(20,8,40,0.85);
  box-shadow:0 0 0 3px rgba(6,190,222,0.18);
}
.cl-lead-form__select option{background:#0A0E1A;color:#e6f8ff;}
.cl-lead-form__legal{
  display:flex;gap:10px;align-items:flex-start;
  background:rgba(6,190,222,0.06);border:1px solid rgba(6,190,222,0.28);
  border-radius:10px;padding:10px 12px;
}
.cl-lead-form__legal input[type="checkbox"]{
  flex-shrink:0;margin-top:2px;width:18px;height:18px;
  accent-color:#06BEDE;cursor:pointer;
}
.cl-lead-form__legal label{font-size:12px;line-height:1.5;color:rgba(246,239,255,0.88);cursor:pointer;}
.cl-lead-form__legal a{color:#06BEDE;text-decoration:underline;text-underline-offset:2px;}
.cl-lead-form__actions{display:flex;justify-content:flex-end;}
.cl-lead-form__submit{
  background:linear-gradient(135deg,#06BEDE 0%,#4AABDF 100%);
  color:#ffffff;border:none;border-radius:12px;padding:14px 28px;
  font-size:15px;font-weight:800;letter-spacing:0.02em;cursor:pointer;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  box-shadow:0 8px 24px -8px rgba(74,171,223,0.6);
  transition:transform .15s,box-shadow .15s,opacity .15s;
  font-family:inherit;white-space:nowrap;
}
.cl-lead-form__submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 12px 28px -8px rgba(74,171,223,0.8);}
.cl-lead-form__submit:disabled{opacity:0.7;cursor:wait;}
.cl-lead-form__submit svg,.cl-lead-form__submit i[data-lucide]{width:16px;height:16px;}
.cl-lead-form__disclaimer{
  display:inline-flex;align-items:center;gap:6px;font-size:11px;
  color:rgba(246,239,255,0.6);letter-spacing:0.04em;margin:0;
}
.cl-lead-form__disclaimer svg,.cl-lead-form__disclaimer i[data-lucide]{width:13px;height:13px;}
.cl-lead-form__status{
  margin:0;font-size:13px;border-radius:8px;padding:10px 12px;
}
.cl-lead-form__status[hidden]{display:none !important;}
.cl-lead-form__status--info{background:rgba(140,60,220,0.18);color:#f6efff;border:1px solid rgba(140,60,220,0.4);}
.cl-lead-form__status--success{background:rgba(40,160,80,0.18);color:#bff5cc;border:1px solid rgba(60,200,100,0.45);}
.cl-lead-form__status--error{background:rgba(220,60,60,0.18);color:#ffd0d0;border:1px solid rgba(220,80,80,0.45);}

@media (max-width:900px){
  .cl-lead-band__inner--split{grid-template-columns:1fr;}
  .cl-lead-form__grid{grid-template-columns:1fr 1fr;}
}

/* ===== Task #120 — Accordion (closed by default) ===== */
.cl-lead-band__details{
  position:relative;z-index:1;max-width:1100px;margin:0 auto;
  background:linear-gradient(160deg,rgba(35,15,60,0.92) 0%,rgba(22,8,42,0.92) 100%);
  border:1px solid rgba(6,190,222,0.45);
  border-radius:18px;
  box-shadow:0 24px 60px -20px rgba(0,0,0,0.6),inset 0 1px 0 rgba(6,190,222,0.08);
  overflow:hidden;
}
.cl-lead-band .cl-lead-band__details + .cl-lead-band__inner,
.cl-lead-band__details > summary{list-style:none;}
.cl-lead-band__details > summary::-webkit-details-marker{display:none;}
.cl-lead-band__details > summary::marker{display:none;content:"";}
.cl-lead-band__summary{
  display:flex;align-items:center;gap:14px;
  padding:18px 22px;min-height:64px;cursor:pointer;
  user-select:none;-webkit-tap-highlight-color:transparent;
}
.cl-lead-band__summary:focus-visible{
  outline:2px solid #06BEDE;outline-offset:-2px;
}
.cl-lead-band__summary-text{
  flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;
}
.cl-lead-band__summary .cl-lead-band__title{
  margin:0;font-size:18px;line-height:1.25;letter-spacing:-0.01em;
}
.cl-lead-band__microcopy{
  font-size:13px;color:rgba(246,239,255,0.72);font-weight:500;line-height:1.35;
}
.cl-lead-band__chevron{
  width:22px;height:22px;color:#06BEDE;flex-shrink:0;
  transition:transform .2s ease;
}
.cl-lead-band__details[open] > summary .cl-lead-band__chevron{
  transform:rotate(180deg);
}
.cl-lead-band__body{
  padding:24px 28px 28px;
  border-top:1px solid rgba(6,190,222,0.18);
}
.cl-lead-band__body.cl-lead-band__inner--split{
  display:grid;grid-template-columns:1.1fr 2.4fr;gap:28px;align-items:start;
}
@media (max-width:900px){
  .cl-lead-band__body.cl-lead-band__inner--split{grid-template-columns:1fr;}
  .cl-lead-band__summary{padding:16px 18px;gap:12px;}
  .cl-lead-band__summary .cl-lead-band__title{font-size:16px;}
  .cl-lead-band__microcopy{font-size:12px;}
}
@media (max-width:560px){
  .cl-lead-band__body{padding:20px 18px;}
  .cl-lead-band__summary{padding:14px 16px;}
}
@media (max-width:560px){
  .cl-lead-band{padding:32px 16px 40px;}
  .cl-lead-band__inner{padding:20px;}
  .cl-lead-band__title{font-size:18px;}
  .cl-lead-form__grid{grid-template-columns:1fr;}
  .cl-lead-form__actions{justify-content:stretch;}
  .cl-lead-form__submit{width:100%;}
}
/* ===== End Lead Capture Band ===== */
