/* colombiajuega.store - main stylesheet */
/* Base reset and typography */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111111;
  background: #f5f7fb;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 0 0 0.85rem;
}

h1, h2, h3, h4 {
  margin: 0 0 0.6rem;
  line-height: 1.25;
  font-weight: 650;
  color: #042444;
}

h1 { font-size: 1.9rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }

ul {
  margin: 0 0 0.8rem;
  padding-left: 1.1rem;
}

/* Layout utilities */
.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: 2.5rem 0;
}

.section-header {
  max-width: 720px;
  margin-bottom: 1.75rem;
}

.section-header p {
  color: #364764;
}

.card {
  background: #ffffff;
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 10px 25px rgba(4, 36, 68, 0.06);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245, 247, 251, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 18px rgba(4, 36, 68, 0.15);
  background: rgba(245, 247, 251, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: #042444;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0066cc, #ff6600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.logo-text {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* Navigation */
.main-nav {
  position: relative;
}

.nav-toggle {
  border: none;
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 0.25rem;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #042444;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0.6rem 0 0;
  position: absolute;
  right: 0;
  top: 100%;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 12px 25px rgba(4, 36, 68, 0.16);
  min-width: 190px;
  display: none;
}

.nav-list.is-open {
  display: block;
}

.nav-list li a {
  display: block;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
  color: #243a5a;
}

.nav-list li a:hover {
  background: rgba(0, 102, 204, 0.04);
  text-decoration: none;
}

.nav-list li a.is-active {
  color: #0066cc;
  font-weight: 600;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease, color 0.16s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #0066cc, #004b99);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(0, 102, 204, 0.55);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 102, 204, 0.65);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(4, 36, 68, 0.16);
  color: #042444;
}

.btn-ghost:hover {
  background: rgba(4, 36, 68, 0.04);
}

.btn-compact {
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  border-radius: 999px;
  background: #ff6600;
  color: #ffffff;
  box-shadow: 0 6px 12px rgba(255, 102, 0, 0.5);
}

.btn-compact:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 16px rgba(255, 102, 0, 0.55);
}

/* Hero */
.hero {
  padding: 2.2rem 0 2.7rem;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

@media (min-width: 720px) {
  .hero-content {
    flex: 1.35;
  }
}
@media (min-width: 720px) {
  .hero-aside {
    flex: 1;
    justify-content: flex-end;
  }
}

.hero-copy p {
  color: #364764;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0066cc;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1rem 0 0.5rem;
}

.hero-bullets {
  list-style: none;
  padding-left: 0;
  font-size: 0.9rem;
  color: #364764;
}

.hero-bullets li {
  margin-bottom: 0.25rem;
}

.hero-aside {
  display: flex;
  justify-content: flex-start;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(0, 102, 204, 0.08), #ffffff);
  border-radius: 14px;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 16px 40px rgba(4, 36, 68, 0.18);
  max-width: 320px;
}

.hero-card-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  color: #0066cc;
  margin-bottom: 0.6rem;
}

.hero-metric {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.hero-metric-number {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ff6600;
}

.hero-metric-label {
  font-size: 0.85rem;
  color: #364764;
}

.hero-note {
  margin-top: 0.7rem;
  font-size: 0.8rem;
  color: #6b7a96;
}

/* Ranking table */
.section-ranking {
  padding-top: 0;
}

.table-wrapper {
  overflow-x: auto;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(4, 36, 68, 0.12);
  padding: 0.4rem 0.4rem 0.7rem;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.87rem;
  min-width: 640px;
}

.ranking-table thead {
  background: linear-gradient(90deg, rgba(0, 102, 204, 0.07), rgba(255, 102, 0, 0.07));
}

.ranking-table th,
.ranking-table td {
  padding: 0.55rem 0.6rem;
  text-align: left;
}

.ranking-table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #364764;
}

.ranking-table tbody tr:nth-child(even) {
  background: rgba(4, 36, 68, 0.018);
}

.table-row-highlight {
  box-shadow: inset 2px 0 0 #0066cc;
}

.table-cta-col {
  text-align: right;
}

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

.casino-logo {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #d5def0;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.casino-meta {
  display: flex;
  flex-direction: column;
}

.casino-name {
  font-weight: 600;
  color: #042444;
}

.casino-tagline {
  font-size: 0.8rem;
  color: #6b7a96;
}

/* Simple logo variants */
.logo-a {
  background: linear-gradient(135deg, #0066cc, #00a3ff);
}

.logo-b {
  background: linear-gradient(135deg, #ff6600, #ff9b3b);
}

.logo-c {
  background: linear-gradient(135deg, #3ccf7c, #11a24b);
}

/* Rating & badges */
.rating-badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.1rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(0, 102, 204, 0.06);
  color: #042444;
}

.rating-score {
  font-weight: 700;
  font-size: 1rem;
}

.badge {
  display: inline-block;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-fast {
  background: rgba(60, 207, 124, 0.12);
  color: #13864b;
}

.badge-medium {
  background: rgba(255, 153, 51, 0.12);
  color: #c06800;
}

.pill {
  display: inline-block;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(4, 36, 68, 0.04);
  color: #364764;
}

.pill-top {
  background: rgba(0, 102, 204, 0.12);
  color: #004b99;
}

.pill-bonus {
  background: rgba(255, 102, 0, 0.12);
  color: #b24b00;
}

.pill-support {
  background: rgba(130, 85, 255, 0.12);
  color: #4a31b5;
}

.ranking-footnote {
  font-size: 0.78rem;
  color: #6b7a96;
  margin-top: 0.7rem;
}

/* Guide and tips sections */
.guide-grid {
  display: grid;
  gap: 1.1rem;
}

.section-guide .guide-card h3 {
  margin-bottom: 0.4rem;
}

.section-tips .tips-layout {
  display: grid;
  gap: 1.3rem;
}

.tips-aside .checklist {
  list-style: none;
  padding-left: 0;
  font-size: 0.9rem;
}

.tips-aside .checklist li {
  margin-bottom: 0.35rem;
}

/* Responsible & about layouts */
.about-grid,
.responsible-grid {
  display: grid;
  gap: 1.2rem;
}

.methodology-layout,
.contact-layout,
.tips-layout {
  display: grid;
  gap: 1.5rem;
}

.methodology-aside .checklist {
  list-style: none;
  padding-left: 0;
  font-size: 0.9rem;
}

.methodology-aside .checklist li {
  margin-bottom: 0.35rem;
}

/* Contact page */
.contact-form-wrapper h2 {
  margin-bottom: 0.8rem;
}

.form-row {
  margin-bottom: 0.9rem;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.required {
  color: #ff6600;
}

input[type="text"],
input[type="email"],
select,
textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(4, 36, 68, 0.16);
  font-size: 0.94rem;
  font-family: inherit;
  transition: border 0.16s ease, box-shadow 0.16s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.18);
}

textarea {
  resize: vertical;
  min-height: 130px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.86rem;
}

.checkbox input[type="checkbox"] {
  margin-top: 0.15rem;
}

.field-error {
  margin: 0.2rem 0 0;
  min-height: 1rem;
  font-size: 0.78rem;
  color: #c0392b;
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #6b7a96;
}

.form-success {
  margin-top: 0.6rem;
  font-size: 0.9rem;
  color: #13864b;
}

/* FAQ */
.faq-item {
  border-radius: 8px;
  border: 1px solid rgba(4, 36, 68, 0.08);
  padding: 0.6rem 0.8rem;
  margin-bottom: 0.6rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

/* Page hero */
.page-hero {
  padding: 2.2rem 0 1.5rem;
}

/* Legal text */
.legal-text h2 {
  margin-top: 1.4rem;
}

/* Contact CTA on home */
.section-contact-cta .contact-cta-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
  background: linear-gradient(120deg, rgba(0, 102, 204, 0.07), rgba(255, 102, 0, 0.05));
  border-radius: 14px;
  padding: 1.4rem 1.3rem;
}

.section-contact-cta .contact-cta-copy p {
  color: #364764;
}

.section-contact-cta .small-note {
  font-size: 0.8rem;
  color: #6b7a96;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: 2rem;
  padding: 1.4rem 0 1.6rem;
  background: #ffffff;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: #6b7a96;
  max-width: 720px;
  margin: 0 auto 0.6rem;
}

.footer-links {
  font-size: 0.82rem;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: #0066cc;
  color: #ffffff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.7);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Animations - base classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(12px);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 15+ keyframe animations */
@keyframes fadeInUpSoft {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(24px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes bounceIn {
  0% { transform: scale(0.9); opacity: 0; }
  60% { transform: scale(1.03); opacity: 1; }
  100% { transform: scale(1); }
}

@keyframes pulseSoft {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 102, 204, 0.23); }
  50% { transform: scale(1.03); box-shadow: 0 0 0 11px rgba(0, 102, 204, 0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

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

@keyframes glow {
  0%, 100% { box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
  50% { box-shadow: 0 0 18px rgba(255, 102, 0, 0.75); }
}

@keyframes tiltIn {
  from { opacity: 0; transform: translateY(20px) rotate(-2deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@keyframes rotateInSoft {
  from { opacity: 0; transform: rotate(-6deg); }
  to { opacity: 1; transform: rotate(0); }
}

@keyframes blurIn {
  from { opacity: 0; filter: blur(8px); }
  to { opacity: 1; filter: blur(0); }
}

@keyframes zoomInSoft {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

/* Animation helpers */
.anim-fade-up {
  animation: fadeInUpSoft 0.6s ease forwards;
}

.anim-fade {
  animation: fadeIn 0.6s ease forwards;
}

.anim-slide-up {
  animation: slideUp 0.6s ease forwards;
}

.anim-slide-left {
  animation: slideInLeft 0.6s ease forwards;
}

.anim-slide-right {
  animation: slideInRight 0.6s ease forwards;
}

.anim-bounce-in {
  animation: bounceIn 0.6s ease forwards;
}

.anim-pulse {
  animation: pulseSoft 1.4s ease-out forwards;
}

.anim-scale-in {
  animation: scaleIn 0.55s ease forwards;
}

.anim-float {
  animation: floatSoft 3.4s ease-in-out infinite;
}

.anim-glow {
  animation: glow 1.6s ease-in-out infinite;
}

.anim-tilt {
  animation: tiltIn 0.7s ease forwards;
}

.anim-rotate-in {
  animation: rotateInSoft 0.6s ease forwards;
}

.anim-blur-in {
  animation: blurIn 0.5s ease forwards;
}

.anim-zoom-in {
  animation: zoomInSoft 0.5s ease forwards;
}

/* Special animation for CTA buttons */
.btn-pulse-once {
  animation: pulseSoft 1.2s ease-out 1;
}

/* Utility classes */
.small-note {
  font-size: 0.8rem;
  color: #6b7a96;
}

/* Responsive */
@media (min-width: 720px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }

  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero-copy {
    flex: 1.4;
  }

  .hero-aside {
    flex: 1;
    justify-content: flex-end;
  }

  .guide-grid,
  .about-grid,
  .responsible-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .methodology-layout,
  .tips-layout,
  .contact-layout {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
    align-items: flex-start;
  }

  .section-contact-cta .contact-cta-card {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-inner {
    text-align: left;
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .nav-list {
    position: static;
    display: flex !important;
    box-shadow: none;
    background: transparent;
    padding: 0;
    min-width: 0;
  }

  .nav-list li a {
    padding: 0.25rem 0.6rem;
    font-size: 0.9rem;
  }
}

a.btn.btn--mini.js-cta.btn-compact {
  width: 100%;
}