/* =====================================================
   Tiradas Gratis Auto Generator PRO v4 — Frontend CSS
   ===================================================== */

/* ── ROOT VARIABLES ─────────────────────────────── */
:root {
  --tg-primary:   #e91e8c;
  --tg-secondary: #6c3ecf;
  --tg-gold:      #f5a623;
  --tg-green:     #27ae60;
  --tg-dark:      #1a1a2e;
  --tg-light:     #f8f9ff;
  --tg-border:    #e0e0e0;
  --tg-radius:    12px;
  --tg-shadow:    0 4px 20px rgba(0,0,0,.10);
}

/* ── HERO WRAP ───────────────────────────────────── */
.tiradas-hero-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--tg-radius);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--tg-shadow);
}
.tiradas-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.tiradas-hero-badge {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(233,30,140,.9);
  color: #fff;
  font-weight: 700;
  font-size: .85em;
  padding: 5px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

/* ── BREADCRUMB ──────────────────────────────────── */
.tiradas-breadcrumb {
  font-size: .85em;
  color: #888;
  margin-bottom: 18px;
  padding: 8px 14px;
  background: var(--tg-light);
  border-radius: 6px;
}
.tiradas-breadcrumb a {
  color: var(--tg-secondary);
  text-decoration: none;
}
.tiradas-breadcrumb a:hover {
  text-decoration: underline;
}
.tiradas-breadcrumb span {
  color: var(--tg-dark);
  font-weight: 600;
}

/* ── INTRO BOX ───────────────────────────────────── */
.tiradas-intro-box {
  background: linear-gradient(135deg, #fff8fe 0%, #f0f4ff 100%);
  border-left: 5px solid var(--tg-primary);
  border-radius: 0 var(--tg-radius) var(--tg-radius) 0;
  padding: 20px 24px;
  margin-bottom: 24px;
  line-height: 1.75;
}
.tiradas-intro-box p {
  margin: 0 0 12px;
}
.tiradas-intro-box p:last-child {
  margin: 0;
}

/* ── STATS BAR ───────────────────────────────────── */
.tiradas-stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.tiradas-stat {
  background: var(--tg-dark);
  color: #fff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: .85em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tiradas-stat strong {
  color: var(--tg-gold);
}

/* ── LINKS BOX ───────────────────────────────────── */
.tiradas-links-box {
  background: #fff;
  border: 2px solid var(--tg-primary);
  border-radius: var(--tg-radius);
  overflow: hidden;
  margin: 24px 0;
  box-shadow: var(--tg-shadow);
}

.tiradas-links-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, var(--tg-primary) 0%, var(--tg-secondary) 100%);
  color: #fff;
  padding: 14px 20px;
  font-weight: 700;
  font-size: 1em;
}
.tiradas-count-badge {
  background: rgba(255,255,255,.2);
  padding: 3px 12px;
  border-radius: 15px;
  font-size: .85em;
}

.tiradas-link-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--tg-border);
  transition: background .2s;
}
.tiradas-link-row:last-child {
  border-bottom: none;
}
.tiradas-link-row:hover {
  background: #fdf0f8;
}

.tiradas-num {
  background: var(--tg-primary);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9em;
  flex-shrink: 0;
}

.tiradas-link-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.tiradas-amount {
  font-weight: 700;
  font-size: 1.05em;
  color: var(--tg-dark);
}
.tiradas-expires {
  font-size: .78em;
  color: #888;
}

.tiradas-collect-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, var(--tg-primary) 0%, #c2185b 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: .92em;
  padding: 11px 22px;
  border-radius: 30px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
  box-shadow: 0 3px 12px rgba(233,30,140,.3);
}
.tiradas-collect-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233,30,140,.45);
}
.tiradas-btn-icon {
  font-size: 1.1em;
}

