/* piki7 mobile-first casino interface */
:root {
  font-size: 62.5%;
  --g688-primary: #ff69b4;
  --g688-secondary: #fff176;
  --g688-bg: #0d1117;
  --g688-surface: #151b26;
  --g688-panel: #1c2433;
  --g688-coral: #ff7f50;
  --g688-mint: #00ff7f;
  --g688-text: #f8fbff;
  --g688-muted: #aab7ca;
  --g688-line: rgba(255, 255, 255, .12);
  --g688-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 top left, rgba(255, 105, 180, .18), transparent 32rem), linear-gradient(180deg, #0d1117 0%, #121826 48%, #080b10 100%);
  color: var(--g688-text);
  font-family: Inter, Poppins, Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5rem;
  overflow-x: hidden;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }

.g688-wrapper { width: min(100%, 43rem); margin: 0 auto; background: rgba(13, 17, 23, .96); min-height: 100vh; position: relative; overflow: hidden; }
.g688-container { width: calc(100% - 2.4rem); margin: 0 auto; }
.g688-main { padding-top: 7.4rem; }
.g688-section { padding: 1.8rem 0; }
.g688-section-tight { padding: 1.1rem 0; }
.g688-kicker { color: var(--g688-mint); font-size: 1.15rem; font-weight: 800; letter-spacing: .12rem; text-transform: uppercase; }
.g688-title { margin: .5rem 0 1rem; font-size: clamp(2.3rem, 7vw, 3.4rem); line-height: 1.08; letter-spacing: -.06rem; }
.g688-subtitle { margin: .4rem 0 1rem; font-size: 2.1rem; line-height: 1.2; }
.g688-copy { color: var(--g688-muted); line-height: 1.55; margin: .8rem 0; }
.g688-text-link { color: var(--g688-secondary); font-weight: 800; text-decoration: underline; text-decoration-color: rgba(255, 241, 118, .45); }
.g688-text-link:hover { color: var(--g688-mint); }

