/* ═══════════════════════════════════════════════════════════
   PIN-UP CASINO MX — Design System
   Brand Colors:
   --teal:    #00CFA6  (primary accent — turquoise)
   --red:     #FF2400  (logo + CTAs)
   --bg:      #0D1016  (main dark background)
   --card:    #161B27  (card background)
   --muted:   #1F2636  (borders/dividers)
   Font: Inter + Oswald (Headers)
═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Oswald:wght@400;500;600;700&display=swap');

:root {
  --teal: #00CFA6;
  --teal-d: #00A882;
  --teal-glow: rgba(0,207,166,0.18);
  --red: #FF2400;
  --red-d: #CC1C00;
  --red-glow: rgba(255,36,0,0.18);
  --bg: #0D1016;
  --bg-2: #111620;
  --card: #161B27;
  --card-2: #1A2032;
  --muted: rgba(255,255,255,0.07);
  --border: rgba(0,207,166,0.12);
  --white: #FFFFFF;
  --t1: #E8EDF5;
  --t2: #8B97AE;
  --t3: #4A566E;
  --gold: #F5B700;
  --success: #00CFA6;
  --font-h: 'Oswald', sans-serif;
  --font-b: 'Inter', sans-serif;
  --r: 10px;
  --r-sm: 6px;
  --r-lg: 16px;
  --tr: all 0.22s ease;
  --shadow: 0 20px 60px rgba(0,0,0,0.7);
  --shadow-teal: 0 8px 30px rgba(0,207,166,0.25);
  --shadow-red: 0 8px 30px rgba(255,36,0,0.25);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-b); background: var(--bg); color: var(--t1); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; transition: var(--tr); }
a:hover { color: #fff; }

/* ─── TYPOGRAPHY ──────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-h); color: var(--white); }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; line-height: 1.1; text-transform: uppercase; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; text-transform: uppercase; margin-bottom: 0.5rem; }
h3 { font-size: 1rem; font-weight: 600; color: var(--teal); margin-bottom: 0.4rem; }
p { color: var(--t2); font-size: 0.94rem; margin-bottom: 0.9rem; }
strong { color: var(--white); }

/* ─── LAYOUT ──────────────────────────────────────────────── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-2); }

/* ─── SKIP LINK ───────────────────────────────────────────── */
.skip-link { position: absolute; top: -100px; left: 20px; background: var(--teal); color: var(--bg); padding: 8px 18px; border-radius: var(--r-sm); font-weight: 700; z-index: 9999; transition: top 0.2s; }
.skip-link:focus { top: 10px; color: var(--bg); }

/* ─── HEADER ──────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 500; background: rgba(13,16,22,0.96); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 62px; max-width: 1180px; margin: 0 auto; }

/* LOGO */
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 40px; width: auto; filter: drop-shadow(0 0 10px rgba(255,36,0,0.4)); transition: filter 0.3s; }
.logo:hover img { filter: drop-shadow(0 0 18px rgba(255,36,0,0.7)); }

/* NAV */
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { color: var(--t2); font-size: 0.82rem; font-weight: 600; padding: 6px 12px; border-radius: var(--r-sm); text-transform: uppercase; letter-spacing: 0.5px; transition: var(--tr); }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-links a.active { background: rgba(0,207,166,0.06); }

/* HEADER CTA */
.header-cta { display: flex; align-items: center; gap: 8px; }

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 22px; border-radius: var(--r-sm); font-family: var(--font-b); font-size: 0.85rem; font-weight: 700; cursor: pointer; border: none; transition: var(--tr); white-space: nowrap; text-transform: uppercase; letter-spacing: 0.5px; }
.btn-teal { background: var(--teal); color: var(--bg); box-shadow: 0 4px 16px rgba(0,207,166,0.3); }
.btn-teal:hover { background: #00E6BB; color: var(--bg); transform: translateY(-2px); box-shadow: var(--shadow-teal); }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 4px 16px rgba(255,36,0,0.3); }
.btn-red:hover { background: #ff3d1a; color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-red); }
.btn-outline { background: transparent; color: var(--teal); border: 1.5px solid rgba(0,207,166,0.4); }
.btn-outline:hover { border-color: var(--teal); background: rgba(0,207,166,0.06); color: var(--teal); }
.btn-lg { padding: 15px 34px; font-size: 1rem; border-radius: var(--r); }
.btn-sm { padding: 7px 16px; font-size: 0.78rem; }

/* ─── BURGER ──────────────────────────────────────────────── */
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--tr); }

