/* ============================================================
 * Albee Benitez Casino - palette-912f.css
 * Mobile-first (320-430px) styles for albeebenitezcasino.click.
 * All custom classes and CSS variables use the "g2f3-" prefix.
 * Palette: #B8860B | #EEE8AA | #FA8072 | #273746
 *   dark = background, light = text/accent.
 * ========================================================== */

:root {
  --g2f3-bg: #273746;
  --g2f3-bg-2: #1f2c38;
  --g2f3-bg-3: #2f4254;
  --g2f3-gold: #b8860b;
  --g2f3-gold-2: #d4a017;
  --g2f3-cream: #eee8aa;
  --g2f3-coral: #fa8072;
  --g2f3-coral-2: #ff9b8d;
  --g2f3-text: #f4efde;
  --g2f3-text-soft: #c7c0a6;
  --g2f3-text-mute: #8e93a0;
  --g2f3-border: rgba(238, 232, 170, 0.18);
  --g2f3-card: rgba(255, 255, 255, 0.045);
  --g2f3-card-hi: rgba(255, 255, 255, 0.08);
  --g2f3-shadow: 0 10px 26px rgba(0, 0, 0, 0.38);
  --g2f3-radius: 14px;
  --g2f3-radius-sm: 10px;
  --g2f3-header-h: 60px;
  --g2f3-bottomnav-h: 68px;
  --g2f3-maxw: 460px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--g2f3-bg);
  color: var(--g2f3-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

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

a { color: var(--g2f3-cream); text-decoration: none; }
a:hover, a:focus { color: #fff; }

ul, ol { padding-left: 1.15em; margin: 0.6em 0; }

h1, h2, h3, h4 { margin: 0 0 0.45em; line-height: 1.25; color: var(--g2f3-cream); }
h1 { font-size: 1.55rem; }
.g2f3-page-title { margin: 4px 0 14px; color: var(--g2f3-cream); font-size: 1.4rem; font-weight: 850; letter-spacing: -0.2px; }
.g2f3-kicker { color: var(--g2f3-coral-2) !important; font-size: 0.7rem !important; font-weight: 800; letter-spacing: 1px; margin-bottom: 6px !important; }
.g2f3-inline-promo { min-height: 44px; margin: 8px 6px 0 0; padding: 9px 13px; border: 1px solid rgba(238,232,170,0.35); border-radius: 22px; background: linear-gradient(135deg, rgba(250,128,114,0.95), rgba(184,134,11,0.95)); color: #241b10; font-weight: 800; font-size: 0.78rem; cursor: pointer; transition: transform 0.12s ease, filter 0.12s ease; }
.g2f3-inline-promo:active { transform: scale(0.97); filter: brightness(1.08); }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 0.75em; }

/* ---- Phone canvas frame ------------------------------------- */
.g2f3-canvas {
  width: 100%;
  max-width: var(--g2f3-maxw);
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--g2f3-bg) 0%, var(--g2f3-bg-2) 100%);
  position: relative;
  box-shadow: var(--g2f3-shadow);
  padding-bottom: calc(var(--g2f3-bottomnav-h) + 14px);
}

/* ---- Header ------------------------------------------------- */
.g2f3-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--g2f3-header-h);
  background: linear-gradient(90deg, #20303d 0%, #2c4154 100%);
  border-bottom: 2px solid var(--g2f3-gold);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.32);
}

.g2f3-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
}

.g2f3-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.g2f3-brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--g2f3-gold);
  background: #0f1620;
  flex-shrink: 0;
}

.g2f3-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.g2f3-brand-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--g2f3-cream);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.2px;
}

