/* ============================================
   me88 Promotions Singapore - Main Stylesheet
   Domain: me88promotions.com
   Theme: Orange #ff4e00 on Dark #181818
   ============================================ */

:root {
  --primary: #ff4e00;
  --primary-hover: #e04400;
  --primary-light: #ff6a2a;
  --bg-dark: #181818;
  --bg-header: #1e1e1e;
  --bg-card: #242424;
  --bg-card2: #2a2a2a;
  --border: #333333;
  --text-white: #ffffff;
  --text-light: #e0e0e0;
  --text-muted: #999999;
  --gold: #ffd700;
  --green: #00c853;
  --font: 'Segoe UI', Arial, sans-serif;
  --radius: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,0.5);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-light); }

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

ul { list-style: none; }

/* ---- HEADER ---- */
.site-header {
  background: var(--bg-header);
  border-bottom: 2px solid var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 15px rgba(255,78,0,0.3);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

.logo-wrap a { display: flex; align-items: center; }
.logo-wrap img { height: 44px; width: auto; }

/* ---- NAV ---- */
.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  color: var(--text-light);
  font-size: .9rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: all .2s;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary);
  background: rgba(255,78,0,0.1);
}

.badge-hot {
  background: var(--primary);
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ---- HEADER BUTTONS ---- */
.header-btns { display: flex; gap: 10px; align-items: center; }

.btn-login {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.btn-login:hover { background: var(--primary); color: #fff; }

.btn-register {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border: 2px solid transparent;
  color: #fff;
  padding: 8px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(255,78,0,0.4);
}
.btn-register:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(255,78,0,0.5); }

/* ---- HAMBURGER ---- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
  transition: all .3s;
}

/* ---- MOBILE NAV ---- */
.mobile-nav {
  display: none;
  background: var(--bg-header);
  border-top: 1px solid var(--border);
  padding: 15px 20px;
  flex-direction: column;
  gap: 8px;
}
.mobile-nav a {
  color: var(--text-light);
  font-weight: 600;
  padding: 10px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 8px;
}
.mobile-nav a:hover { background: rgba(255,78,0,0.1); color: var(--primary); }
.mobile-nav .mobile-btns { display: flex; gap: 10px; margin-top: 10px; }
.mobile-nav .btn-login,
.mobile-nav .btn-register { flex: 1; text-align: center; }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a0a00 50%, #0d0d0d 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 20px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,78,0,0.2) 0%, transparent 70%);
}

.hero-inner { max-width: 860px; margin: 0 auto; position: relative; z-index: 1; }

.hero-badge {
  display: inline-block;
  background: rgba(255,78,0,0.15);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero h1 span { color: var(--primary); }

.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 32px;
}

.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 14px 36px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  box-shadow: 0 6px 25px rgba(255,78,0,0.5);
  transition: all .2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,78,0,0.6); color: #fff; }

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  padding: 14px 36px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  display: inline-block;
  border: 2px solid var(--border);
  transition: all .2s;
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

/* ---- SECTION COMMONS ---- */
.section { padding: 70px 20px; }
.section-alt { background: #111111; }
.container { max-width: 1280px; margin: 0 auto; }

.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
}
.section-title h2 span { color: var(--primary); }
.section-title p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

.section-title .title-line {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 12px;
}

/* ---- STATS BAR ---- */
.stats-bar {
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 20px;
}
.stats-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item .stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}
.stat-item .stat-label {
  font-size: .85rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ---- GAME CARDS ---- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all .3s;
  cursor: pointer;
}
.game-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(255,78,0,0.3);
}

.game-card-thumb {
  background: linear-gradient(135deg, #1a0d00, #2d1500);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.game-card-body { padding: 16px; }
.game-card-body h3 { font-size: 1rem; font-weight: 700; color: var(--text-white); margin-bottom: 4px; }
.game-card-body p { font-size: .82rem; color: var(--text-muted); }
.game-card-tag {
  display: inline-block;
  background: rgba(255,78,0,0.15);
  color: var(--primary);
  font-size: .72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 8px;
}

/* ---- BONUS CARDS ---- */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.bonus-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.bonus-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}
.bonus-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.bonus-pct {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}
.bonus-up { font-size: .85rem; color: var(--text-muted); margin: 4px 0 12px; }
.bonus-amt { font-size: 1.5rem; font-weight: 800; color: var(--gold); margin-bottom: 12px; }
.bonus-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-white); margin-bottom: 8px; }
.bonus-card p { font-size: .88rem; color: var(--text-muted); margin-bottom: 16px; }
.bonus-card .btn-claim {
  display: block;
  text-align: center;
  background: var(--primary);
  color: #fff;
  padding: 10px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: background .2s;
}
.bonus-card .btn-claim:hover { background: var(--primary-hover); }