/* ─── MOBILE NAV ──────────────────────────────────────────── */
.mobile-nav { display: none; position: fixed; top: 62px; left: 0; right: 0; bottom: 0; background: var(--bg-2); z-index: 400; padding: 20px; overflow-y: auto; flex-direction: column; gap: 3px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--t2); padding: 14px 16px; border-radius: var(--r-sm); font-size: 0.95rem; font-weight: 600; border-bottom: 1px solid var(--muted); text-transform: uppercase; letter-spacing: 0.4px; }
.mobile-nav a:hover { color: var(--teal); background: rgba(0,207,166,0.04); }
.mobile-cta { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.mobile-cta .btn { width: 100%; justify-content: center; padding: 15px; font-size: 1rem; }
#mobile-account-btn { display: none !important; }

/* ─── HERO ────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--bg-2); min-height: 520px; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.22; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,16,22,0.95) 45%, rgba(13,16,22,0.3) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 80px 24px; max-width: 1180px; margin: 0 auto; width: 100%; }
.hero-eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 16px; border: 1px solid rgba(0,207,166,0.3); padding: 4px 12px; border-radius: 99px; }
.hero h1 { max-width: 560px; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero p { max-width: 480px; font-size: 1rem; margin-bottom: 28px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ─── BONUS RIBBON ────────────────────────────────────────── */
.bonus-strip { background: linear-gradient(90deg, #0D1016, rgba(0,207,166,0.08), #0D1016); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 18px 0; text-align: center; }
.bonus-strip strong { font-family: var(--font-h); font-size: 1.4rem; color: var(--teal); margin-right: 8px; }
.bonus-strip span { font-size: 0.85rem; color: var(--t2); }

/* ─── CARDS ───────────────────────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--muted); border-radius: var(--r); padding: 24px; transition: var(--tr); }
.card:hover { border-color: rgba(0,207,166,0.2); transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,0,0,0.5); }
.card-icon { width: 44px; height: 44px; border-radius: var(--r-sm); background: rgba(0,207,166,0.08); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 14px; }

/* ─── GRIDS ───────────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ─── SECTION HEADER ──────────────────────────────────────── */
.section-header { margin-bottom: 36px; }
.section-header .eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 10px; }
.section-header h2 { margin-bottom: 10px; }
.section-header p { max-width: 560px; }

/* ─── TABLES ──────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--muted); }
table { width: 100%; border-collapse: collapse; font-size: 0.87rem; }
caption { font-size: 0.75rem; color: var(--t3); padding: 10px 16px; text-align: left; }
thead th { background: rgba(0,207,166,0.05); color: var(--teal); font-family: var(--font-h); font-weight: 600; padding: 12px 16px; text-align: left; text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.78rem; border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody tr { border-bottom: 1px solid var(--muted); transition: background 0.15s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(0,207,166,0.03); }
tbody td { padding: 11px 16px; color: var(--t2); }
tbody td strong { color: var(--white); }
.check { color: var(--teal); }
.cross { color: var(--red); }
.highlight-row td { background: rgba(0,207,166,0.04); }
.teal-val { color: var(--teal); font-weight: 700; font-family: var(--font-h); }

/* ─── BAR CHART ───────────────────────────────────────────── */
.chart-box { background: var(--card); border: 1px solid var(--muted); border-radius: var(--r); padding: 24px; }
.chart-title { font-family: var(--font-h); font-size: 1rem; font-weight: 600; color: var(--white); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 20px; }
.bar-chart { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: flex; align-items: center; gap: 12px; }
.bar-label { width: 120px; font-size: 0.78rem; color: var(--t2); text-align: right; flex-shrink: 0; }
.bar-track { flex: 1; height: 24px; background: rgba(255,255,255,0.04); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 4px; display: flex; align-items: center; padding-left: 10px; font-size: 0.73rem; font-weight: 700; transition: width 1.4s ease; }
.bar-fill.teal { background: linear-gradient(90deg, var(--teal-d), var(--teal)); color: var(--bg); }
.bar-fill.red { background: linear-gradient(90deg, var(--red-d), var(--red)); color: #fff; }
.bar-fill.gold { background: linear-gradient(90deg, #C48B00, var(--gold)); color: var(--bg); }

/* ─── DONUT/PIE CHART (CSS only) ─────────────────────────── */
.pie-container { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.pie-chart { width: 100px; height: 100px; border-radius: 50%; flex-shrink: 0; }
.pie-legend { display: flex; flex-direction: column; gap: 8px; }
.pie-legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--t2); }
.pie-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* ─── SCORE BARS ──────────────────────────────────────────── */
.score-item { margin-bottom: 14px; }
.score-head { display: flex; justify-content: space-between; font-size: 0.82rem; margin-bottom: 7px; }
.score-label { color: var(--t2); }
.score-val { font-weight: 700; color: var(--teal); }
.score-track { height: 5px; background: rgba(255,255,255,0.06); border-radius: 99px; overflow: hidden; }
.score-fill { height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--teal-d), var(--teal)); transition: width 1.4s ease; }

/* ─── RATING ──────────────────────────────────────────────── */
.rating-big { display: flex; align-items: baseline; gap: 4px; }
.rating-num { font-family: var(--font-h); font-size: 3.5rem; font-weight: 700; color: var(--teal); line-height: 1; }
.rating-max { font-size: 1.2rem; color: var(--t3); }
.stars-row { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 99px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; }
.badge-teal { background: rgba(0,207,166,0.12); color: var(--teal); border: 1px solid rgba(0,207,166,0.25); }
.badge-red { background: rgba(255,36,0,0.12); color: var(--red); border: 1px solid rgba(255,36,0,0.25); }
.badge-gold { background: rgba(245,183,0,0.12); color: var(--gold); border: 1px solid rgba(245,183,0,0.25); }

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item { border: 1px solid var(--muted); border-radius: var(--r-sm); overflow: hidden; transition: border-color 0.2s; }
.faq-item:hover { border-color: rgba(0,207,166,0.2); }
.faq-q { width: 100%; background: var(--card); color: var(--white); font-family: var(--font-b); font-size: 0.9rem; font-weight: 600; padding: 16px 20px; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; text-align: left; transition: background 0.2s; }
.faq-q:hover { background: rgba(0,207,166,0.03); }
.faq-q .faq-icon { color: var(--teal); font-size: 1.2rem; transition: transform 0.3s; flex-shrink: 0; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a.open { max-height: 300px; }
.faq-a p { padding: 14px 20px; color: var(--t2); font-size: 0.875rem; margin: 0; }

/* ─── SEO ARTICLE ─────────────────────────────────────────── */
.seo-article h2 { margin-top: 34px; margin-bottom: 12px; font-size: 1.3rem; }
.seo-article h2:first-child { margin-top: 0; }
.seo-article p { font-size: 0.95rem; line-height: 1.8; color: var(--t2); }
.seo-article a { color: var(--teal); border-bottom: 1px solid rgba(0,207,166,0.25); }
.seo-article a:hover { border-color: var(--teal); }
.seo-article ul, .seo-article ol { margin: 10px 0 16px 22px; }
.seo-article li { color: var(--t2); font-size: 0.95rem; margin-bottom: 6px; line-height: 1.6; }

/* ─── BREADCRUMBS ─────────────────────────────────────────── */
.breadcrumbs { display: flex; align-items: center; gap: 7px; font-size: 0.8rem; }
.breadcrumbs a { color: var(--t2); }
.breadcrumbs a:hover { color: var(--teal); }
.breadcrumbs .sep { color: var(--t3); }
.breadcrumbs .current { color: var(--t1); }

/* ─── CTA BLOCK ───────────────────────────────────────────── */
.cta-block { background: linear-gradient(135deg, var(--card) 0%, rgba(0,207,166,0.06) 100%); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 52px 40px; text-align: center; position: relative; overflow: hidden; }
.cta-block::before { content: ''; position: absolute; top: -60px; right: -60px; width: 300px; height: 300px; background: radial-gradient(circle, rgba(0,207,166,0.08) 0%, transparent 70%); pointer-events: none; }
.cta-block h2 { margin-bottom: 12px; }
.cta-block p { margin-bottom: 24px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ─── FEATURE LIST ────────────────────────────────────────── */
.feature-list { list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--muted); color: var(--t2); font-size: 0.9rem; }
.feature-list li:last-child { border-bottom: none; }
.feature-list .fi { color: var(--teal); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }

/* ─── APP STORE BUTTONS ───────────────────────────────────── */
.app-store-btn { display: inline-flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--border); border-radius: var(--r); padding: 12px 20px; color: var(--white); transition: var(--tr); }
.app-store-btn:hover { border-color: var(--teal); transform: translateY(-2px); color: var(--white); }
.app-store-btn .icon { font-size: 1.8rem; }
.app-store-btn .label small { display: block; font-size: 0.7rem; color: var(--t2); }
.app-store-btn .label strong { font-size: 0.9rem; }

/* ─── PAYMENT ICONS ───────────────────────────────────────── */
.payment-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.payment-item { background: var(--card); border: 1px solid var(--muted); border-radius: var(--r-sm); padding: 12px 20px; font-size: 0.82rem; color: var(--t2); font-weight: 600; transition: var(--tr); }
.payment-item:hover { border-color: var(--teal); color: var(--teal); }

/* ─── TIMELINE ────────────────────────────────────────────── */
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: grid; grid-template-columns: 12px 70px 1fr; gap: 16px; padding-bottom: 24px; position: relative; }
.tl-item:not(:last-child)::after { content: ''; position: absolute; left: 5px; top: 16px; bottom: 0; width: 2px; background: var(--muted); }
.tl-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--teal); margin-top: 4px; box-shadow: 0 0 8px rgba(0,207,166,0.5); }
.tl-year { font-family: var(--font-h); font-size: 0.75rem; color: var(--teal); font-weight: 600; margin-top: 2px; }
.tl-text { font-size: 0.85rem; color: var(--t2); line-height: 1.5; }