.g2f3-brand-tag {
  font-size: 0.62rem;
  color: var(--g2f3-gold-2);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.g2f3-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.g2f3-header-btn {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.78rem;
  font-weight: 700;
  border: none;
  border-radius: 18px;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
  white-space: nowrap;
}

.g2f3-header-btn:active { transform: translateY(1px) scale(0.98); }

.g2f3-btn-login {
  background: transparent;
  color: var(--g2f3-cream);
  border: 1px solid var(--g2f3-border);
}

.g2f3-btn-register {
  background: linear-gradient(135deg, var(--g2f3-coral) 0%, var(--g2f3-gold-2) 100%);
  color: #2a1d0e;
  box-shadow: 0 4px 10px rgba(250, 128, 114, 0.35);
}

.g2f3-menu-toggle {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--g2f3-border);
  border-radius: 9px;
  color: var(--g2f3-cream);
  cursor: pointer;
}

.g2f3-menu-toggle svg { width: 18px; height: 18px; }

/* ---- Slide-up routing menu panel ---------------------------- */
.g2f3-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 22, 0.55);
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  transition: opacity 0.22s ease;
}
.g2f3-menu-backdrop-show {
  opacity: 1;
  pointer-events: auto;
}

.g2f3-menu-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  max-width: var(--g2f3-maxw);
  margin: 0 auto;
  background: var(--g2f3-bg-2);
  border-top: 2px solid var(--g2f3-gold);
  border-radius: 18px 18px 0 0;
  padding: 14px 14px calc(env(safe-area-inset-bottom, 0px) + 18px);
  transform: translateY(110%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 100;
  max-height: 78vh;
  overflow-y: auto;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.4);
}
.g2f3-menu-panel-open { transform: translateY(0); }

.g2f3-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.g2f3-menu-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--g2f3-cream);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.g2f3-menu-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--g2f3-card-hi);
  border: 1px solid var(--g2f3-border);
  color: var(--g2f3-cream);
  font-size: 1rem;
  cursor: pointer;
}

.g2f3-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.g2f3-menu-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  background: var(--g2f3-card);
  border: 1px solid var(--g2f3-border);
  border-radius: var(--g2f3-radius-sm);
  color: var(--g2f3-text);
  font-size: 0.86rem;
  font-weight: 600;
  min-height: 46px;
}
.g2f3-menu-link:hover, .g2f3-menu-link:focus {
  background: var(--g2f3-card-hi);
  color: #fff;
}
.g2f3-menu-link .g2f3-menu-ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--g2f3-gold-2);
}

/* ---- Main content padding ----------------------------------- */
.g2f3-main { padding: 12px 12px 4px; }

/* ---- Hero carousel ------------------------------------------ */
.g2f3-hero {
  position: relative;
  border-radius: var(--g2f3-radius);
  overflow: hidden;
  box-shadow: var(--g2f3-shadow);
  margin-bottom: 14px;
  background: #0d141c;
}
.g2f3-hero-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}
.g2f3-hero-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 168px;
  cursor: pointer;
}
.g2f3-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.g2f3-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,22,30,0.05) 30%, rgba(15,22,30,0.78) 100%);
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.g2f3-hero-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 2px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
.g2f3-hero-sub {
  font-size: 0.74rem;
  color: var(--g2f3-cream);
  margin: 0 0 8px;
}
.g2f3-hero-cta {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--g2f3-coral) 0%, var(--g2f3-gold-2) 100%);
  color: #2a1d0e;
  font-weight: 800;
  font-size: 0.74rem;
  padding: 6px 12px;
  border-radius: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.35);
}
.g2f3-hero-dots {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.g2f3-hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(238,232,170,0.5);
  border: none;
  padding: 0;
  cursor: pointer;
}
.g2f3-hero-dot-active { background: var(--g2f3-gold-2); width: 18px; border-radius: 5px; }

/* ---- Section headings --------------------------------------- */
.g2f3-section { margin: 18px 0 6px; }
.g2f3-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 0 2px;
}
.g2f3-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--g2f3-cream);
  display: flex;
  align-items: center;
  gap: 8px;
}
.g2f3-section-title::before {
  content: "";
  width: 4px;
  height: 16px;
  background: linear-gradient(180deg, var(--g2f3-coral), var(--g2f3-gold-2));
  border-radius: 2px;
  display: inline-block;
}
.g2f3-section-more {
  font-size: 0.74rem;
  color: var(--g2f3-gold-2);
  font-weight: 700;
}

