/*!
 * slot-games-surface-e51e.css
 * Slot Games (slot-games.homes) - shared mobile-first shell styles.
 * All custom classes & CSS variables use the `pge5-` prefix.
 * Palette: #FF4500 / #B0E0E6 / #273746 / #FFB74D / #FFB347.
 * Canvas target: 320-430px. Wide screens keep the centered mobile canvas.
 * Comments in English only.
 */

/* ----------------------------- variables ------------------------------ */
:root {
  --pge5-deep: #273746;       /* primary dark surface */
  --pge5-deep-2: #1e2b36;     /* deeper panel */
  --pge5-deep-3: #152029;     /* near-black panel */
  --pge5-flame: #FF4500;      /* brand accent */
  --pge5-amber: #FFB74D;      /* warm accent */
  --pge5-papaya: #FFB347;     /* soft accent */
  --pge5-mist: #B0E0E6;       /* light text */
  --pge5-white: #f6fbff;
  --pge5-muted: #9bb2bf;
  --pge5-border: rgba(176, 224, 230, 0.16);
  --pge5-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --pge5-radius: 14px;
  --pge5-radius-sm: 10px;
  --pge5-tap: 44px;
  --pge5-nav-h: 56px;
  --pge5-header-h: 60px;
  --pge5-max: 480px;
}

/* ------------------------------- reset -------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 50% -10%, #2d4253 0%, transparent 60%),
    var(--pge5-deep-3);
  color: var(--pge5-mist);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: var(--pge5-amber); text-decoration: none; }
a:hover, a:focus { color: var(--pge5-flame); }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

/* centered mobile canvas for wider screens */
.pge5-shell {
  width: 100%;
  max-width: var(--pge5-max);
  margin: 0 auto;
  background: var(--pge5-deep);
  min-height: 100vh;
  box-shadow: var(--pge5-shadow);
  position: relative;
}

/* ------------------------------- header ------------------------------- */
.pge5-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--pge5-header-h);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: linear-gradient(180deg, #2c4150 0%, var(--pge5-deep) 100%);
  border-bottom: 1px solid var(--pge5-border);
}

.pge5-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.pge5-brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid var(--pge5-border);
  background: #fff;
  flex: none;
}
.pge5-brand-name {
  font-weight: 800;
  font-size: 15px;
  color: var(--pge5-white);
  letter-spacing: 0.2px;
  line-height: 1.1;
}
.pge5-brand-tag {
  font-size: 10px;
  color: var(--pge5-amber);
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.pge5-header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pge5-btn {
  border: none;
  border-radius: 999px;
  padding: 0 16px;
  height: 36px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.12s ease, box-shadow 0.12s ease, filter 0.12s ease;
}
.pge5-btn:active { transform: scale(0.95); }
.pge5-btn--login {
  background: transparent;
  color: var(--pge5-mist);
  border: 1px solid var(--pge5-border);
}
.pge5-btn--login:hover, .pge5-btn--login:focus { color: var(--pge5-white); border-color: var(--pge5-amber); }
.pge5-btn--cta {
  background: linear-gradient(135deg, var(--pge5-flame) 0%, var(--pge5-amber) 100%);
  color: #1a0f00;
  box-shadow: 0 4px 14px rgba(255, 69, 0, 0.35);
}
.pge5-btn--cta:hover { filter: brightness(1.08); }

.pge5-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(176, 224, 230, 0.08);
  border: 1px solid var(--pge5-border);
  color: var(--pge5-mist);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.pge5-icon-btn:hover, .pge5-icon-btn:focus { color: var(--pge5-white); border-color: var(--pge5-amber); }
.pge5-icon-btn svg { width: 18px; height: 18px; }

/* --------------------------- expandable nav --------------------------- */
.pge5-nav-wrap { position: relative; }
.pge5-nav-menu {
  position: absolute;
  top: calc(var(--pge5-header-h) - 4px);
  right: 12px;
  left: 12px;
  background: var(--pge5-deep-2);
  border: 1px solid var(--pge5-border);
  border-radius: var(--pge5-radius);
  box-shadow: var(--pge5-shadow);
  padding: 8px;
  display: none;
  z-index: 49;
}
.pge5-nav-menu--open { display: block; animation: pge5-fade 0.18s ease; }
@keyframes pge5-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.pge5-nav-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: var(--pge5-radius-sm);
  color: var(--pge5-mist);
  font-size: 14px;
  font-weight: 600;
}
.pge5-nav-menu a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pge5-flame);
  flex: none;
}
.pge5-nav-menu a:hover, .pge5-nav-menu a:focus {
  background: rgba(255, 69, 0, 0.12);
  color: var(--pge5-white);
}
.pge5-nav-menu a.pge5-active { background: rgba(255, 183, 77, 0.14); color: var(--pge5-amber); }