/* ─── AUTHOR CARD ─────────────────────────────────────────── */
.author-card { display: flex; gap: 28px; align-items: flex-start; flex-wrap: wrap; }
.author-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; border: 3px solid var(--teal); flex-shrink: 0; box-shadow: 0 0 20px rgba(0,207,166,0.3); }

/* ─── FOOTER ──────────────────────────────────────────────── */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 52px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand .logo img { height: 34px; }
.footer-brand p { font-size: 0.82rem; color: var(--t3); line-height: 1.6; max-width: 250px; }
.footer-col h4 { font-family: var(--font-h); font-size: 0.78rem; font-weight: 600; color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--t3); font-size: 0.82rem; padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid var(--muted); padding-top: 20px; text-align: center; }
.footer-bottom p { font-size: 0.77rem; color: var(--t3); margin: 0; }
.disclaimer-box { background: rgba(0,207,166,0.04); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 14px 18px; margin-top: 16px; }
.disclaimer-box p { font-size: 0.75rem; color: var(--t3); margin: 0; line-height: 1.5; }

/* ─── FADE ANIMATION ──────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  #mobile-account-btn { display: inline-flex !important; margin-left: auto; margin-right: 10px; font-size: 0.78rem; padding: 8px 16px; }
}

@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .hero { min-height: auto; }
  .hero-inner { padding: 56px 24px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .cta-block { padding: 32px 20px; }
  .author-card { flex-direction: column; align-items: center; text-align: center; }
  .bar-label { width: 90px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 0 16px; }
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.3rem; }
}