/* ---- Game grid ---------------------------------------------- */
.g2f3-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.g2f3-game-card {
  background: var(--g2f3-card);
  border: 1px solid var(--g2f3-border);
  border-radius: var(--g2f3-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
  display: flex;
  flex-direction: column;
}
.g2f3-game-card:hover, .g2f3-game-card:focus {
  border-color: var(--g2f3-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}
.g2f3-game-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0f1620;
}
.g2f3-game-name {
  font-size: 0.68rem;
  color: var(--g2f3-text-soft);
  text-align: center;
  padding: 4px 3px 6px;
  line-height: 1.2;
  min-height: 28px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* ---- Info / SEO content cards ------------------------------- */
.g2f3-card {
  background: var(--g2f3-card);
  border: 1px solid var(--g2f3-border);
  border-radius: var(--g2f3-radius);
  padding: 14px;
  margin: 12px 0;
}
.g2f3-card h2 { color: var(--g2f3-cream); margin-top: 0; }
.g2f3-card p, .g2f3-card li { color: var(--g2f3-text-soft); font-size: 0.9rem; }
.g2f3-card a { color: var(--g2f3-gold-2); font-weight: 600; }
.g2f3-card a:hover, .g2f3-card a:focus { color: var(--g2f3-coral-2); }

.g2f3-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0;
}
.g2f3-steps li {
  counter-increment: step;
  position: relative;
  padding: 8px 8px 8px 36px;
  background: var(--g2f3-card-hi);
  border-radius: var(--g2f3-radius-sm);
  margin-bottom: 6px;
  font-size: 0.86rem;
  color: var(--g2f3-text-soft);
}
.g2f3-steps li::before {
  content: counter(step);
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--g2f3-coral), var(--g2f3-gold-2));
  color: #2a1d0e;
  font-weight: 800;
  font-size: 0.74rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.g2f3-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
}
.g2f3-pill {
  font-size: 0.72rem;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(184,134,11,0.18);
  color: var(--g2f3-cream);
  border: 1px solid rgba(184,134,11,0.4);
}

/* ---- Compact feature tiles ---------------------------------- */
.g2f3-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 10px 0;
}
.g2f3-tile {
  background: var(--g2f3-card);
  border: 1px solid var(--g2f3-border);
  border-radius: var(--g2f3-radius-sm);
  padding: 12px;
  text-align: center;
}
.g2f3-tile .g2f3-tile-ico {
  width: 32px;
  height: 32px;
  margin: 0 auto 6px;
  color: var(--g2f3-gold-2);
}
.g2f3-tile h3 { font-size: 0.86rem; margin: 0 0 4px; color: var(--g2f3-cream); }
.g2f3-tile p { font-size: 0.74rem; margin: 0; color: var(--g2f3-text-mute); }

