/* ============================================
   BONOS DE CASINO ONLINE - STYLES
   Dark Mode | Glassmorphism | Responsive
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0f172a;
  --bg-darker: #0a0f1f;
  --bg-card: rgba(30, 41, 59, 0.7);
  --text-light: #f1f5f9;
  --text-muted: #cbd5e1;
  --accent-green: #22c55e;
  --accent-green-dark: #16a34a;
  --accent-blue: #0ea5e9;
  --accent-red: #ef4444;
  --border-glass: rgba(255, 255, 255, 0.1);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(34, 197, 94, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
  color: var(--text-light);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  color: var(--accent-green);
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 1rem;
}

a {
  color: var(--accent-green);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-weight: 500;
  color: var(--text-muted);
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-green);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--accent-green);
  text-decoration: none;
}

nav a:hover::after {
  width: 100%;
}

.btn-melbet {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
  color: white;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-left: 15px;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
  border: none;
  cursor: pointer;
}

.btn-melbet:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
  color: white;
  text-decoration: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent-green);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  max-width: 1200px;
  margin: 4rem auto;
  padding: 0 2rem;
  text-align: center;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
  border: none;
  cursor: pointer;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.5);
  color: white;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--accent-blue);
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-blue);
  cursor: pointer;
  display: inline-block;
}

.btn-secondary:hover {
  background: rgba(14, 165, 233, 0.1);
  transform: translateY(-5px);
  color: var(--accent-blue);
  text-decoration: none;
}

/* ============================================
   CARDS & GLASS MORPHISM
   ============================================ */

.card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-glass);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-green);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.2);
}

.card-title {
  color: var(--accent-green);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ============================================
   TABLES
   ============================================ */

.table-container {
  overflow-x: auto;
  margin: 2rem 0;
  border-radius: 15px;
  border: 1px solid var(--border-glass);
  background: var(--bg-card);
  backdrop-filter: blur(20px);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

thead {
  background: rgba(34, 197, 94, 0.1);
  border-bottom: 2px solid var(--accent-green);
}

thead th {
  padding: 1.2rem;
  text-align: left;
  font-weight: 700;
  color: var(--accent-green);
}

tbody td {
  padding: 1.2rem;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-muted);
}

tbody tr:hover {
  background: rgba(34, 197, 94, 0.05);
}

/* ============================================
   LISTS & SECTIONS
   ============================================ */

.section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
}

.content-list {
  list-style: none;
}

.content-list li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  color: var(--text-muted);
}

.content-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: bold;
  font-size: 1.2rem;
}

.numbered-list {
  list-style: none;
  counter-reset: step-counter;
}

.numbered-list li {
  counter-increment: step-counter;
  margin-bottom: 1.5rem;
  padding-left: 3rem;
  position: relative;
  color: var(--text-muted);
}

.numbered-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background: var(--accent-green);
  color: var(--bg-dark);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* ============================================
   BLOCKS & CALLOUTS
   ============================================ */

.tip-block, .warning-block, .cta-block {
  padding: 1.5rem;
  border-radius: 15px;
  margin: 2rem 0;
  border-left: 4px solid var(--accent-green);
  background: rgba(34, 197, 94, 0.05);
  backdrop-filter: blur(10px);
}

.warning-block {
  border-left-color: var(--accent-red);
  background: rgba(239, 68, 68, 0.05);
}

.cta-block {
  border: 2px solid var(--accent-green);
  background: rgba(34, 197, 94, 0.1);
  text-align: center;
  padding: 2rem;
}

.cta-block h3 {
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.tip-block strong, .warning-block strong {
  color: var(--accent-green);
}

.warning-block strong {
  color: var(--accent-red);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-container {
  margin: 2rem 0;
}

.faq-item {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent-green);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.1);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--accent-green);
  user-select: none;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(34, 197, 94, 0.05);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: var(--accent-green);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  margin-top: 4rem;
  padding: 3rem 0 1rem 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--accent-green);
  margin-bottom: 1rem;
}

.footer-section a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-section a:hover {
  color: var(--accent-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */

#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  z-index: 999;
  box-shadow: var(--shadow-glass);
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.3s ease;
}

#cookie-consent.show {
  opacity: 1;
  transform: translateY(0);
}

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.cookie-text a {
  color: var(--accent-green);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 8px 16px;
  border-radius: 25px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: var(--accent-green);
  color: var(--bg-dark);
}

.cookie-accept:hover {
  background: var(--accent-green-dark);
}

.cookie-manage {
  background: transparent;
  color: var(--accent-green);
  border: 2px solid var(--accent-green);
}

.cookie-manage:hover {
  background: rgba(34, 197, 94, 0.1);
}

/* ============================================
   FORM ELEMENTS
   ============================================ */

input, textarea, select {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-glass);
  color: var(--text-light);
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  margin-bottom: 1rem;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  background: rgba(30, 41, 59, 0.8);
  border-color: var(--accent-green);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    margin: 2rem auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  nav {
    gap: 1rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  .btn-melbet {
    padding: 8px 16px;
    margin-left: 0;
    font-size: 0.85rem;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #cookie-consent {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }

  .table-container {
    font-size: 0.85rem;
  }

  thead th, tbody td {
    padding: 0.8rem;
  }

  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    flex-direction: column;
    padding: 1rem;
    border-bottom: 1px solid var(--border-glass);
    gap: 1rem;
  }

  nav.active {
    display: flex;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .section {
    padding: 0 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .cta-block {
    padding: 1.5rem;
  }
}
