/* ============================================================
   website.css — Portal Web Responsivo Completo (Falling Pickaxe)
   ============================================================ */

/* Permitir scroll en la página principal */
html,
body {
  height: auto !important;
  min-height: 100vh;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-behavior: smooth;
}

body {
  background-color: #0A0D14;
  background-image:
    radial-gradient(circle at 50% 0%, rgba(30, 41, 69, 0.6) 0%, rgba(10, 13, 20, 1) 70%),
    url('../assets/bg/background.png');
  background-size: cover;
  background-attachment: fixed;
  background-position: center top;
}

/* ——— TICKER DE GANANCIAS EN VIVO (MARQUEE) ——— */
.live-ticker-bar {
  margin-top: 62px;
  background: #080B10;
  border-bottom: 1px solid rgba(255, 196, 0, 0.2);
  padding: 6px 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 13px;
  color: #A9AFB8;
}

.ticker-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
}

.ticker-content span {
  margin-right: 40px;
}

.gold-text {
  color: var(--gold);
}

@keyframes marquee {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

/* ——— NAVEGACIÓN SUPERIOR FIJA ——— */
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(15, 20, 32, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 24px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo-icon {
  font-size: 28px;
  filter: drop-shadow(0 2px 8px rgba(255, 196, 0, 0.4));
}

.site-logo-text {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: 1px;
}

.site-logo-text span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
}

.nav-links a {
  color: #A9AFB8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #FFFFFF;
}

.btn-bonus-header {
  background: linear-gradient(180deg, #FFC400 0%, #E6B000 100%);
  color: #000000 !important;
  font-weight: 700 !important;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(255, 196, 0, 0.3);
}

.btn-profile-header {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: 20px;
}

.btn-reset-nav-header {
  background: linear-gradient(180deg, #E53935 0%, #B71C1C 100%);
  color: #FFFFFF;
  border: 1px solid #FF8A80;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.4);
}

.btn-reset-nav-header:hover {
  background: linear-gradient(180deg, #FF5252 0%, #C62828 100%);
}

/* ——— MENÚ MÓVIL (HAMBURGUESA & DRAWER) ——— */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #FFF;
  font-size: 28px;
  cursor: pointer;
}

.mobile-drawer {
  display: none !important;
  flex-direction: column;
  background: #0F1420;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 15px 24px;
}

.mobile-drawer.open {
  display: flex !important;
}

.drawer-link {
  color: #E2E8F0 !important;
  text-decoration: none !important;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 15px;
}

.drawer-link:hover {
  color: var(--gold) !important;
}

.gold-link {
  color: var(--gold) !important;
  font-weight: bold;
}

.reset-link {
  color: #FF5252 !important;
  font-weight: bold;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

/* ——— SECCIÓN HERO / CONTENEDOR DEL JUEGO ——— */
.hero-section {
  width: 100%;
  max-width: 100%;
  margin: 62px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.game-top-bar {
  width: 100%;
  max-width: 100%;
  margin-bottom: 12px;
  display: flex;
  justify-content: flex-end;
  z-index: 50;
  padding: 0 20px;
}

.btn-reset-web {
  background: linear-gradient(180deg, #E53935 0%, #B71C1C 100%);
  color: #FFFFFF;
  border: 1px solid #FF8A80;
  padding: 8px 18px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-reset-web:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #FF5252 0%, #C62828 100%);
}

.game-wrapper {
  width: 100%;
  max-width: 98%;
  height: 474px;
  background: transparent;
  overflow: hidden;
  position: relative;
  margin: 0 auto;
}

@media (max-width: 600px) {
  .hero-section {
    margin-top: 105px !important;
  }
  .game-wrapper {
    height: 72vh;
  }
}

#game-container {
  height: 100% !important;
  position: relative;
}

/* ——— INFORMACIÓN Y CONTENIDO RESPONSIVO ——— */
.content-section {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 36px;
  text-align: center;
  color: #FFFFFF;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.section-title span {
  color: var(--gold);
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.info-card {
  background: rgba(18, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 196, 0, 0.4);
}

.info-card-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.info-card h3 {
  font-size: 18px;
  color: var(--gold);
  margin-bottom: 8px;
}

.info-card p {
  font-size: 14px;
  color: #A9AFB8;
  line-height: 1.5;
}

/* ——— TABLA DE CLASIFICACIÓN EN VIVO ——— */
.leaderboard-web-card {
  background: rgba(18, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.table-responsive {
  overflow-x: auto;
}

.web-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
}

.web-table th {
  background: rgba(255, 255, 255, 0.05);
  color: var(--gold);
  padding: 14px 16px;
  font-weight: 700;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.web-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #E2E8F0;
}

.web-table tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

/* ——— MODALES EXTRA (PAYTABLE, DAILY BONUS, LEGAL) ——— */
.wide-modal {
  max-width: 720px !important;
}

.paytable-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.paytable-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}

.paytable-card.special {
  border-color: rgba(255, 196, 0, 0.4);
  background: rgba(255, 196, 0, 0.05);
}

.paytable-img-wrap {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.paytable-img-wrap img {
  max-height: 44px;
  max-width: 44px;
  image-rendering: pixelated;
}

.paytable-card h4 {
  font-size: 13px;
  color: #FFF;
  margin-bottom: 4px;
}

.paytable-mult {
  color: var(--gold);
  font-weight: bold;
  font-size: 15px;
}

.paytable-hp {
  font-size: 11px;
  color: #A9AFB8;
  display: block;
}

/* ——— FOOTER ——— */
.site-footer {
  background: #07090E;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 50px 20px 30px;
  margin-top: 60px;
  color: #A9AFB8;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #A9AFB8;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 13px;
}

.badge-18 {
  display: inline-block;
  background: #E53935;
  color: #FFF;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}