/* ---- Extended footer (homepage only) ------------------------ */
.g2f3-ext-footer {
  margin-top: 18px;
  padding: 16px 12px 6px;
  background: var(--g2f3-bg-3);
  border-top: 2px solid var(--g2f3-gold);
  border-radius: 18px 18px 0 0;
}
.g2f3-ext-footer h2 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.g2f3-ext-footer .g2f3-brand-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.g2f3-ext-footer .g2f3-brand-row img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--g2f3-gold);
}
.g2f3-ext-footer .g2f3-brand-row p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--g2f3-text-soft);
}
.g2f3-ext-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 10px;
  margin: 8px 0 12px;
}
.g2f3-ext-grid a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--g2f3-text-soft);
  padding: 6px 4px;
  border-bottom: 1px dashed rgba(238,232,170,0.12);
}
.g2f3-ext-grid a:hover { color: var(--g2f3-gold-2); }
.g2f3-ext-grid a .g2f3-ext-ico {
  width: 16px;
  height: 16px;
  color: var(--g2f3-gold-2);
  flex-shrink: 0;
}
.g2f3-promo-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 8px 0 10px;
}
.g2f3-promo-card {
  background: linear-gradient(135deg, rgba(250,128,114,0.18), rgba(184,134,11,0.14));
  border: 1px solid rgba(250,128,114,0.4);
  border-radius: var(--g2f3-radius-sm);
  padding: 10px;
  cursor: pointer;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.g2f3-promo-card strong {
  font-size: 0.82rem;
  color: var(--g2f3-cream);
}
.g2f3-promo-card span {
  font-size: 0.7rem;
  color: var(--g2f3-coral-2);
  font-weight: 700;
}
.g2f3-disclaimer {
  font-size: 0.68rem;
  color: var(--g2f3-text-mute);
  line-height: 1.45;
  border-top: 1px solid var(--g2f3-border);
  padding-top: 8px;
  margin-top: 6px;
}

/* ---- Generic footer (copyright) ----------------------------- */
.g2f3-footer-copy {
  text-align: center;
  font-size: 0.72rem;
  color: var(--g2f3-text-mute);
  padding: 8px 12px 4px;
}

/* ---- Bottom navigation (center raised style) ---------------- */
.g2f3-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  max-width: var(--g2f3-maxw);
  margin: 0 auto;
  height: var(--g2f3-bottomnav-h);
  background: linear-gradient(180deg, #2c4154 0%, #1c2832 100%);
  border-top: 2px solid var(--g2f3-gold);
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 0 4px calc(env(safe-area-inset-bottom, 0px) + 4px);
  box-shadow: 0 -6px 18px rgba(0,0,0,0.35);
}

.g2f3-bottom-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  padding: 6px 2px 4px;
  background: transparent;
  border: none;
  color: var(--g2f3-text-mute);
  cursor: pointer;
  font-size: 0.62rem;
  font-weight: 600;
  min-height: 48px;
  transition: transform 0.14s ease, color 0.14s ease;
}
.g2f3-bottom-nav-btn:active { transform: translateY(1px); }
.g2f3-bottom-nav-btn .g2f3-nav-ico {
  width: 22px;
  height: 22px;
  color: var(--g2f3-text-mute);
  transition: transform 0.14s ease, color 0.14s ease;
}
.g2f3-bottom-nav-btn:hover .g2f3-nav-ico,
.g2f3-bottom-nav-btn:focus .g2f3-nav-ico {
  color: var(--g2f3-cream);
}

/* Center raised promo button */
.g2f3-bottom-nav-btn.g2f3-nav-center {
  position: relative;
  margin-top: -18px;
  background: linear-gradient(135deg, var(--g2f3-coral) 0%, var(--g2f3-gold-2) 100%);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  min-height: 56px;
  flex: 0 0 auto;
  box-shadow: 0 6px 16px rgba(250,128,114,0.5);
  border: 2px solid #fff2;
  justify-content: center;
  align-items: center;
}
.g2f3-bottom-nav-btn.g2f3-nav-center .g2f3-nav-ico {
  width: 26px;
  height: 26px;
  color: #2a1d0e;
}
.g2f3-bottom-nav-btn.g2f3-nav-center .g2f3-nav-label {
  display: none;
}
.g2f3-nav-label { line-height: 1; }

.g2f3-bottom-nav-active {
  color: var(--g2f3-gold-2);
}
.g2f3-bottom-nav-active .g2f3-nav-ico {
  color: var(--g2f3-gold-2);
  transform: translateY(-2px);
}

/* Press feedback utility class */
.g2f3-press { transform: scale(0.96); filter: brightness(1.08); }

/* ---- Hide bottom nav and sticky behavior on wide screens ----- */
@media (min-width: 600px) {
  /* Keep phone canvas centered, no desktop layout */
  body { background: #0d141c; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .g2f3-hero-track { transition: none !important; }
  .g2f3-menu-panel { transition: none !important; }
}
