/* casino-plus-apk-old-version.css
   Mobile-first casino layout for en-PH market.
   Palette: #006400 | #2D2D2D | #E0FFFF | #00FF7F | #228B22 | #495057
   All classes use the "sd7e-" prefix. */

:root {
  --sd7e-primary: #006400;       /* deep green */
  --sd7e-dark: #2D2D2D;          /* near-black background */
  --sd7e-light: #E0FFFF;         /* light cyan text accent */
  --sd7e-accent: #00FF7F;        /* mint accent */
  --sd7e-secondary: #228B22;     /* forest green */
  --sd7e-muted: #495057;         /* muted gray */
  --sd7e-bg: #1a1a1a;
  --sd7e-card: #232623;
  --sd7e-radius: 14px;
}

* { box-sizing: border-box; }

html {
  font-size: 62.5%; /* 1rem = 10px baseline */
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--sd7e-bg);
  color: var(--sd7e-light);
  line-height: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

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

/* Mobile-first container caps at 430px */
.sd7e-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
}

.sd7e-wrapper { width: 100%; }

/* ============== Header ============== */
.sd7e-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #003200 0%, #006400 60%, #228B22 100%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.45);
  transition: background 0.25s ease;
}
.sd7e-header-scrolled {
  background: linear-gradient(135deg, #001f00 0%, #004f00 70%);
}
.sd7e-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  min-height: 52px;
}
.sd7e-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--sd7e-light);
}
.sd7e-logo img { width: 28px; height: 28px; border-radius: 6px; }
.sd7e-logo-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.2;
}
.sd7e-logo-text small {
  display: block;
  font-size: 9px;
  color: var(--sd7e-accent);
  font-weight: 600;
}
.sd7e-actions { display: flex; align-items: center; gap: 6px; }
.sd7e-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 14px;
  cursor: pointer;
  min-height: 36px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.sd7e-btn:hover { transform: translateY(-1px); }
.sd7e-btn-primary {
  background: var(--sd7e-accent);
  color: #003300;
  box-shadow: 0 2px 6px rgba(0,255,127,0.35);
}
.sd7e-btn-ghost {
  background: transparent;
  color: var(--sd7e-light);
  border: 1px solid var(--sd7e-accent);
}
.sd7e-btn-block {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 15px;
}
.sd7e-menu-btn {
  background: transparent;
  border: none;
  color: var(--sd7e-light);
  font-size: 22px;
  padding: 6px;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
}
.sd7e-menu-btn:hover { background: rgba(255,255,255,0.08); }

/* ============== Mobile expandable menu ============== */
.sd7e-mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 78%; max-width: 320px;
  height: 100vh;
  background: var(--sd7e-dark);
  padding: 64px 16px 24px;
  z-index: 9999;
  transition: right 0.28s ease;
  overflow-y: auto;
  box-shadow: -4px 0 16px rgba(0,0,0,0.6);
}
.sd7e-menu-open { right: 0; }
.sd7e-mobile-menu a {
  display: block;
  color: var(--sd7e-light);
  text-decoration: none;
  padding: 12px 10px;
  font-size: 14px;
  border-bottom: 1px solid rgba(0,255,127,0.12);
}
.sd7e-mobile-menu a:hover { color: var(--sd7e-accent); }
.sd7e-menu-heading {
  color: var(--sd7e-accent);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 14px 10px 4px;
  margin: 0;
}

/* ============== Main content spacing ============== */
.sd7e-main {
  padding-top: 64px;
  padding-bottom: 24px;
}
@media (max-width: 768px) {
  .sd7e-main { padding-bottom: 88px; }
}

/* ============== Banner carousel ============== */
.sd7e-banner {
  position: relative;
  border-radius: var(--sd7e-radius);
  overflow: hidden;
  margin: 12px 0;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5);
}
.sd7e-banner-track { position: relative; }
.sd7e-banner-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.sd7e-banner-slide img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.sd7e-banner-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,40,0,0.65) 100%);
}
.sd7e-banner-caption {
  position: absolute;
  left: 12px; bottom: 10px;
  z-index: 2;
  color: var(--sd7e-light);
  font-size: 14px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
.sd7e-banner-active { display: block; }
.sd7e-banner-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}
.sd7e-banner-nav button {
  pointer-events: auto;
  background: rgba(0,0,0,0.4);
  color: var(--sd7e-light);
  border: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
}
.sd7e-banner-dots {
  position: absolute;
  bottom: 6px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}
.sd7e-banner-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  border: none;
  padding: 0;
}
.sd7e-banner-dot-active { background: var(--sd7e-accent); }