/* -------------------------------- hero -------------------------------- */
.pge5-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--pge5-border);
}
.pge5-hero-viewport { overflow: hidden; }
.pge5-hero-track {
  display: flex;
  transition: transform 0.5s ease;
}
.pge5-hero-slide {
  flex: 0 0 100%;
  position: relative;
}
.pge5-hero-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.pge5-hero-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 14px 16px;
  background: linear-gradient(0deg, rgba(21, 32, 41, 0.92) 0%, rgba(21, 32, 41, 0) 100%);
  color: var(--pge5-white);
}
.pge5-hero-title { font-size: 18px; font-weight: 800; margin: 0 0 4px; line-height: 1.2; }
.pge5-hero-sub { font-size: 12px; color: var(--pge5-amber); margin: 0 0 10px; }
.pge5-hero-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
}
.pge5-hero-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(176, 224, 230, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
}
.pge5-hero-dot--active { background: var(--pge5-flame); transform: scale(1.25); }

/* ------------------------------- search ------------------------------- */
.pge5-searchbar {
  padding: 10px 12px 4px;
}
.pge5-search {
  width: 100%;
  background: var(--pge5-deep-2);
  border: 1px solid var(--pge5-border);
  color: var(--pge5-white);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 13px;
  outline: none;
}
.pge5-search::placeholder { color: var(--pge5-muted); }
.pge5-search:focus { border-color: var(--pge5-amber); }

/* ----------------------------- sections ------------------------------- */
.pge5-section { padding: 18px 12px 6px; }
.pge5-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 8px;
}
.pge5-section-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--pge5-white);
}
.pge5-section-head h2 .pge5-accent { color: var(--pge5-flame); }
.pge5-section-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--pge5-amber);
}

.pge5-card {
  background: linear-gradient(180deg, var(--pge5-deep-2) 0%, var(--pge5-deep) 100%);
  border: 1px solid var(--pge5-border);
  border-radius: var(--pge5-radius);
  padding: 14px;
}

/* ------------------------------- grids -------------------------------- */
.pge5-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 360px) {
  .pge5-grid { gap: 10px; }
}
@media (min-width: 414px) {
  .pge5-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

.pge5-game {
  background: var(--pge5-deep-2);
  border: 1px solid var(--pge5-border);
  border-radius: var(--pge5-radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease, box-shadow 0.12s ease;
}
.pge5-game:hover, .pge5-game:focus {
  transform: translateY(-2px);
  border-color: var(--pge5-amber);
  box-shadow: 0 6px 16px rgba(255, 183, 77, 0.18);
}
.pge5-game-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0d161c;
  display: block;
}
.pge5-game-name {
  font-size: 11px;
  color: var(--pge5-mist);
  text-align: center;
  padding: 5px 4px 6px;
  line-height: 1.25;
  font-weight: 600;
  word-break: break-word;
  min-height: 28px;
}

/* ---------------------------- info blocks ----------------------------- */
.pge5-info-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.pge5-info-tile {
  background: var(--pge5-deep-2);
  border: 1px solid var(--pge5-border);
  border-radius: var(--pge5-radius-sm);
  padding: 12px;
}
.pge5-info-tile h3 {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--pge5-amber);
  font-weight: 800;
}
.pge5-info-tile p { margin: 0; font-size: 12.5px; color: var(--pge5-mist); }

.pge5-prose {
  color: var(--pge5-mist);
  font-size: 14px;
}
.pge5-prose h2 {
  color: var(--pge5-white);
  font-size: 17px;
  margin: 18px 0 8px;
  font-weight: 800;
}
.pge5-prose h3 {
  color: var(--pge5-amber);
  font-size: 14px;
  margin: 14px 0 6px;
  font-weight: 800;
}
.pge5-prose p { margin: 0 0 10px; }
.pge5-prose ul, .pge5-prose ol { margin: 0 0 10px; padding-left: 20px; }
.pge5-prose li { margin-bottom: 5px; }

.pge5-checklist {
  list-style: none;
  margin: 10px 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.pge5-checklist li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--pge5-mist);
}
.pge5-checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 0;
  color: var(--pge5-flame);
  font-weight: 800;
}

