/* plus7 styles - pg61 prefix | palette: #2F2F2F #E0F2F1 #B8860B #FFD700 #273746 */
:root {
  --pg61-bg: #2F2F2F;
  --pg61-bg-deep: #273746;
  --pg61-surface: #3a3a3a;
  --pg61-text: #E0F2F1;
  --pg61-muted: #a8c5c2;
  --pg61-gold: #FFD700;
  --pg61-bronze: #B8860B;
  --pg61-primary: #B8860B;
  --pg61-accent: #FFD700;
  --pg61-header-h: 5.6rem;
  --pg61-bottom-h: 6.2rem;
  --pg61-radius: 1rem;
  --pg61-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.35);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5rem;
  background: var(--pg61-bg);
  color: var(--pg61-text);
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--pg61-gold); text-decoration: none; }
a:hover { color: #fff3a0; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.pg61-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}

.pg61-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }

/* Header */
.pg61-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, #1a252f 0%, var(--pg61-bg-deep) 100%);
  border-bottom: 1px solid rgba(255, 215, 0, 0.25);
  box-shadow: var(--pg61-shadow);
  height: var(--pg61-header-h);
}

.pg61-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  gap: 0.8rem;
}

.pg61-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  flex-shrink: 1;
}

.pg61-logo img {
  width: 3rem;
  height: 3rem;
  border-radius: 0.6rem;
  border: 1px solid var(--pg61-bronze);
}

.pg61-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pg61-gold);
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.pg61-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.pg61-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 4.4rem;
  min-width: 4.4rem;
  padding: 0.8rem 1.2rem;
  border-radius: 0.8rem;
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pg61-btn:active { transform: scale(0.96); }

.pg61-btn-register {
  background: linear-gradient(135deg, var(--pg61-gold), var(--pg61-bronze));
  color: #1a1a1a;
  box-shadow: 0 0.2rem 0.8rem rgba(255, 215, 0, 0.35);
}

.pg61-btn-login {
  background: transparent;
  color: var(--pg61-gold);
  border: 1.5px solid var(--pg61-gold);
}

.pg61-btn-promo {
  background: linear-gradient(135deg, var(--pg61-bronze), #8b6914);
  color: #fff;
  width: 100%;
  margin: 0.8rem 0;
}

.pg61-btn-menu {
  width: 4.4rem;
  height: 4.4rem;
  color: var(--pg61-gold);
  font-size: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Mobile menu */
.pg61-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}

.pg61-overlay-active {
  opacity: 1;
  visibility: visible;
}

.pg61-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(82vw, 32rem);
  height: 100%;
  background: linear-gradient(180deg, #1a252f, var(--pg61-bg));
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  padding: 1.6rem;
  overflow-y: auto;
  border-left: 1px solid rgba(255, 215, 0, 0.2);
}

.pg61-menu-open { transform: translateX(0); }

.pg61-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.6rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.pg61-menu-head span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pg61-gold);
}

.pg61-menu-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0.8rem;
  color: var(--pg61-text);
  font-size: 1.4rem;
  border-bottom: 1px solid rgba(224, 242, 241, 0.08);
  min-height: 4.4rem;
}

.pg61-menu-list a:hover { color: var(--pg61-gold); background: rgba(255, 215, 0, 0.06); }

/* Main */
.pg61-main {
  padding-top: calc(var(--pg61-header-h) + 1rem);
  max-width: 430px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .pg61-main { padding-bottom: 8rem; }
}

/* Carousel */
.pg61-carousel {
  position: relative;
  margin: 0 1.2rem 1.6rem;
  border-radius: var(--pg61-radius);
  overflow: hidden;
  box-shadow: var(--pg61-shadow);
  border: 1px solid rgba(184, 134, 11, 0.35);
}

.pg61-carousel-track {
  display: flex;
  transition: transform 0.4s ease;
}

.pg61-slide {
  min-width: 100%;
  cursor: pointer;
}

