/* Peryagame mobile-first design system. */
:root {
  font-size: 62.5%;
  --w6c55-primary: #0000cd;
  --w6c55-bg: #090b2a;
  --w6c55-panel: #111640;
  --w6c55-panel-soft: #1a2055;
  --w6c55-text: #e6e6fa;
  --w6c55-muted: #b8bee8;
  --w6c55-accent: #ffcf4a;
  --w6c55-hot: #ff5e7a;
  --w6c55-cyan: #55d8ff;
  --w6c55-line: rgba(230, 230, 250, .18);
  --w6c55-shadow: 0 1.6rem 4rem rgba(0, 0, 0, .34);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 20% 0%, rgba(85,216,255,.18), transparent 32rem), linear-gradient(160deg, #070922 0%, #10164b 48%, #2e4057 100%);
  color: var(--w6c55-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.5rem;
  line-height: 1.5rem;
  overflow-x: hidden;
}
body.w6c55-lock { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
main { width: 100%; }
.w6c55-shell {
  width: min(100%, 43rem);
  margin: 0 auto;
  min-height: 100vh;
  background: rgba(9, 11, 42, .76);
  box-shadow: 0 0 0 .1rem rgba(230,230,250,.06), 0 0 5rem rgba(0,0,0,.32);
}
.w6c55-container { width: min(100% - 2.4rem, 40.6rem); margin: 0 auto; }
.w6c55-wrapper { padding: 1.4rem 0; }
.w6c55-grid { display: grid; gap: 1.2rem; }
.w6c55-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(1.8rem);
  background: linear-gradient(180deg, rgba(9,11,42,.97), rgba(17,22,64,.89));
  border-bottom: .1rem solid var(--w6c55-line);
}
.w6c55-header-compact { box-shadow: var(--w6c55-shadow); }
.w6c55-topbar {
  min-height: 6.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}
.w6c55-brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  min-height: 4.4rem;
}
.w6c55-logo {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 1rem;
  box-shadow: 0 0 1.4rem rgba(85,216,255,.38);
}
.w6c55-brand-text { display: grid; gap: .2rem; }
.w6c55-brand-name { font-size: 1.7rem; font-weight: 900; letter-spacing: .02em; color: #fff; }
.w6c55-brand-tag { font-size: 1rem; color: var(--w6c55-muted); text-transform: uppercase; letter-spacing: .12em; }
.w6c55-actions { display: flex; align-items: center; gap: .6rem; }
.w6c55-btn {
  border: 0;
  border-radius: 999rem;
  min-height: 4.4rem;
  padding: 0 1.35rem;
  color: #080a21;
  background: linear-gradient(135deg, var(--w6c55-accent), #fff0a1);
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  box-shadow: 0 .8rem 1.8rem rgba(255,207,74,.18);
  transition: transform .2s ease, filter .2s ease, background .2s ease;
}
.w6c55-btn:hover, .w6c55-btn:focus { transform: translateY(-.1rem) scale(1.02); filter: brightness(1.05); }
.w6c55-btn-alt { background: linear-gradient(135deg, var(--w6c55-cyan), #dff8ff); }
.w6c55-btn-ghost { background: rgba(230,230,250,.12); color: var(--w6c55-text); border: .1rem solid var(--w6c55-line); }
.w6c55-menu-btn {
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 1.4rem;
  border: .1rem solid var(--w6c55-line);
  background: rgba(255,255,255,.08);
  color: var(--w6c55-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  cursor: pointer;
}
.w6c55-nav-panel {
  position: fixed;
  inset: 0 0 auto 0;
  min-height: 100vh;
  z-index: 9999;
  background: linear-gradient(160deg, #080a28, #172062 58%, #2e4057);
  transform: translateY(-110%);
  transition: transform .28s ease;
  padding: 8rem 1.6rem 2rem;
}
.w6c55-menu-open { transform: translateY(0); }
.w6c55-menu-close { position: absolute; top: 1.4rem; right: 1.4rem; }
.w6c55-nav-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.w6c55-nav-link {
  min-height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.4rem;
  border-radius: 1.4rem;
  background: rgba(230,230,250,.09);
  border: .1rem solid var(--w6c55-line);
  color: var(--w6c55-text);
  text-decoration: none;
  font-weight: 800;
}
.w6c55-desktop-nav { display: none; }
.w6c55-hero { padding: 1.6rem 0 1rem; }
.w6c55-kicker { color: var(--w6c55-accent); text-transform: uppercase; letter-spacing: .16em; font-size: 1.1rem; font-weight: 900; }
.w6c55-title { font-size: clamp(2.6rem, 8vw, 3.8rem); line-height: 1.05; margin: .8rem 0; letter-spacing: -.03em; }
.w6c55-lead { color: var(--w6c55-muted); line-height: 1.6; margin: 0 0 1rem; }
.w6c55-promo-text { color: var(--w6c55-accent); font-weight: 900; cursor: pointer; text-decoration: underline; text-underline-offset: .3rem; }
.w6c55-card {
  background: linear-gradient(180deg, rgba(230,230,250,.10), rgba(230,230,250,.045));
  border: .1rem solid var(--w6c55-line);
  border-radius: 2rem;
  box-shadow: var(--w6c55-shadow);
  padding: 1.4rem;
}
.w6c55-card-bright { background: linear-gradient(145deg, rgba(0,0,205,.34), rgba(85,216,255,.12)); }
.w6c55-carousel { position: relative; overflow: hidden; border-radius: 2.2rem; border: .1rem solid var(--w6c55-line); min-height: 17.8rem; }
.w6c55-slide { display: none; cursor: pointer; position: relative; }
.w6c55-slide-active { display: block; }
.w6c55-slide img { width: 100%; height: 18.2rem; object-fit: cover; }
.w6c55-slide-caption { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; padding: 1rem; border-radius: 1.4rem; background: rgba(5,7,30,.78); backdrop-filter: blur(1rem); }
.w6c55-dots { position: absolute; right: 1rem; top: 1rem; display: flex; gap: .5rem; }
.w6c55-dot { width: .9rem; height: .9rem; border: 0; border-radius: 999rem; background: rgba(255,255,255,.42); cursor: pointer; }
.w6c55-dot-active { width: 2.2rem; background: var(--w6c55-accent); }
.w6c55-section { padding: 1.6rem 0; }
.w6c55-section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.w6c55-section h2 { font-size: 2.2rem; line-height: 1.15; margin: 0 0 .8rem; }
.w6c55-section h3 { font-size: 1.7rem; line-height: 1.2; margin: 1rem 0 .6rem; }
.w6c55-section p, .w6c55-section li { line-height: 1.6; color: var(--w6c55-muted); }
.w6c55-pill-row { display: flex; flex-wrap: wrap; gap: .7rem; }
.w6c55-pill { border: .1rem solid var(--w6c55-line); border-radius: 999rem; padding: .7rem 1rem; color: var(--w6c55-text); background: rgba(255,255,255,.06); font-weight: 800; }
.w6c55-game-group { margin-bottom: 1.6rem; }
.w6c55-game-title { display: flex; align-items: center; gap: .8rem; color: #fff; margin: 0 0 .8rem; }
.w6c55-game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .9rem; }
.w6c55-game {
  text-decoration: none;
  color: var(--w6c55-text);
  background: rgba(255,255,255,.065);
  border: .1rem solid var(--w6c55-line);
  border-radius: 1.3rem;
  padding: .7rem .55rem;
  min-height: 10.2rem;
  display: grid;
  align-content: start;
  justify-items: center;
  gap: .5rem;
  transition: transform .2s ease, background .2s ease;
}
.w6c55-game:hover { transform: translateY(-.2rem); background: rgba(255,255,255,.12); }
.w6c55-game img { width: 5.2rem; height: 5.2rem; border-radius: 1.2rem; object-fit: cover; }
.w6c55-game span { font-size: 1.08rem; line-height: 1.2; text-align: center; font-weight: 800; }
.w6c55-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.w6c55-stat { padding: 1.2rem; border-radius: 1.6rem; background: rgba(0,0,205,.22); border: .1rem solid var(--w6c55-line); }
.w6c55-stat strong { display: block; font-size: 2.1rem; color: var(--w6c55-accent); line-height: 1.1; }
.w6c55-mini-list { display: grid; gap: .8rem; padding-left: 1.8rem; }
.w6c55-review { display: grid; gap: .8rem; }
.w6c55-review-item { border-left: .3rem solid var(--w6c55-accent); padding: 1rem; background: rgba(255,255,255,.06); border-radius: 1.2rem; }
.w6c55-pay-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.w6c55-pay { min-height: 5rem; display: grid; place-items: center; border-radius: 1.2rem; background: rgba(230,230,250,.1); font-weight: 900; color: #fff; }
.w6c55-linkline { display: inline; color: #fff; font-weight: 900; text-decoration: underline; text-decoration-color: var(--w6c55-accent); text-underline-offset: .3rem; }
.w6c55-footer { padding: 2rem 0 8.6rem; background: rgba(4,6,22,.74); border-top: .1rem solid var(--w6c55-line); }
.w6c55-footer-logo { display: flex; align-items: center; gap: .8rem; font-weight: 900; font-size: 1.8rem; margin-bottom: .8rem; }
.w6c55-footer-links { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.2rem 0; }
.w6c55-footer-links a { color: var(--w6c55-muted); font-weight: 800; text-decoration: none; border-bottom: .1rem solid var(--w6c55-line); }
.w6c55-partner-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1rem 0; }
.w6c55-partner { padding: .7rem 1rem; border-radius: 999rem; background: rgba(255,255,255,.08); color: #fff; font-weight: 900; }
.w6c55-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 43rem);
  height: 6.2rem;
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #0000cd;
  border-top: .1rem solid rgba(230,230,250,.28);
  box-shadow: 0 -1rem 2.4rem rgba(0,0,0,.32);
}
.w6c55-bottom-item {
  min-width: 6rem;
  min-height: 6rem;
  border: 0;
  background: transparent;
  color: rgba(230,230,250,.82);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .25rem;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform .18s ease, color .18s ease;
}
.w6c55-bottom-item i, .w6c55-bottom-item ion-icon, .w6c55-bottom-item .material-icons { font-size: 2.3rem; line-height: 1; }
.w6c55-bottom-item:hover, .w6c55-bottom-item:focus, .w6c55-current { color: var(--w6c55-accent); transform: scale(1.06); }
.w6c55-badge { position: absolute; transform: translate(1.3rem,-1.7rem); background: var(--w6c55-hot); color: #fff; border-radius: 999rem; font-size: .9rem; padding: .1rem .45rem; }
.w6c55-duo { color: var(--w6c55-accent); text-shadow: .13rem .13rem 0 var(--w6c55-hot); }
.w6c55-steps { counter-reset: w6c55step; display: grid; gap: 1rem; }
.w6c55-step { position: relative; padding-left: 4.2rem; }
.w6c55-step::before { counter-increment: w6c55step; content: counter(w6c55step); position: absolute; left: 0; top: 0; width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 1rem; background: var(--w6c55-accent); color: #070922; font-weight: 900; }
.w6c55-faq details { border: .1rem solid var(--w6c55-line); border-radius: 1.4rem; padding: 1rem; background: rgba(255,255,255,.055); margin-bottom: .8rem; }
.w6c55-faq summary { cursor: pointer; font-weight: 900; color: #fff; min-height: 3.4rem; display: flex; align-items: center; }
.w6c55-alert { border: .1rem solid rgba(255,207,74,.45); background: rgba(255,207,74,.1); border-radius: 1.6rem; padding: 1.2rem; }
@media (min-width: 769px) {
  body { background: #06071c; }
  .w6c55-shell { max-width: 118rem; width: min(100% - 3rem, 118rem); }
  .w6c55-container { width: min(100% - 4rem, 110rem); }
  .w6c55-desktop-nav { display: flex; gap: 1.2rem; align-items: center; }
  .w6c55-desktop-nav a { color: var(--w6c55-muted); text-decoration: none; font-weight: 800; }
  .w6c55-menu-btn { display: none; }
  .w6c55-bottom-nav { display: none; }
  .w6c55-game-grid { grid-template-columns: repeat(8, 1fr); }
  .w6c55-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
  .w6c55-footer { padding-bottom: 3rem; }
}
@media (max-width: 768px) {
  main { padding-bottom: 8rem; }
  .w6c55-actions .w6c55-btn { padding: 0 1rem; font-size: 1.25rem; }
  .w6c55-game-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 360px) {
  .w6c55-game-grid { gap: .65rem; }
  .w6c55-game img { width: 4.6rem; height: 4.6rem; }
  .w6c55-actions { gap: .4rem; }
  .w6c55-actions .w6c55-btn { padding: 0 .8rem; }
}
