/* IQ777 Page-Specific Themes — visual differentiation for high-intent SEO landing pages */

/* ============ 1. MINES — deep blue matrix + neon green ============ */
body.theme-mines { --accent: #22c55e; --accent-2: #06b6d4; }
body.theme-mines .hero {
  background: radial-gradient(ellipse at top, #0f1e3d 0%, #050b1a 70%);
  color: #e2e8f0;
  position: relative; overflow: hidden;
}
body.theme-mines .hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(34,197,94,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,197,94,.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
}
body.theme-mines .hero h1, body.theme-mines .hero .lead { color: #e2e8f0; position: relative; }
body.theme-mines .hero .text-gold { color: #22c55e !important; }
body.theme-mines .hero .btn-hero { background: linear-gradient(135deg, #22c55e, #06b6d4); color: #0a0a0a; box-shadow: 0 0 30px rgba(34,197,94,.5); }
body.theme-mines .card { border-left: 3px solid #22c55e; }

.mines-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; max-width: 360px; margin: 2rem auto; }
.mines-grid .cell {
  aspect-ratio: 1; background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid #22c55e33; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; cursor: pointer; transition: all .2s;
  color: transparent;
}
.mines-grid .cell:hover { transform: scale(1.05); border-color: #22c55e; box-shadow: 0 0 12px rgba(34,197,94,.6); }
.mines-grid .cell.safe { background: linear-gradient(135deg, #16a34a, #15803d); color: #fff; }
.mines-grid .cell.bomb { background: linear-gradient(135deg, #dc2626, #991b1b); color: #fff; }

/* ============ 2. CRAZY TIME — red velvet + gold wheel ============ */
body.theme-crazy { --accent: #f59e0b; --accent-2: #dc2626; }
body.theme-crazy .hero {
  background:
    radial-gradient(ellipse at top, #7f1d1d 0%, #1a0505 80%),
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(0,0,0,.1) 20px, rgba(0,0,0,.1) 40px);
  color: #fef3c7;
}
body.theme-crazy .hero h1, body.theme-crazy .hero .lead { color: #fef3c7; }
body.theme-crazy .hero .text-gold { color: #fbbf24 !important; }
body.theme-crazy .hero .btn-hero { background: linear-gradient(135deg, #fbbf24, #d97706); color: #1a0505; box-shadow: 0 0 40px rgba(251,191,36,.5); }
body.theme-crazy .card { border-top: 3px solid #fbbf24; }

.crazy-wheel { width: 280px; height: 280px; margin: 2rem auto; position: relative;
  border-radius: 50%; border: 8px solid #fbbf24;
  background: conic-gradient(
    #dc2626 0deg 45deg, #1e3a8a 45deg 90deg, #fbbf24 90deg 135deg,
    #16a34a 135deg 180deg, #dc2626 180deg 225deg, #1e3a8a 225deg 270deg,
    #fbbf24 270deg 315deg, #16a34a 315deg 360deg);
  box-shadow: 0 0 60px rgba(251,191,36,.6), inset 0 0 30px rgba(0,0,0,.4);
  animation: crazySpin 30s linear infinite;
}
.crazy-wheel::after { content: ''; position: absolute; inset: 35%; background: #1a0505; border-radius: 50%; border: 4px solid #fbbf24; }
@keyframes crazySpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
.crazy-bonus-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; max-width: 600px; margin: 2rem auto; }
.crazy-bonus-grid .bonus { padding: 1.5rem; border-radius: 12px; color: #fff; text-align: center; }
.crazy-bonus-grid .b1 { background: linear-gradient(135deg, #dc2626, #7f1d1d); }
.crazy-bonus-grid .b2 { background: linear-gradient(135deg, #1e3a8a, #1e1b4b); }
.crazy-bonus-grid .b3 { background: linear-gradient(135deg, #d97706, #92400e); }
.crazy-bonus-grid .b4 { background: linear-gradient(135deg, #16a34a, #14532d); }

/* ============ 3. GCASH — sky blue + GCash brand ============ */
body.theme-gcash { --accent: #0066cc; --accent-2: #00b8d4; }
body.theme-gcash .hero {
  background: linear-gradient(135deg, #0066cc 0%, #00b8d4 100%);
  color: #fff; position: relative;
}
body.theme-gcash .hero h1, body.theme-gcash .hero .lead { color: #fff; }
body.theme-gcash .hero .btn-primary { background: #fbbf24; color: #003366; font-weight: 700; }
body.theme-gcash .card { border-top: 4px solid #0066cc; }

.gcash-flow { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; max-width: 900px; margin: 2rem auto; position: relative; }
.gcash-flow .step { background: #fff; border-radius: 12px; padding: 1.5rem; text-align: center; box-shadow: 0 4px 16px rgba(0,102,204,.15); border: 2px solid #00b8d4; position: relative; }
.gcash-flow .step-num { display: inline-flex; width: 40px; height: 40px; background: linear-gradient(135deg, #0066cc, #00b8d4); color: #fff; border-radius: 50%; align-items: center; justify-content: center; font-weight: 800; margin-bottom: .75rem; }
.gcash-flow .step-time { color: #0066cc; font-weight: 700; font-size: .85rem; margin-top: .5rem; }
.gcash-clock { display: inline-block; padding: 1rem 2rem; background: linear-gradient(135deg, #00b8d4, #0066cc); color: #fff; border-radius: 999px; font-size: 1.25rem; font-weight: 800; box-shadow: 0 4px 20px rgba(0,184,212,.4); }

/* ============ 4. WELCOME BONUS — gold coin rain ============ */
body.theme-bonus { --accent: #fbbf24; --accent-2: #d97706; }
body.theme-bonus .hero {
  background: radial-gradient(ellipse at top, #422006 0%, #1a0a02 80%);
  color: #fef3c7; position: relative; overflow: hidden;
}
body.theme-bonus .hero::before {
  content: '₱ ₱ ₱ ₱ ₱ ₱ ₱ ₱ ₱ ₱ ₱ ₱ ₱ ₱ ₱';
  position: absolute; inset: 0; font-size: 2rem; color: rgba(251,191,36,.15);
  letter-spacing: 3rem; line-height: 3rem; word-spacing: 1rem;
  transform: rotate(-15deg); pointer-events: none;
}
body.theme-bonus .hero h1, body.theme-bonus .hero .lead { color: #fef3c7; position: relative; }
body.theme-bonus .hero .text-gold { color: #fbbf24 !important; }
body.theme-bonus .hero .btn-hero { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #422006; box-shadow: 0 0 40px rgba(251,191,36,.6); font-size: 1.1rem; }
body.theme-bonus .card { border-top: 3px solid #fbbf24; background: linear-gradient(180deg, #fff 0%, #fffbeb 100%); }

.bonus-counter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 600px; margin: 2rem auto; text-align: center; }
.bonus-counter .stat { background: linear-gradient(135deg, #fbbf24, #d97706); color: #422006; border-radius: 16px; padding: 1.5rem; box-shadow: 0 8px 24px rgba(251,191,36,.3); }
.bonus-counter .stat-num { font-size: 2.5rem; font-weight: 900; font-family: var(--font-display); line-height: 1; }
.bonus-counter .stat-label { font-size: .85rem; margin-top: .5rem; text-transform: uppercase; letter-spacing: .05em; }
.wagering-bar { max-width: 600px; margin: 2rem auto; }
.wagering-bar .track { height: 24px; background: #fef3c7; border-radius: 999px; overflow: hidden; border: 2px solid #fbbf24; }
.wagering-bar .fill { height: 100%; width: 45%; background: linear-gradient(90deg, #fbbf24, #d97706); display: flex; align-items: center; justify-content: flex-end; padding-right: .75rem; color: #fff; font-weight: 700; font-size: .85rem; }

/* ============ 5. PAGCOR — navy trust + gold seal ============ */
body.theme-pagcor { --accent: #1e40af; --accent-2: #d4a017; }
body.theme-pagcor .hero {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e1b4b 100%);
  color: #fff; border-bottom: 4px solid #d4a017;
}
body.theme-pagcor .hero h1, body.theme-pagcor .hero .lead { color: #fff; }
body.theme-pagcor .hero .text-gold { color: #d4a017 !important; }
body.theme-pagcor .hero .btn-hero { background: linear-gradient(135deg, #d4a017, #b8860b); color: #1e1b4b; font-weight: 700; }
body.theme-pagcor .card { border-left: 4px solid #1e40af; background: #fff; }

.cert-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; max-width: 1000px; margin: 2rem auto; }
.cert-wall .cert {
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  border: 2px solid #1e40af; border-radius: 8px; padding: 1.5rem;
  text-align: center; position: relative;
  box-shadow: 0 4px 16px rgba(30,64,175,.1);
}
.cert-wall .cert::before {
  content: '✓'; position: absolute; top: -12px; right: -12px;
  width: 32px; height: 32px; background: #d4a017; color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 900; box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.cert-wall .cert-seal { font-size: 3rem; margin-bottom: .5rem; }
.cert-wall .cert-title { font-weight: 800; color: #1e40af; font-size: 1rem; margin-bottom: .25rem; }
.cert-wall .cert-id { font-family: monospace; font-size: .8rem; color: #64748b; }
.pagcor-timeline { max-width: 700px; margin: 2rem auto; border-left: 3px solid #d4a017; padding-left: 2rem; }
.pagcor-timeline .tl-item { position: relative; padding-bottom: 1.5rem; }
.pagcor-timeline .tl-item::before {
  content: ''; position: absolute; left: -2.6rem; top: .25rem;
  width: 16px; height: 16px; background: #d4a017; border-radius: 50%;
  border: 3px solid #1e40af;
}
.pagcor-timeline .tl-year { font-weight: 800; color: #1e40af; font-size: .9rem; }

/* ============ Shared interactive section frame ============ */
.signature-section { padding: 4rem 0; }
.signature-section.dark { background: #0a0a0a; color: #fff; }
.signature-section.light-blue { background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%); }
.signature-section.cream { background: linear-gradient(180deg, #fffbeb 0%, #fef3c7 100%); }
.signature-section.maroon { background: linear-gradient(180deg, #1a0505 0%, #2d0a0a 100%); color: #fef3c7; }
.signature-section.navy { background: linear-gradient(180deg, #f8fafc 0%, #e0e7ff 100%); }
.signature-section h2 { text-align: center; margin-bottom: 2rem; }