.pg61-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.pg61-carousel-ctrl {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: rgba(39, 55, 70, 0.75);
  color: var(--pg61-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  z-index: 2;
}

.pg61-carousel-prev { left: 0.8rem; }
.pg61-carousel-next { right: 0.8rem; }

.pg61-carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  z-index: 2;
}

.pg61-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(224, 242, 241, 0.4);
  transition: background 0.2s, transform 0.2s;
}

.pg61-dot-active {
  background: var(--pg61-gold);
  transform: scale(1.25);
}

/* Sections */
.pg61-section {
  padding: 1.6rem 1.2rem;
}

.pg61-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--pg61-gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.4;
}

.pg61-h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--pg61-gold);
  text-align: center;
  line-height: 1.35;
  padding: 0.4rem 1.2rem 1.2rem;
}

.pg61-lead {
  font-size: 1.35rem;
  color: var(--pg61-muted);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

.pg61-text {
  font-size: 1.35rem;
  color: var(--pg61-text);
  line-height: 1.55;
  margin-bottom: 1rem;
}

.pg61-text a { font-weight: 700; text-decoration: underline; }

/* Game grid */
.pg61-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.pg61-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.pg61-game-item:active { transform: scale(0.94); }

.pg61-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 0.8rem;
  object-fit: cover;
  border: 1px solid rgba(184, 134, 11, 0.4);
  background: var(--pg61-surface);
}

.pg61-game-item span {
  font-size: 1rem;
  color: var(--pg61-text);
  text-align: center;
  margin-top: 0.4rem;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* Cards */
.pg61-card {
  background: var(--pg61-surface);
  border-radius: var(--pg61-radius);
  padding: 1.4rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(184, 134, 11, 0.25);
  box-shadow: var(--pg61-shadow);
}

.pg61-card h3 {
  font-size: 1.5rem;
  color: var(--pg61-gold);
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

.pg61-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pg61-feature-icon {
  font-size: 2.4rem;
  color: var(--pg61-gold);
  margin-bottom: 0.6rem;
}

/* FAQ */
.pg61-faq-item {
  background: var(--pg61-surface);
  border-radius: 0.8rem;
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--pg61-bronze);
}

.pg61-faq-item h3 {
  font-size: 1.4rem;
  color: var(--pg61-gold);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

/* RTP table */
.pg61-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
  margin: 1rem 0;
}

.pg61-rtp-table th,
.pg61-rtp-table td {
  padding: 0.8rem;
  text-align: left;
  border-bottom: 1px solid rgba(224, 242, 241, 0.1);
}

.pg61-rtp-table th {
  color: var(--pg61-gold);
  background: rgba(39, 55, 70, 0.6);
}

.pg61-rtp-table td { color: var(--pg61-text); }

/* Testimonials */
.pg61-review {
  background: linear-gradient(135deg, #3a3a3a, #273746);
  border-radius: var(--pg61-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 215, 0, 0.15);
}

.pg61-review-name {
  font-weight: 700;
  color: var(--pg61-gold);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.pg61-stars { color: var(--pg61-gold); font-size: 1.2rem; margin-bottom: 0.6rem; }

/* Winners */
.pg61-winner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(224, 242, 241, 0.08);
}

.pg61-winner-amt {
  margin-left: auto;
  color: var(--pg61-gold);
  font-weight: 700;
  font-size: 1.3rem;
}

/* Payment */
.pg61-pay-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  text-align: center;
}

.pg61-pay-item {
  background: var(--pg61-bg-deep);
  border-radius: 0.8rem;
  padding: 1.2rem 0.6rem;
  border: 1px solid rgba(184, 134, 11, 0.3);
  font-size: 1.1rem;
  color: var(--pg61-text);
}

.pg61-pay-item i,
.pg61-pay-item .material-icons {
  font-size: 2.2rem;
  color: var(--pg61-gold);
  display: block;
  margin-bottom: 0.4rem;
}

/* CTA block */
.pg61-cta {
  text-align: center;
  padding: 2rem 1.2rem;
  background: linear-gradient(160deg, #273746, #1a252f);
  border-radius: var(--pg61-radius);
  margin: 1.2rem;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

.pg61-cta h2 {
  font-size: 1.8rem;
  color: var(--pg61-gold);
  margin-bottom: 0.8rem;
  line-height: 1.35;
}

/* Link list */
.pg61-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
}

.pg61-link-list a {
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: underline;
  color: var(--pg61-gold);
}

/* Footer */
.pg61-footer {
  background: var(--pg61-bg-deep);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  padding: 2rem 1.2rem 2rem;
  max-width: 430px;
  margin: 0 auto;
}

.pg61-footer-brand {
  font-size: 1.3rem;
  color: var(--pg61-muted);
  line-height: 1.55;
  margin-bottom: 1.2rem;
}

.pg61-footer-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.pg61-footer-btns .pg61-btn {
  min-height: 4.4rem;
  font-size: 1.15rem;
  background: linear-gradient(135deg, var(--pg61-bronze), #8b6914);
  color: #fff;
}

.pg61-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  margin-bottom: 1.2rem;
}

.pg61-footer-links a {
  font-size: 1.2rem;
  color: var(--pg61-muted);
  min-height: 4.4rem;
  display: inline-flex;
  align-items: center;
}

.pg61-footer-links a:hover { color: var(--pg61-gold); }

.pg61-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: var(--pg61-muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(224, 242, 241, 0.08);
}

/* Bottom nav */
.pg61-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--pg61-bottom-h);
  background: linear-gradient(0deg, #1a1a1a 0%, #273746 100%);
  border-top: 2px solid var(--pg61-bronze);
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -0.3rem 1rem rgba(0, 0, 0, 0.4);
  max-width: 430px;
  margin: 0 auto;
}

.pg61-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 6rem;
  color: var(--pg61-muted);
  font-size: 1rem;
  gap: 0.2rem;
  transition: color 0.15s, transform 0.15s;
  flex: 1;
}

