/* phlw mobile-first theme */
:root {
  font-size: 62.5%;
  --w5640-primary: #ff9800;
  --w5640-secondary: #ffb74d;
  --w5640-gold: #ffaa00;
  --w5640-bg: #17120c;
  --w5640-panel: #241b12;
  --w5640-panel-soft: #3a3a3a;
  --w5640-text: #fff7e8;
  --w5640-muted: #d7c5a5;
  --w5640-line: rgba(255, 183, 77, .24);
  --w5640-shadow: 0 1.4rem 4rem rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--w5640-text);
  background: radial-gradient(circle at 20% 0%, rgba(255, 152, 0, .28), transparent 28rem), linear-gradient(180deg, #100c08 0%, #21170f 52%, #0f0d0b 100%);
  font-size: 1.6rem;
  line-height: 1.5rem;
  overflow-x: hidden;
}
body.w5640-lock { overflow: hidden; }
a { color: var(--w5640-secondary); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

.w5640-page { max-width: 43rem; margin: 0 auto; min-height: 100vh; background: linear-gradient(180deg, rgba(58,58,58,.18), rgba(0,0,0,.12)); box-shadow: 0 0 0 1px rgba(255,255,255,.04); }
.w5640-container { width: min(100%, 43rem); margin: 0 auto; padding: 0 1.4rem; }
.w5640-wrapper { padding-top: 7.4rem; }
.w5640-grid { display: grid; gap: 1.2rem; }
.w5640-section { margin: 1.4rem 0; padding: 1.6rem; border: 1px solid var(--w5640-line); border-radius: 2.2rem; background: linear-gradient(145deg, rgba(36,27,18,.94), rgba(58,58,58,.62)); box-shadow: var(--w5640-shadow); }
.w5640-section h2, .w5640-section h3 { line-height: 1.25; margin: 0 0 1rem; }
.w5640-section p, .w5640-section li { line-height: 1.55; color: var(--w5640-muted); }
.w5640-kicker { display: inline-flex; align-items: center; gap: .6rem; color: #1c1207; background: var(--w5640-secondary); border-radius: 999px; padding: .45rem 1rem; font-weight: 800; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .06em; }
.w5640-highlight { color: var(--w5640-secondary); font-weight: 800; }

.w5640-header { position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 1000; width: min(100%, 43rem); background: rgba(16, 12, 8, .94); border-bottom: 1px solid var(--w5640-line); backdrop-filter: blur(1.2rem); }
.w5640-header-row { min-height: 6.4rem; display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .8rem 1.2rem; }
.w5640-brand { display: inline-flex; align-items: center; gap: .8rem; min-width: 0; }
.w5640-logo { width: 3.2rem; height: 3.2rem; border-radius: .9rem; box-shadow: 0 0 1.8rem rgba(255, 170, 0, .35); }
.w5640-brand-text { font-size: 1.9rem; line-height: 1; font-weight: 900; letter-spacing: .02em; color: #fff1d4; }
.w5640-header-actions { display: flex; align-items: center; gap: .55rem; }
.w5640-btn { min-height: 4.4rem; min-width: 4.4rem; border: 0; border-radius: 1.4rem; padding: 1rem 1.2rem; cursor: pointer; color: #1b1207; background: linear-gradient(135deg, var(--w5640-secondary), var(--w5640-primary)); font-weight: 900; box-shadow: 0 .8rem 1.8rem rgba(255, 152, 0, .22); transition: transform .18s ease, filter .18s ease; }
.w5640-btn:hover, .w5640-btn:focus { transform: translateY(-.2rem); filter: brightness(1.06); }
.w5640-btn-outline { color: var(--w5640-secondary); background: rgba(255,183,77,.08); border: 1px solid var(--w5640-line); box-shadow: none; }
.w5640-menu-toggle { display: inline-flex; align-items: center; justify-content: center; min-width: 4.4rem; padding: 0; }
.w5640-desktop-nav { display: none; }
.w5640-mobile-menu { position: fixed; inset: 0; z-index: 9999; width: min(100%, 43rem); margin: 0 auto; left: 50%; transform: translate(-50%, -110%); background: rgba(16,12,8,.98); padding: 8rem 1.6rem 2rem; transition: transform .24s ease, opacity .24s ease; opacity: 0; pointer-events: none; }
.w5640-mobile-menu.w5640-menu-open { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.w5640-menu-list { display: grid; gap: .9rem; }
.w5640-menu-list a, .w5640-footer-links a { min-height: 4.4rem; display: flex; align-items: center; gap: .8rem; border: 1px solid var(--w5640-line); border-radius: 1.4rem; padding: 1rem 1.2rem; background: rgba(255,183,77,.07); color: var(--w5640-text); font-weight: 800; }

.w5640-hero { padding: 8.2rem 1.4rem 1.4rem; background: linear-gradient(160deg, rgba(255,152,0,.20), rgba(58,58,58,.18)); }
.w5640-hero-card { border-radius: 2.6rem; padding: 1.8rem; background: linear-gradient(145deg, rgba(255,183,77,.16), rgba(36,27,18,.9)); border: 1px solid var(--w5640-line); box-shadow: var(--w5640-shadow); }
.w5640-hero h1 { font-size: 2.7rem; line-height: 1.12; margin: 1rem 0; color: #fff; }
.w5640-hero p { color: var(--w5640-muted); line-height: 1.58; }
.w5640-cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.2rem; }
.w5640-text-link { color: var(--w5640-secondary); font-weight: 900; border-bottom: 1px dashed rgba(255,183,77,.65); cursor: pointer; background: none; padding: 0; border-left: 0; border-right: 0; border-top: 0; }

.w5640-carousel { position: relative; margin: 1.4rem 0; border-radius: 2rem; overflow: hidden; border: 1px solid var(--w5640-line); }
.w5640-slide { display: none; position: relative; cursor: pointer; }
.w5640-slide.w5640-slide-active { display: block; animation: w5640Fade .5s ease; }
.w5640-slide img { width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.w5640-slide-caption { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; padding: .8rem 1rem; border-radius: 1.2rem; background: rgba(0,0,0,.62); font-weight: 900; }
.w5640-dots { display: flex; justify-content: center; gap: .7rem; margin-top: .8rem; }
.w5640-dot { width: .9rem; height: .9rem; border-radius: 50%; border: 0; background: rgba(255,255,255,.35); cursor: pointer; }
.w5640-dot.w5640-dot-active { width: 2.4rem; border-radius: 999px; background: var(--w5640-secondary); }
@keyframes w5640Fade { from { opacity: .45; transform: scale(1.02); } to { opacity: 1; transform: scale(1); } }

.w5640-card { border: 1px solid var(--w5640-line); border-radius: 1.8rem; background: rgba(255,255,255,.045); padding: 1.3rem; }
.w5640-card h3 { margin: 0 0 .6rem; color: #fff1d4; }
.w5640-game-category { margin-bottom: 1.6rem; }
.w5640-game-category h3 { display: flex; align-items: center; gap: .7rem; color: var(--w5640-secondary); margin: 0 0 1rem; font-size: 1.8rem; text-transform: capitalize; }
.w5640-game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.w5640-game-tile { min-height: 9.8rem; display: flex; flex-direction: column; align-items: center; gap: .55rem; padding: .7rem .4rem; border-radius: 1.4rem; background: linear-gradient(180deg, rgba(255,183,77,.10), rgba(255,255,255,.035)); border: 1px solid rgba(255,183,77,.18); color: var(--w5640-text); text-align: center; font-size: 1.1rem; font-weight: 800; line-height: 1.2; }
.w5640-game-tile img { width: 4.8rem; height: 4.8rem; border-radius: 1rem; object-fit: cover; }
.w5640-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.w5640-stat { padding: 1.2rem; border-radius: 1.6rem; background: rgba(255,170,0,.10); border: 1px solid var(--w5640-line); }
.w5640-stat strong { display: block; color: var(--w5640-secondary); font-size: 2rem; line-height: 1.2; }
.w5640-badge-row, .w5640-payments { display: flex; flex-wrap: wrap; gap: .7rem; }
.w5640-badge, .w5640-payment { display: inline-flex; align-items: center; min-height: 3.6rem; padding: .7rem 1rem; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--w5640-line); color: var(--w5640-muted); font-weight: 800; }
.w5640-steps { counter-reset: w5640Step; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.w5640-steps li { position: relative; padding: 1.1rem 1.1rem 1.1rem 4.5rem; border-radius: 1.5rem; background: rgba(255,255,255,.045); }
.w5640-steps li::before { counter-increment: w5640Step; content: counter(w5640Step); position: absolute; left: 1rem; top: 1rem; width: 2.6rem; height: 2.6rem; border-radius: 50%; display: grid; place-items: center; background: var(--w5640-primary); color: #1b1207; font-weight: 900; }
.w5640-faq details { border: 1px solid var(--w5640-line); border-radius: 1.4rem; padding: 1rem; margin: .8rem 0; background: rgba(255,255,255,.04); }
.w5640-faq summary { cursor: pointer; color: #fff; font-weight: 900; min-height: 3.4rem; }

.w5640-footer { margin-top: 2rem; padding: 2rem 1.4rem 9rem; background: #100c08; border-top: 1px solid var(--w5640-line); }
.w5640-footer-brand { display: flex; align-items: center; gap: .9rem; margin-bottom: 1rem; }
.w5640-footer p { color: var(--w5640-muted); line-height: 1.55; }
.w5640-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 1.2rem 0; }
.w5640-footer-promos { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.2rem 0; }
.w5640-copy { font-size: 1.2rem; color: rgba(255,255,255,.56); }

.w5640-bottom-nav { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 1000; width: min(100%, 43rem); height: 6.2rem; display: flex; justify-content: space-around; align-items: stretch; background: #24170d; border-top: 1px solid rgba(255,183,77,.35); box-shadow: 0 -1rem 2.2rem rgba(0,0,0,.38); }
.w5640-bottom-nav button, .w5640-bottom-nav a { min-width: 6rem; min-height: 6rem; flex: 1; border: 0; background: transparent; color: var(--w5640-muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; font-size: 1.05rem; cursor: pointer; transition: transform .16s ease, color .16s ease, background .16s ease; }
.w5640-bottom-nav i, .w5640-bottom-nav ion-icon, .w5640-bottom-nav .material-icons { font-size: 2.3rem; line-height: 1; }
.w5640-two-tone { background: linear-gradient(135deg, #fff7e8 0 46%, var(--w5640-secondary) 47% 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w5640-bottom-nav button:hover, .w5640-bottom-nav button:focus, .w5640-bottom-nav a:hover, .w5640-bottom-nav a:focus { transform: translateY(-.25rem) scale(1.04); color: #fff; background: rgba(255,170,0,.08); }
.w5640-bottom-nav .w5640-active { color: var(--w5640-secondary); background: linear-gradient(180deg, rgba(255,183,77,.17), rgba(255,183,77,.04)); }
.w5640-nav-badge { position: absolute; transform: translate(1rem, -1rem); min-width: 1.7rem; height: 1.7rem; border-radius: 999px; background: #ff3d00; color: #fff; font-size: 1rem; display: grid; place-items: center; }

@media (max-width: 768px) { main { padding-bottom: 8rem; } }
@media (min-width: 769px) {
  body { background: #0d0a07; }
  .w5640-page, .w5640-header, .w5640-bottom-nav { max-width: 120rem; width: 100%; }
  .w5640-container { max-width: 110rem; width: 100%; }
  .w5640-bottom-nav { display: none; }
  .w5640-menu-toggle { display: none; }
  .w5640-desktop-nav { display: flex; align-items: center; gap: 1rem; }
  .w5640-desktop-nav a { color: var(--w5640-muted); font-weight: 800; }
  .w5640-hero, .w5640-wrapper { max-width: 110rem; margin: 0 auto; }
  .w5640-game-grid { grid-template-columns: repeat(8, 1fr); }
  .w5640-grid-2 { grid-template-columns: repeat(2, 1fr); }
  .w5640-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .w5640-footer { padding-bottom: 3rem; }
}

@media (max-width: 360px) {
  .w5640-header-actions .w5640-btn { padding: .8rem .85rem; font-size: 1.25rem; }
  .w5640-game-grid { gap: .65rem; }
  .w5640-game-tile { font-size: 1rem; }
}