/* ---- FEATURES GRID ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  transition: border-color .2s;
}
.feature-card:hover { border-color: var(--primary); }
.feature-icon { font-size: 2.2rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text-white); margin-bottom: 8px; }
.feature-card p { font-size: .88rem; color: var(--text-muted); }

/* ---- PAYMENT ICONS ---- */
.payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 30px;
}
.payment-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 18px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-light);
}

/* ---- FAQ ---- */
.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: color .2s;
}
.faq-question:hover { color: var(--primary); }
.faq-question .faq-icon {
  font-size: 1.2rem;
  color: var(--primary);
  transition: transform .3s;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ---- INFO SECTION ---- */
.info-section { max-width: 900px; margin: 0 auto; }
.info-section h2 { font-size: 1.5rem; font-weight: 800; color: var(--text-white); margin: 32px 0 12px; }
.info-section h3 { font-size: 1.15rem; font-weight: 700; color: var(--primary); margin: 24px 0 8px; }
.info-section p { font-size: .92rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.75; }
.info-section ul { margin: 10px 0 14px 20px; }
.info-section ul li { list-style: disc; font-size: .92rem; color: var(--text-muted); margin-bottom: 6px; }

/* ---- PROVIDERS ---- */
.providers-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.provider-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 18px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .2s;
}
.provider-chip:hover { border-color: var(--primary); color: var(--primary); }

/* ---- PROMO TABLE ---- */
.promo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
  margin: 20px 0;
}
.promo-table th {
  background: var(--bg-card2);
  color: var(--primary);
  font-weight: 700;
  padding: 14px 16px;
  text-align: left;
  border-bottom: 2px solid var(--primary);
}
.promo-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
}
.promo-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }
.promo-table tr:hover td { background: rgba(255,78,0,0.05); }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  background: var(--bg-card2);
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
}
.breadcrumb-inner { max-width: 1280px; margin: 0 auto; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--primary); margin: 0 6px; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, #0d0d0d, #1a0800);
  padding: 60px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255,78,0,0.15) 0%, transparent 70%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.page-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--text-white); margin-bottom: 12px; }
.page-hero h1 span { color: var(--primary); }
.page-hero p { font-size: 1rem; color: var(--text-muted); }

/* ---- 404 PAGE ---- */
.notfound {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}
.notfound-inner h1 { font-size: 8rem; font-weight: 900; color: var(--primary); line-height: 1; }
.notfound-inner h2 { font-size: 1.8rem; font-weight: 700; color: var(--text-white); margin: 16px 0 12px; }
.notfound-inner p { color: var(--text-muted); margin-bottom: 32px; }

/* ---- FOOTER ---- */
.site-footer {
  background: #111111;
  border-top: 2px solid var(--border);
  padding: 60px 20px 30px;
}
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand img { height: 40px; margin-bottom: 16px; }
.footer-brand p { font-size: .85rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.footer-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.footer-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: .72rem;
  color: var(--text-muted);
}

.footer-col h4 { font-size: .95rem; font-weight: 700; color: var(--text-white); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: .85rem; color: var(--text-muted); transition: color .2s; }
.footer-col ul a:hover { color: var(--primary); }

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.footer-disclaimer { font-size: .78rem; color: var(--text-muted); max-width: 800px; line-height: 1.6; }
.footer-copyright { font-size: .78rem; color: var(--text-muted); text-align: right; }
.footer-copyright a { color: var(--text-muted); }

.license-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---- RESPONSIBLE GAMING ---- */
.rg-strip {
  background: var(--bg-card2);
  border-top: 1px solid var(--border);
  padding: 12px 20px;
  text-align: center;
}
.rg-strip p { font-size: .78rem; color: var(--text-muted); }
.rg-strip a { color: var(--text-muted); text-decoration: underline; }

/* ---- STEPS ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  counter-reset: steps;
}
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  transition: border-color .2s;
}
.step-card:hover { border-color: var(--primary); }
.step-num {
  width: 40px; height: 40px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-white); margin-bottom: 8px; }
.step-card p { font-size: .88rem; color: var(--text-muted); }

/* ---- REVIEW STARS ---- */
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-weight: 700;
}
.stars { color: var(--gold); }

/* ---- TABS ---- */
.tabs { display: flex; gap: 4px; margin-bottom: 28px; flex-wrap: wrap; }
.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.tab-btn.active,
.tab-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav,
  .header-btns { display: none; }
  .hamburger { display: flex; }
  .mobile-nav.open { display: flex; }

  .hero { padding: 50px 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .promo-table { font-size: .8rem; }
  .promo-table th, .promo-table td { padding: 10px 10px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta { flex-direction: column; align-items: center; }
  .btn-primary, .btn-secondary { width: 100%; max-width: 300px; text-align: center; }
}