/* ============== Section headings ============== */
.sd7e-section { margin: 18px 0; }
.sd7e-h1 {
  font-size: 20px;
  line-height: 1.4;
  color: var(--sd7e-light);
  margin: 14px 0 6px;
  font-weight: 800;
}
.sd7e-h2 {
  font-size: 17px;
  color: var(--sd7e-accent);
  margin: 18px 0 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.sd7e-h2::before {
  content: "";
  display: inline-block;
  width: 4px; height: 18px;
  background: var(--sd7e-accent);
  border-radius: 2px;
}
.sd7e-h3 {
  font-size: 14px;
  color: var(--sd7e-light);
  margin: 12px 0 6px;
  font-weight: 700;
}
.sd7e-text {
  font-size: 13px;
  color: #cdeede;
  margin: 6px 0;
}
.sd7e-text a {
  color: var(--sd7e-accent);
  text-decoration: underline;
  font-weight: 600;
}
.sd7e-lead {
  font-size: 13px;
  color: #b9d8c8;
  margin: 8px 0 14px;
}

/* ============== Game grid ============== */
.sd7e-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.sd7e-card {
  background: var(--sd7e-card);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 1px solid rgba(0,255,127,0.08);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.sd7e-card:hover {
  transform: translateY(-2px);
  border-color: var(--sd7e-accent);
}
.sd7e-card img {
  width: 100%;
  height: 86px;
  object-fit: cover;
}
.sd7e-card-name {
  font-size: 11px;
  color: var(--sd7e-light);
  padding: 5px 6px 7px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sd7e-card-tag {
  position: absolute;
  top: 4px; left: 4px;
  background: rgba(0,100,0,0.85);
  color: var(--sd7e-light);
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
}

/* ============== Feature / info panels ============== */
.sd7e-panel {
  background: var(--sd7e-card);
  border-radius: var(--sd7e-radius);
  padding: 14px;
  margin: 12px 0;
  border-left: 3px solid var(--sd7e-accent);
}
.sd7e-list { padding-left: 18px; margin: 6px 0; }
.sd7e-list li { font-size: 13px; color: #cdeede; margin: 4px 0; }

.sd7e-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.sd7e-tile {
  background: var(--sd7e-card);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}
.sd7e-tile .material-icons,
.sd7e-tile .bi,
.sd7e-tile ion-icon {
  font-size: 26px;
  color: var(--sd7e-accent);
}
.sd7e-tile-title {
  font-size: 13px;
  color: var(--sd7e-light);
  font-weight: 700;
  margin-top: 6px;
}
.sd7e-tile-text {
  font-size: 11px;
  color: #a8c8b8;
  margin-top: 4px;
}

/* RTP / stats compact bar */
.sd7e-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.sd7e-stat {
  flex: 1 1 45%;
  background: var(--sd7e-card);
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
}
.sd7e-stat-num {
  font-size: 16px;
  color: var(--sd7e-accent);
  font-weight: 800;
}
.sd7e-stat-label {
  font-size: 10px;
  color: #9ab8a8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Testimonial */
.sd7e-quote {
  background: var(--sd7e-card);
  border-radius: 12px;
  padding: 12px;
  margin: 8px 0;
  border-left: 3px solid var(--sd7e-secondary);
}
.sd7e-quote-text {
  font-size: 12px;
  color: #d6eae0;
  font-style: italic;
}
.sd7e-quote-author {
  font-size: 11px;
  color: var(--sd7e-accent);
  margin-top: 6px;
  font-weight: 700;
}

/* ============== Footer ============== */
.sd7e-footer {
  background: #161816;
  border-top: 3px solid var(--sd7e-primary);
  padding: 18px 12px 12px;
  color: #9ab8a8;
  font-size: 12px;
}
.sd7e-footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
}
.sd7e-footer-col { flex: 1 1 45%; min-width: 130px; }
.sd7e-footer h4 {
  color: var(--sd7e-accent);
  font-size: 12px;
  margin: 6px 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sd7e-footer a {
  display: block;
  color: #b9d8c8;
  text-decoration: none;
  padding: 4px 0;
  font-size: 12px;
}
.sd7e-footer a:hover { color: var(--sd7e-accent); }
.sd7e-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.sd7e-footer-promo .sd7e-btn { flex: 1 1 45%; min-width: 120px; }
.sd7e-footer-brand {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 11px;
  color: #6f8c7c;
}

/* ============== Bottom nav (mobile) ============== */
.sd7e-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(180deg, #013d01 0%, #001a00 100%);
  border-top: 2px solid var(--sd7e-accent);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}
.sd7e-bottom-nav a,
.sd7e-bottom-nav button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: transparent;
  border: none;
  color: #b9d8c8;
  text-decoration: none;
  min-height: 60px;
  min-width: 60px;
  padding: 4px 2px;
  cursor: pointer;
  transition: transform 0.15s ease, color 0.15s ease;
}
.sd7e-bottom-nav a:active,
.sd7e-bottom-nav button:active { transform: scale(0.9); }
.sd7e-bottom-nav .material-icons,
.sd7e-bottom-nav .bi,
.sd7e-bottom-nav ion-icon,
.sd7e-bottom-nav i.fas,
.sd7e-bottom-nav i.far {
  font-size: 22px;
}
.sd7e-bottom-nav .sd7e-nav-label {
  font-size: 10px;
  color: #cdeede;
}
.sd7e-bottom-nav .sd7e-nav-active {
  color: var(--sd7e-accent);
}
.sd7e-bottom-nav .sd7e-nav-active .sd7e-nav-label {
  color: var(--sd7e-accent);
  font-weight: 700;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .sd7e-bottom-nav { display: none; }
  .sd7e-main { padding-bottom: 24px; }
  .sd7e-container { max-width: 430px; }
}

/* Desktop menu button hidden inline; show normal menu */
@media (min-width: 769px) {
  .sd7e-desktop-nav { display: flex; gap: 10px; align-items: center; }
}
.sd7e-desktop-nav { display: none; }
@media (min-width: 769px) {
  .sd7e-menu-btn { display: none; }
}

/* Helper visibility */
.sd7e-center { text-align: center; }
.sd7e-mt { margin-top: 14px; }
.sd7e-mb { margin-bottom: 14px; }
.sd7e-hidden { display: none; }
