/* 68win21 layout CSS - prefix pga6- */
:root {
  --pga6-primary: #4169E1;
  --pga6-accent: #9400D3;
  --pga6-teal: #40E0D0;
  --pga6-sky: #87CEEB;
  --pga6-bg: #141414;
  --pga6-bg2: #1d1d28;
  --pga6-card: #232333;
  --pga6-text: #f3f6ff;
  --pga6-muted: #9aa3c0;
  --pga6-gold: #ffd34d;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  background: var(--pga6-bg);
  color: var(--pga6-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--pga6-teal); text-decoration: none; }
.pga6-container { width: 100%; padding: 0 1.2rem; }
.pga6-wrapper { padding-top: 6.4rem; padding-bottom: 7.6rem; }

/* ===== Header ===== */
.pga6-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; z-index: 1000;
  background: linear-gradient(135deg, #0f0f18 0%, #1a1a2e 100%);
  border-bottom: 2px solid var(--pga6-primary);
  box-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.pga6-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 1rem; gap: .6rem;
}
.pga6-logo { display: flex; align-items: center; gap: .6rem; min-width: 0; }
.pga6-logo img { width: 2.8rem; height: 2.8rem; border-radius: .5rem; }
.pga6-logo-text { font-size: 1.6rem; font-weight: 800; color: var(--pga6-sky); white-space: nowrap; }
.pga6-logo-text span { color: var(--pga6-teal); }
.pga6-header-actions { display: flex; align-items: center; gap: .5rem; }
.pga6-btn {
  border: none; border-radius: .8rem; padding: .7rem 1.1rem;
  font-size: 1.25rem; font-weight: 700; cursor: pointer;
  display: inline-flex; align-items: center; gap: .35rem; line-height: 1;
  transition: transform .15s ease, filter .15s ease;
}
.pga6-btn:active { transform: scale(.95); }
.pga6-btn-register { background: linear-gradient(135deg, var(--pga6-accent), #c44dff); color: #fff; }
.pga6-btn-login { background: linear-gradient(135deg, var(--pga6-primary), var(--pga6-teal)); color: #fff; }
.pga6-menu-btn {
  background: transparent; border: 1px solid var(--pga6-primary);
  color: var(--pga6-sky); border-radius: .6rem; padding: .55rem .7rem;
  cursor: pointer; font-size: 1.4rem;
}

/* ===== Nav menu ===== */
.pga6-nav {
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  background: #15151f; border-top: 1px solid #2a2a3d;
}
.pga6-nav-open { max-height: 60rem; }
.pga6-nav-list { list-style: none; padding: .6rem 1rem; }
.pga6-nav-list li { border-bottom: 1px solid #25253a; }
.pga6-nav-list li:last-child { border-bottom: none; }
.pga6-nav-list a {
  display: flex; align-items: center; gap: .6rem;
  padding: .9rem .4rem; color: var(--pga6-text); font-weight: 600;
}
.pga6-nav-list a:hover { color: var(--pga6-teal); }
.pga6-nav-list i { color: var(--pga6-sky); font-size: 1.6rem; width: 2rem; text-align: center; }

/* ===== Hero / Carousel ===== */
.pga6-carousel { position: relative; margin: 1rem 0; border-radius: 1rem; overflow: hidden; }
.pga6-slides { position: relative; }
.pga6-slide {
  display: none; position: relative; cursor: pointer;
  border-radius: 1rem; overflow: hidden;
}
.pga6-slide-active { display: block; }
.pga6-slide img { width: 100%; height: 18rem; object-fit: cover; }
.pga6-slide-cap {
  position: absolute; left: 0; bottom: 0; width: 100%;
  padding: .8rem 1rem; color: #fff; font-weight: 700;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
}
.pga6-dots { display: flex; justify-content: center; gap: .5rem; padding: .6rem 0; }
.pga6-dot { width: .8rem; height: .8rem; border-radius: 50%; background: #444; cursor: pointer; }
.pga6-dot-active { background: var(--pga6-teal); }

/* ===== Section ===== */
.pga6-section { margin: 1.8rem 0; }
.pga6-section-title {
  font-size: 1.6rem; font-weight: 800; margin-bottom: .8rem;
  display: flex; align-items: center; gap: .5rem; color: var(--pga6-sky);
  border-left: 4px solid var(--pga6-accent); padding-left: .6rem;
}
.pga6-h1 { font-size: 2rem; font-weight: 900; line-height: 1.3; color: #fff; margin: 1rem 0; }
.pga6-h1 span { color: var(--pga6-teal); }
.pga6-lead { color: var(--pga6-muted); margin-bottom: 1rem; }
.pga6-text p { margin-bottom: .8rem; color: #d7dcf0; }

/* ===== Game grid ===== */
.pga6-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; }
.pga6-game {
  background: var(--pga6-card); border-radius: .8rem; overflow: hidden;
  border: 1px solid #2c2c44; cursor: pointer; text-align: center;
  transition: transform .15s ease, border-color .15s ease;
}
.pga6-game:active { transform: scale(.96); border-color: var(--pga6-teal); }
.pga6-game img { width: 100%; height: 7.5rem; object-fit: cover; }
.pga6-game-name {
  font-size: 1.05rem; padding: .35rem .2rem; color: var(--pga6-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600;
}

/* ===== Cards ===== */
.pga6-card {
  background: var(--pga6-card); border-radius: 1rem; padding: 1.2rem;
  margin-bottom: 1rem; border: 1px solid #2c2c44;
}
.pga6-card h2, .pga6-card h3 { color: var(--pga6-sky); margin-bottom: .6rem; }
.pga6-card.pga6-card-accent { border-left: 4px solid var(--pga6-accent); }
.pga6-card.pga6-card-teal { border-left: 4px solid var(--pga6-teal); }

.pga6-promo {
  background: linear-gradient(135deg, var(--pga6-accent), var(--pga6-primary));
  border-radius: 1rem; padding: 1.2rem; text-align: center; color: #fff; margin: 1rem 0;
}
.pga6-promo .pga6-btn { background: #fff; color: var(--pga6-accent); margin-top: .6rem; }

.pga6-list { list-style: none; }
.pga6-list li { padding: .6rem 0; border-bottom: 1px solid #2c2c44; display: flex; gap: .6rem; }
.pga6-list li:last-child { border-bottom: none; }
.pga6-list i { color: var(--pga6-teal); margin-top: .2rem; }

.pga6-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0; }
.pga6-tag { background: #2a2a44; color: var(--pga6-sky); border-radius: 1rem; padding: .2rem .7rem; font-size: 1.1rem; }

.pga6-rtp-row { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid #2c2c44; font-size: 1.2rem; }
.pga6-bar { height: .6rem; background: #333; border-radius: 1rem; overflow: hidden; margin-top: .3rem; }
.pga6-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--pga6-teal), var(--pga6-sky)); }

.pga6-testi { background: var(--pga6-card); border-radius: .8rem; padding: 1rem; margin-bottom: .7rem; border-left: 3px solid var(--pga6-gold); }
.pga6-testi b { color: var(--pga6-sky); }
.pga6-stars { color: var(--pga6-gold); margin-bottom: .3rem; }

.pga6-pay { display: flex; flex-wrap: wrap; gap: .5rem; }
.pga6-pay span { background: #2a2a44; border-radius: .6rem; padding: .5rem .8rem; font-size: 1.1rem; color: var(--pga6-sky); }

.pga6-winner { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid #2c2c44; font-size: 1.2rem; }
.pga6-winner b { color: var(--pga6-gold); }

/* ===== Footer ===== */
.pga6-footer {
  background: #0f0f18; border-top: 2px solid var(--pga6-primary);
  padding: 1.5rem 1rem 2rem; margin-top: 1.5rem;
}
.pga6-footer p { color: var(--pga6-muted); margin-bottom: .8rem; font-size: 1.2rem; }
.pga6-footer-links { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; }
.pga6-footer-links a {
  background: #1d1d2e; border: 1px solid #2c2c44; color: var(--pga6-sky);
  border-radius: .6rem; padding: .4rem .7rem; font-size: 1.1rem;
}
.pga6-footer-links a:hover { color: var(--pga6-teal); border-color: var(--pga6-teal); }
.pga6-footer-promo { display: flex; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; }
.pga6-footer-promo .pga6-btn { font-size: 1.1rem; padding: .55rem .9rem; }
.pga6-copyright { color: #6a7090; font-size: 1.05rem; margin-top: .8rem; text-align: center; }

/* ===== Mobile bottom nav ===== */
.pga6-bnav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: 6rem; z-index: 1000;
  background: linear-gradient(180deg, #15151f, #0d0d16);
  border-top: 2px solid var(--pga6-primary);
  display: flex; justify-content: space-around; align-items: center;
}
.pga6-bnav-btn {
  background: transparent; border: none; color: var(--pga6-muted);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 6rem; min-height: 5.6rem; gap: .2rem; cursor: pointer;
  font-size: 1rem; font-weight: 600; transition: color .15s ease, transform .15s ease;
}
.pga6-bnav-btn i, .pga6-bnav-btn .material-icons-outlined { font-size: 2.2rem; }
.pga6-bnav-btn:active { transform: scale(.92); }
.pga6-bnav-active { color: var(--pga6-teal); }
.pga6-bnav-promo { color: var(--pga6-gold); }
.pga6-badge {
  position: absolute; top: .3rem; right: 1.1rem; background: var(--pga6-accent);
  color: #fff; border-radius: 1rem; font-size: .9rem; padding: 0 .4rem; min-width: 1.4rem; text-align: center;
}

/* ===== Desktop ===== */
@media (min-width: 769px) {
  body { max-width: 430px; }
  .pga6-bnav { display: none; }
  .pga6-wrapper { padding-bottom: 2rem; }
}
