:root {
  font-size: 62.5%;
  --w3f22-primary: #8B0000;
  --w3f22-secondary: #880E4F;
  --w3f22-accent: #CD5C5C;
  --w3f22-bg: #1E1E1E;
  --w3f22-text: #FFE8EF;
  --w3f22-soft: #FFB6C1;
  --w3f22-gold: #FFD86B;
  --w3f22-panel: rgba(53, 18, 32, .92);
  --w3f22-border: rgba(255, 182, 193, .25);
  --w3f22-shadow: 0 1.6rem 4rem rgba(0, 0, 0, .42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: radial-gradient(circle at top left, rgba(139, 0, 0, .48), transparent 32rem), linear-gradient(160deg, #160b11 0%, #1E1E1E 52%, #320016 100%);
  color: var(--w3f22-text);
  font-size: 1.5rem;
  line-height: 1.5rem;
  overflow-x: hidden;
}
body.w3f22-lock { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.w3f22-page {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(47, 13, 28, .64), rgba(30, 30, 30, .96));
  box-shadow: 0 0 5rem rgba(0, 0, 0, .35);
}
.w3f22-container { width: min(100% - 2.4rem, 40.6rem); margin: 0 auto; }
.w3f22-wrapper { padding: 7.4rem 0 2.2rem; }
.w3f22-grid { display: grid; gap: 1.2rem; }
.w3f22-section { margin: 1.6rem 0; padding: 1.5rem; border: .1rem solid var(--w3f22-border); border-radius: 2rem; background: var(--w3f22-panel); box-shadow: var(--w3f22-shadow); }
.w3f22-section-light { background: linear-gradient(145deg, rgba(255, 182, 193, .16), rgba(136, 14, 79, .3)); }
.w3f22-kicker { color: var(--w3f22-gold); text-transform: uppercase; letter-spacing: .08em; font-size: 1.1rem; font-weight: 800; }
.w3f22-title { margin: .6rem 0 1rem; font-family: Georgia, serif; font-size: 2.8rem; line-height: 3.1rem; color: #fff; }
.w3f22-subtitle { margin: .6rem 0; font-family: Georgia, serif; font-size: 2.1rem; line-height: 2.5rem; color: #fff; }
.w3f22-text { color: #f8d8e0; line-height: 2.35rem; }
.w3f22-muted { color: #d9a9b6; }
.w3f22-highlight { color: var(--w3f22-gold); font-weight: 900; text-decoration: underline; text-decoration-thickness: .15rem; }

.w3f22-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 100%;
  max-width: 430px;
  background: rgba(30, 30, 30, .92);
  border-bottom: .1rem solid var(--w3f22-border);
  backdrop-filter: blur(1.4rem);
  transition: padding .22s ease, background .22s ease;
}
.w3f22-header-compact { background: rgba(22, 8, 14, .97); }
.w3f22-topbar { min-height: 6.4rem; display: flex; align-items: center; gap: .8rem; padding: .8rem 1.2rem; }
.w3f22-brand { display: flex; align-items: center; gap: .8rem; flex: 1; min-width: 0; text-decoration: none; }
.w3f22-logo { width: 3.2rem; height: 3.2rem; border-radius: 1rem; box-shadow: 0 0 1.6rem rgba(255, 182, 193, .4); }
.w3f22-brand-text { font-family: Georgia, serif; font-weight: 900; font-size: 1.45rem; line-height: 1.7rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w3f22-header-actions { display: flex; align-items: center; gap: .5rem; }
.w3f22-btn { min-height: 4.4rem; border: 0; border-radius: 999px; padding: .9rem 1.2rem; font-weight: 900; font-size: 1.2rem; color: #1b080d; background: linear-gradient(135deg, var(--w3f22-gold), var(--w3f22-soft)); box-shadow: 0 .8rem 2rem rgba(205, 92, 92, .32); cursor: pointer; transition: transform .18s ease, filter .18s ease; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }
.w3f22-btn:hover, .w3f22-btn:focus { transform: translateY(-.15rem) scale(1.02); filter: brightness(1.06); }
.w3f22-btn-ghost { background: rgba(255, 182, 193, .1); color: var(--w3f22-text); border: .1rem solid var(--w3f22-border); box-shadow: none; }
.w3f22-menu-btn { width: 4.4rem; padding: 0; font-size: 2.2rem; }
.w3f22-desktop-nav { display: none; }
.w3f22-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  background: linear-gradient(160deg, rgba(30, 30, 30, .99), rgba(90, 0, 28, .98));
  padding: 7.4rem 1.2rem 2rem;
}
.w3f22-mobile-menu.w3f22-menu-open { display: block; }
.w3f22-menu-panel { max-width: 430px; margin: 0 auto; display: grid; gap: 1rem; }
.w3f22-menu-link { min-height: 4.8rem; display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-radius: 1.6rem; background: rgba(255,255,255,.07); border: .1rem solid var(--w3f22-border); text-decoration: none; color: #fff; font-weight: 800; }

.w3f22-hero { padding: 1.2rem 0 0; }
.w3f22-carousel { position: relative; overflow: hidden; border-radius: 2.2rem; min-height: 18rem; border: .1rem solid var(--w3f22-border); box-shadow: var(--w3f22-shadow); }
.w3f22-slide { display: none; position: relative; cursor: pointer; }
.w3f22-slide.w3f22-active { display: block; }
.w3f22-slide img { width: 100%; min-height: 18rem; object-fit: cover; }
.w3f22-slide-caption { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; padding: 1rem; border-radius: 1.4rem; background: rgba(30, 30, 30, .72); backdrop-filter: blur(.8rem); }
.w3f22-cta-row { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1rem; }
.w3f22-stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.2rem; }
.w3f22-stat { padding: 1rem .6rem; border-radius: 1.4rem; background: rgba(255,255,255,.08); text-align: center; border: .1rem solid var(--w3f22-border); }
.w3f22-stat strong { display: block; color: var(--w3f22-gold); font-size: 1.8rem; }
.w3f22-stat span { font-size: 1.1rem; color: #f3c1cb; }

.w3f22-game-category { margin: 1.2rem 0 1.6rem; }
.w3f22-category-head { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin: 0 0 .8rem; }
.w3f22-game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .85rem; }
.w3f22-game-card { min-width: 0; text-decoration: none; color: #fff; text-align: center; padding: .65rem .45rem; border-radius: 1.3rem; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(136,14,79,.2)); border: .1rem solid rgba(255, 182, 193, .18); transition: transform .18s ease, border-color .18s ease; }
.w3f22-game-card:hover, .w3f22-game-card:focus { transform: translateY(-.25rem); border-color: var(--w3f22-gold); }
.w3f22-game-card img { width: 5.8rem; height: 5.8rem; object-fit: cover; border-radius: 1.2rem; margin: 0 auto .55rem; background: rgba(0,0,0,.25); }
.w3f22-game-card span { display: block; font-size: 1.05rem; line-height: 1.25rem; font-weight: 800; min-height: 2.5rem; }

.w3f22-card { padding: 1.2rem; border-radius: 1.6rem; background: rgba(255,255,255,.07); border: .1rem solid var(--w3f22-border); }
.w3f22-card h3 { margin: 0 0 .6rem; color: #fff; font-size: 1.6rem; line-height: 2rem; }
.w3f22-card p { margin: .4rem 0; line-height: 2.25rem; color: #f1ccd4; }
.w3f22-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.w3f22-list { padding-left: 1.8rem; margin: .8rem 0; }
.w3f22-list li { margin: .7rem 0; color: #f1ccd4; line-height: 2.25rem; }
.w3f22-timeline { display: grid; gap: 1rem; counter-reset: w3f22step; }
.w3f22-step { position: relative; padding: 1.2rem 1.2rem 1.2rem 4.4rem; border-radius: 1.6rem; background: rgba(255,255,255,.07); border: .1rem solid var(--w3f22-border); }
.w3f22-step:before { counter-increment: w3f22step; content: counter(w3f22step); position: absolute; left: 1.1rem; top: 1.2rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: var(--w3f22-gold); color: #24000c; font-weight: 900; }
.w3f22-review { border-left: .35rem solid var(--w3f22-gold); padding-left: 1rem; margin: 1rem 0; color: #f7d9df; }
.w3f22-payments { display: flex; gap: .8rem; flex-wrap: wrap; }
.w3f22-payment { padding: .8rem 1rem; min-height: 4.4rem; border-radius: 999px; background: rgba(255,255,255,.08); border: .1rem solid var(--w3f22-border); display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; }
.w3f22-winner { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .85rem 0; border-bottom: .1rem solid rgba(255,255,255,.08); }
.w3f22-winner:last-child { border-bottom: 0; }
.w3f22-badge { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .75rem; border-radius: 999px; background: rgba(255,216,107,.14); color: var(--w3f22-gold); border: .1rem solid rgba(255,216,107,.32); font-size: 1.1rem; font-weight: 900; }

.w3f22-footer { padding: 2rem 1.2rem 8.6rem; background: #13070c; border-top: .1rem solid var(--w3f22-border); }
.w3f22-footer-grid { display: grid; gap: 1.2rem; }
.w3f22-footer-links { display: flex; flex-wrap: wrap; gap: .8rem; }
.w3f22-footer-links a { color: #ffdce4; text-decoration: none; padding: .65rem .85rem; border-radius: 999px; background: rgba(255,255,255,.07); border: .1rem solid var(--w3f22-border); font-weight: 800; font-size: 1.2rem; }
.w3f22-partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.w3f22-partner-logo { min-height: 4.4rem; display: grid; place-items: center; border-radius: 1.4rem; background: linear-gradient(135deg, rgba(139,0,0,.55), rgba(255,182,193,.12)); border: .1rem solid var(--w3f22-border); font-weight: 900; color: #fff; }
.w3f22-copyright { color: #c996a3; font-size: 1.15rem; line-height: 1.8rem; }

.w3f22-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 100%;
  max-width: 430px;
  height: 6.4rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #2a0718;
  border-top: .1rem solid rgba(255, 182, 193, .35);
  box-shadow: 0 -1rem 2.6rem rgba(0,0,0,.35);
}
.w3f22-bottom-item { min-width: 6rem; min-height: 6rem; border: 0; background: transparent; color: #f2c2cc; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .25rem; font-size: 1.05rem; font-weight: 900; cursor: pointer; transition: transform .18s ease, color .18s ease; position: relative; }
.w3f22-bottom-item i, .w3f22-bottom-item ion-icon, .w3f22-bottom-item .material-icons { font-size: 2.4rem; line-height: 2.4rem; }
.w3f22-bottom-item:hover, .w3f22-bottom-item:focus, .w3f22-bottom-item.w3f22-active { color: var(--w3f22-gold); transform: translateY(-.3rem) scale(1.03); }
.w3f22-bottom-item.w3f22-active:after { content: ''; position: absolute; top: .4rem; width: 2.6rem; height: .25rem; border-radius: 999px; background: var(--w3f22-gold); }
.w3f22-dot { position: absolute; top: .75rem; right: 1.35rem; min-width: 1.55rem; height: 1.55rem; border-radius: 50%; display: grid; place-items: center; background: var(--w3f22-accent); color: #fff; font-size: .9rem; }

@media (min-width: 769px) {
  .w3f22-bottom-nav { display: none; }
  .w3f22-page, .w3f22-header { max-width: 100%; }
  .w3f22-container { width: min(100% - 4rem, 112rem); }
  .w3f22-desktop-nav { display: flex; gap: 1rem; align-items: center; }
  .w3f22-desktop-nav a { color: #fce0e7; text-decoration: none; font-weight: 800; }
  .w3f22-menu-btn { display: none; }
  .w3f22-game-grid { grid-template-columns: repeat(8, 1fr); }
  .w3f22-wrapper { padding-top: 8rem; }
  .w3f22-footer { padding-bottom: 2.4rem; }
}

@media (max-width: 768px) {
  main { padding-bottom: 8rem; }
  .w3f22-two { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .w3f22-game-grid { grid-template-columns: repeat(3, 1fr); }
  .w3f22-btn { padding: .8rem .9rem; font-size: 1.1rem; }
  .w3f22-title { font-size: 2.45rem; line-height: 2.8rem; }
}