/* ── EMPTY STATE ─────────────────────────────────── */
.tiradas-empty {
  text-align: center;
  padding: 40px 24px;
  background: var(--tg-light);
  border: 2px dashed var(--tg-border);
  border-radius: var(--tg-radius);
  margin: 24px 0;
}
.tiradas-empty-icon {
  font-size: 3em;
  display: block;
  margin-bottom: 12px;
}
.tiradas-empty p {
  color: #666;
  font-size: 1em;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ── NOTICE BOX ──────────────────────────────────── */
.tiradas-notice {
  background: #fff8e1;
  border-left: 4px solid var(--tg-gold);
  border-radius: 0 8px 8px 0;
  padding: 12px 18px;
  margin: 20px 0;
  font-size: .92em;
}
.tiradas-notice p {
  margin: 0;
}

/* ── STEPS LIST ──────────────────────────────────── */
.tiradas-steps {
  padding-left: 0;
  list-style: none;
  counter-reset: step-counter;
}
.tiradas-steps li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  margin-bottom: 10px;
  background: var(--tg-light);
  border-radius: 8px;
  border-left: 3px solid var(--tg-primary);
  line-height: 1.6;
}

/* ── CLEAN LIST ──────────────────────────────────── */
.tiradas-list-clean {
  list-style: none;
  padding: 0;
}
.tiradas-list-clean li {
  padding: 10px 0;
  border-bottom: 1px solid var(--tg-border);
  line-height: 1.65;
}
.tiradas-list-clean li:last-child {
  border-bottom: none;
}

/* ── METHODS LIST ────────────────────────────────── */
.tiradas-methods-list {
  list-style: none;
  padding: 0;
}
.tiradas-methods-list li {
  background: #fff;
  border: 1px solid var(--tg-border);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 10px;
  line-height: 1.65;
  transition: border-color .2s;
}
.tiradas-methods-list li:hover {
  border-color: var(--tg-primary);
}

/* ── FAQ SECTION ─────────────────────────────────── */
.tiradas-faq {
  margin: 16px 0;
}
.tiradas-faq-item {
  background: #fff;
  border: 1px solid var(--tg-border);
  border-radius: var(--tg-radius);
  padding: 20px 24px;
  margin-bottom: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.tiradas-faq-item h3 {
  color: var(--tg-dark);
  font-size: 1.05em;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tiradas-faq-item h3::before {
  content: "Q";
  background: var(--tg-secondary);
  color: #fff;
  font-size: .75em;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tiradas-faq-item p {
  margin: 0;
  color: #444;
  line-height: 1.7;
}

/* ── PREVIOUS LINKS ──────────────────────────────── */
.tiradas-prev-links {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
.tiradas-prev-links li {
  padding: 10px 14px;
  background: var(--tg-light);
  border-radius: 6px;
  margin-bottom: 7px;
  font-size: .95em;
}
.tiradas-prev-links a {
  color: var(--tg-secondary);
  text-decoration: none;
  font-weight: 600;
}
.tiradas-prev-links a:hover {
  color: var(--tg-primary);
  text-decoration: underline;
}

/* ── ABOUT BOX ───────────────────────────────────── */
.tiradas-about-box {
  background: linear-gradient(135deg, #f8f9ff 0%, #fff5fb 100%);
  border: 1px solid var(--tg-border);
  border-radius: var(--tg-radius);
  padding: 24px 28px;
  margin-top: 32px;
}
.tiradas-about-box h2 {
  font-size: 1.2em;
  color: var(--tg-dark);
  margin-top: 0;
}
.tiradas-about-box p {
  color: #555;
  line-height: 1.75;
  margin-bottom: 12px;
}
.tiradas-about-box p:last-child {
  margin: 0;
}

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 640px) {
  .tiradas-stats-bar {
    flex-direction: column;
  }
  .tiradas-link-row {
    flex-wrap: wrap;
    gap: 10px;
  }
  .tiradas-link-info {
    width: 100%;
  }
  .tiradas-collect-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 1em;
  }
  .tiradas-links-header {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }
}