.pg61-bnav-item i,
.pg61-bnav-item .material-icons,
.pg61-bnav-item ion-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.pg61-bnav-item .material-icons { font-size: 2.4rem; }

.pg61-bnav-item:active { transform: scale(0.9); color: var(--pg61-gold); }

.pg61-bnav-active {
  color: var(--pg61-gold);
}

.pg61-bnav-active i,
.pg61-bnav-active .material-icons {
  text-shadow: 0 0 0.8rem rgba(255, 215, 0, 0.5);
}

@media (min-width: 769px) {
  .pg61-bottom-nav { display: none; }
  .pg61-main { padding-bottom: 2rem; }
  body {
    background: #1a1a1a;
  }
  .pg61-header-inner,
  .pg61-main,
  .pg61-footer,
  .pg61-bottom-nav,
  .pg61-wrapper {
    max-width: 430px;
  }
}

/* Helpers */
.pg61-mt-1 { margin-top: 1rem; }
.pg61-mb-1 { margin-bottom: 1rem; }
.pg61-text-center { text-align: center; }
.pg61-bold { font-weight: 700; }
.pg61-gold { color: var(--pg61-gold); }
.pg61-promo-text {
  font-weight: 700;
  color: var(--pg61-gold);
  cursor: pointer;
  text-decoration: underline;
}

.pg61-steps {
  counter-reset: step;
}

.pg61-step {
  position: relative;
  padding: 1rem 1rem 1rem 4.2rem;
  margin-bottom: 0.8rem;
  background: var(--pg61-surface);
  border-radius: 0.8rem;
  border: 1px solid rgba(184, 134, 11, 0.2);
  line-height: 1.5;
  font-size: 1.3rem;
}

.pg61-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pg61-gold), var(--pg61-bronze));
  color: #1a1a1a;
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg61-badge {
  display: inline-block;
  background: var(--pg61-bronze);
  color: #fff;
  font-size: 1rem;
  padding: 0.2rem 0.6rem;
  border-radius: 0.4rem;
  font-weight: 700;
  margin-left: 0.4rem;
}