.pge5-steps {
  counter-reset: pge5-step;
  list-style: none;
  padding: 0;
  margin: 10px 0;
  display: grid;
  gap: 8px;
}
.pge5-steps li {
  counter-increment: pge5-step;
  position: relative;
  padding: 10px 12px 10px 44px;
  background: var(--pge5-deep-2);
  border: 1px solid var(--pge5-border);
  border-radius: var(--pge5-radius-sm);
  font-size: 13px;
  color: var(--pge5-mist);
}
.pge5-steps li::before {
  content: counter(pge5-step);
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  width: 26px; height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pge5-flame), var(--pge5-amber));
  color: #1a0f00;
  font-weight: 800;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* --------------------------- promo banner ----------------------------- */
.pge5-promo {
  margin: 14px 12px;
  border-radius: var(--pge5-radius);
  padding: 16px;
  text-align: center;
  background: linear-gradient(135deg, var(--pge5-flame) 0%, #b3300a 100%);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 69, 0, 0.3);
}
.pge5-promo h3 { margin: 0 0 4px; font-size: 16px; color: #fff; }
.pge5-promo p { margin: 0 0 12px; font-size: 12.5px; color: rgba(255,255,255,0.92); }
.pge5-promo .pge5-btn { background: #fff; color: var(--pge5-flame); }

/* ------------------------------ extended ------------------------------ */
.pge5-extended {
  margin: 6px 0 0;
  padding: 18px 12px 14px;
  border-top: 1px solid var(--pge5-border);
  background: var(--pge5-deep-2);
}
.pge5-extended h2 {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--pge5-white);
  font-weight: 800;
}
.pge5-shortcuts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.pge5-shortcuts a {
  background: var(--pge5-deep);
  border: 1px solid var(--pge5-border);
  border-radius: var(--pge5-radius-sm);
  padding: 10px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pge5-mist);
}
.pge5-shortcuts a:hover, .pge5-shortcuts a:focus {
  border-color: var(--pge5-amber);
  color: var(--pge5-white);
}
.pge5-directory {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-bottom: 12px;
}
.pge5-directory a {
  font-size: 12.5px;
  padding: 6px 8px;
  border-radius: 8px;
  color: var(--pge5-mist);
}
.pge5-directory a:hover { background: rgba(255, 183, 77, 0.1); color: var(--pge5-amber); }
.pge5-disclaimer {
  font-size: 11px;
  color: var(--pge5-muted);
  border-top: 1px dashed var(--pge5-border);
  padding-top: 10px;
  margin: 0;
  line-height: 1.5;
}

/* ------------------------------- footer ------------------------------- */
.pge5-footer {
  padding: 14px 12px 8px;
  text-align: center;
  border-top: 1px solid var(--pge5-border);
  background: var(--pge5-deep-3);
  color: var(--pge5-muted);
  font-size: 11.5px;
}

/* ----------------------------- bottom nav ----------------------------- */
.pge5-bottom {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--pge5-max);
  height: var(--pge5-nav-h);
  background: linear-gradient(180deg, var(--pge5-deep-2) 0%, var(--pge5-deep-3) 100%);
  border-top: 1px solid var(--pge5-border);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 60;
}
.pge5-bottom-btn {
  background: transparent;
  border: none;
  color: var(--pge5-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  padding: 4px 2px;
  position: relative;
  font-size: 10px;
  font-weight: 700;
  min-height: var(--pge5-tap);
  transition: color 0.12s ease;
}
.pge5-bottom-btn svg { width: 20px; height: 20px; }
.pge5-bottom-btn .pge5-bottom-label { letter-spacing: 0.2px; }
.pge5-bottom-btn:hover, .pge5-bottom-btn:focus { color: var(--pge5-white); }
.pge5-bottom-btn.pge5-active { color: var(--pge5-amber); }
.pge5-bottom-btn.pge5-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px; height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--pge5-flame), var(--pge5-amber));
}
.pge5-bottom-btn.pge5-promo-btn { color: var(--pge5-flame); }
.pge5-bottom-btn.pge5-promo-btn .pge5-bottom-label { color: var(--pge5-flame); }

/* clearance so fixed nav never covers content */
.pge5-content { padding-bottom: calc(var(--pge5-nav-h) + 12px); }

/* utility */
.pge5-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.pge5-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}
.pge5-chip {
  font-size: 11px;
  color: var(--pge5-mist);
  background: rgba(176, 224, 230, 0.08);
  border: 1px solid var(--pge5-border);
  border-radius: 999px;
  padding: 4px 10px;
}
.pge5-chip strong { color: var(--pge5-amber); }