.g688-header { position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 1000; width: min(100%, 43rem); background: rgba(13, 17, 23, .9); backdrop-filter: blur(1.6rem); border-bottom: .1rem solid var(--g688-line); transition: box-shadow .25s ease, background .25s ease; }
.g688-header-compact { box-shadow: var(--g688-shadow); background: rgba(8, 11, 16, .96); }
.g688-header-row { display: flex; align-items: center; justify-content: space-between; min-height: 6.4rem; gap: .8rem; padding: 0 1.2rem; }
.g688-brand { display: inline-flex; align-items: center; gap: .7rem; min-width: 0; text-decoration: none; }
.g688-brand img { width: 3.2rem; height: 3.2rem; border-radius: .9rem; box-shadow: 0 0 1.8rem rgba(255, 105, 180, .42); }
.g688-brand-name { font-size: 1.9rem; font-weight: 900; letter-spacing: .03rem; color: var(--g688-text); }
.g688-header-actions { display: flex; align-items: center; gap: .5rem; }
.g688-btn { border: 0; border-radius: 999rem; min-height: 4.4rem; padding: 0 1.35rem; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; color: #090a0f; background: linear-gradient(135deg, var(--g688-secondary), var(--g688-coral)); font-weight: 900; font-size: 1.25rem; text-decoration: none; cursor: pointer; box-shadow: 0 .8rem 2.1rem rgba(255, 127, 80, .25); transition: transform .18s ease, filter .18s ease; }
.g688-btn:hover, .g688-btn:focus { transform: translateY(-.1rem) scale(1.02); filter: brightness(1.05); }
.g688-btn-alt { color: var(--g688-text); background: linear-gradient(135deg, rgba(255, 105, 180, .95), rgba(0, 255, 127, .72)); }
.g688-icon-btn { min-width: 4.4rem; min-height: 4.4rem; border: .1rem solid var(--g688-line); border-radius: 1.4rem; color: var(--g688-text); background: rgba(255,255,255,.06); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.g688-menu { position: fixed; top: 0; right: 0; width: min(34rem, 88vw); height: 100vh; z-index: 9999; background: linear-gradient(180deg, #151b26, #0d1117); transform: translateX(105%); transition: transform .28s ease; padding: 1.6rem; box-shadow: -2rem 0 5rem rgba(0,0,0,.45); overflow-y: auto; }
.g688-menu-open { transform: translateX(0); }
.g688-body-lock { overflow: hidden; }
.g688-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.g688-menu-title { font-size: 1.8rem; font-weight: 900; }
.g688-menu-grid { display: grid; gap: .9rem; }
.g688-menu-link { min-height: 4.8rem; border-radius: 1.4rem; padding: 1.2rem; background: rgba(255,255,255,.06); border: .1rem solid var(--g688-line); color: var(--g688-text); text-decoration: none; display: flex; align-items: center; justify-content: space-between; font-weight: 800; }

.g688-hero { padding: 1.4rem 0 1.8rem; }
.g688-hero-card { border: .1rem solid rgba(255, 105, 180, .3); background: linear-gradient(160deg, rgba(255,105,180,.16), rgba(0,255,127,.08)), var(--g688-surface); border-radius: 2.4rem; overflow: hidden; box-shadow: var(--g688-shadow); }
.g688-hero-content { padding: 1.6rem; }
.g688-hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.g688-pill-row { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1rem 0; }
.g688-pill { padding: .55rem .9rem; border-radius: 999rem; background: rgba(255,255,255,.07); border: .1rem solid var(--g688-line); color: var(--g688-secondary); font-weight: 800; font-size: 1.2rem; }
.g688-carousel { position: relative; height: 18.8rem; overflow: hidden; background: #05070b; }
.g688-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .65s ease, transform .65s ease; cursor: pointer; }
.g688-slide-active { opacity: 1; transform: scale(1); }
.g688-slide img { width: 100%; height: 100%; object-fit: cover; }
.g688-slide-badge { position: absolute; left: 1.2rem; bottom: 1.2rem; padding: .65rem 1rem; border-radius: 999rem; background: rgba(13,17,23,.86); color: var(--g688-secondary); font-weight: 900; }

.g688-card { border: .1rem solid var(--g688-line); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035)); border-radius: 2rem; padding: 1.4rem; box-shadow: 0 .8rem 2.4rem rgba(0,0,0,.18); }
.g688-card-hot { border-color: rgba(255, 127, 80, .42); background: linear-gradient(160deg, rgba(255,127,80,.16), rgba(255,105,180,.08)); }
.g688-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.g688-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.g688-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.g688-stat { padding: 1.1rem; border-radius: 1.6rem; background: rgba(0,255,127,.08); border: .1rem solid rgba(0,255,127,.18); }
.g688-stat strong { display: block; color: var(--g688-mint); font-size: 2rem; line-height: 1.1; }
.g688-stat span { color: var(--g688-muted); font-size: 1.2rem; }

.g688-game-category { margin-bottom: 1.6rem; }
.g688-category-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.g688-category-head h2 { margin: 0; font-size: 1.9rem; color: var(--g688-secondary); }
.g688-category-head span { color: var(--g688-muted); font-size: 1.2rem; }
.g688-game-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; }
.g688-game { min-height: 9.8rem; padding: .6rem; border-radius: 1.4rem; background: rgba(255,255,255,.06); border: .1rem solid var(--g688-line); text-align: center; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.g688-game:hover { transform: translateY(-.2rem); border-color: var(--g688-primary); }
.g688-game img { width: 5.4rem; height: 5.4rem; object-fit: cover; margin: 0 auto .45rem; border-radius: 1.1rem; }
.g688-game span { display: block; color: var(--g688-text); font-size: 1.05rem; line-height: 1.15; font-weight: 800; }

.g688-step-list { counter-reset: g688-step; display: grid; gap: 1rem; }
.g688-step { position: relative; padding-left: 4.6rem; }
.g688-step:before { counter-increment: g688-step; content: counter(g688-step); position: absolute; left: 0; top: .2rem; width: 3.2rem; height: 3.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--g688-primary); color: #090a0f; font-weight: 900; }
.g688-check-list { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .7rem; }
.g688-check-list li { padding: .9rem 1rem; border-radius: 1.3rem; background: rgba(255,255,255,.055); border-left: .35rem solid var(--g688-mint); color: var(--g688-muted); }
.g688-review { display: grid; gap: 1rem; }
.g688-quote { border-left: .35rem solid var(--g688-secondary); padding: 1rem 1.2rem; background: rgba(255,241,118,.08); border-radius: 1.2rem; color: var(--g688-text); }
.g688-payment-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.g688-payment { min-height: 4.4rem; padding: .8rem 1rem; border-radius: 1.4rem; background: rgba(255,255,255,.08); color: var(--g688-secondary); font-weight: 900; display: inline-flex; align-items: center; gap: .6rem; }
.g688-winner { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .9rem 0; border-bottom: .1rem solid var(--g688-line); }
.g688-winner strong { color: var(--g688-mint); }
.g688-cta-strip { text-align: center; border-radius: 2.2rem; padding: 1.8rem; background: radial-gradient(circle at 20% 20%, rgba(255,241,118,.2), transparent 12rem), linear-gradient(135deg, rgba(255,105,180,.26), rgba(0,255,127,.13)); border: .1rem solid rgba(255,255,255,.16); }

.g688-footer { padding: 2rem 0 8.8rem; background: #080b10; border-top: .1rem solid var(--g688-line); }
.g688-footer-logo { display: flex; align-items: center; gap: .8rem; font-size: 2rem; font-weight: 900; }
.g688-footer-logo img { width: 3.4rem; height: 3.4rem; border-radius: 1rem; }
.g688-footer-links { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0; }
.g688-footer-link { padding: .8rem 1rem; border-radius: 999rem; background: rgba(255,255,255,.07); color: var(--g688-text); text-decoration: none; font-weight: 800; font-size: 1.2rem; }
.g688-partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1rem; }
.g688-partner { min-height: 4.8rem; border-radius: 1.4rem; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--g688-secondary); font-weight: 900; }
.g688-copyright { color: var(--g688-muted); font-size: 1.2rem; margin-top: 1.2rem; }

.g688-bottom-nav { position: fixed; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 1000; width: min(100%, 43rem); height: 6.2rem; background: #10151f; border-top: .1rem solid rgba(255,255,255,.14); display: flex; justify-content: space-around; align-items: center; box-shadow: 0 -1rem 3rem rgba(0,0,0,.4); }
.g688-bottom-item { min-width: 6rem; min-height: 6rem; border: 0; background: transparent; color: var(--g688-muted); 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; position: relative; }
.g688-bottom-item i, .g688-bottom-item ion-icon, .g688-bottom-item .material-icons, .g688-bottom-item .ti { font-size: 2.3rem; line-height: 1; }
.g688-bottom-item:hover, .g688-bottom-item:focus, .g688-bottom-item.g688-active { color: var(--g688-secondary); transform: translateY(-.25rem); }
.g688-bottom-item.g688-active:before { content: ''; position: absolute; top: .45rem; width: 3.2rem; height: .28rem; border-radius: 999rem; background: linear-gradient(90deg, var(--g688-primary), var(--g688-mint)); }
.g688-badge { position: absolute; top: .5rem; right: 1.2rem; min-width: 1.6rem; height: 1.6rem; border-radius: 999rem; background: var(--g688-coral); color: #07090d; font-size: 1rem; font-weight: 900; display: grid; place-items: center; }

@media (min-width: 769px) {
  body { background: #080b10; }
  .g688-wrapper { border-left: .1rem solid var(--g688-line); border-right: .1rem solid var(--g688-line); }
  .g688-bottom-nav { display: none; }
  .g688-footer { padding-bottom: 2.4rem; }
}
@media (max-width: 768px) {
  main { padding-bottom: 8rem; }
}
@media (max-width: 360px) {
  .g688-btn { padding: 0 .95rem; font-size: 1.12rem; }
  .g688-game-grid { grid-template-columns: repeat(3, 1fr); }
  .g688-header-row { padding: 0 .8rem; }
}
