:root {
  --jps-primary: #4CC9F0;
  --jps-secondary: #3A86FF;
  --jps-accent: #80FFDB;
  --jps-bg: #08101A;
  --jps-surface: #152231;
  --jps-text-main: #EDF8FF;
  --jps-text-muted: #A9C0D4;
  --jps-font-head: 'Playfair Display', serif;
  --jps-font-body: 'Inter', sans-serif;
  --jps-transition: 0.3s ease;
  --jps-border-radius: 8px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body.justplayandsee_body {
  font-family: var(--jps-font-body);
  background-color: var(--jps-bg);
  color: var(--jps-text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--jps-primary); text-decoration: none; transition: color var(--jps-transition); }
a:hover { color: var(--jps-accent); }
img { max-width: 100%; height: auto; display: block; }
.justplayandsee_container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.justplayandsee_h1, .justplayandsee_h2, .justplayandsee_h3 {
  font-family: var(--jps-font-head);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.justplayandsee_h1 { font-size: 2.5rem; color: var(--jps-text-main); }
.justplayandsee_h2 { font-size: 2rem; color: var(--jps-accent); }
.justplayandsee_h3 { font-size: 1.5rem; color: var(--jps-text-main); }
.justplayandsee_text-center { text-align: center; }
.justplayandsee_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--jps-border-radius);
  font-family: var(--jps-font-body);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--jps-transition);
  text-align: center;
  text-decoration: none;
  min-height: 44px;
}
.justplayandsee_btn--primary {
  background-color: var(--jps-primary);
  color: var(--jps-bg);
}
.justplayandsee_btn--primary:hover {
  background-color: var(--jps-accent);
  transform: translateY(-2px);
}
.justplayandsee_btn--secondary {
  background-color: transparent;
  color: var(--jps-primary);
  border: 1px solid var(--jps-primary);
}
.justplayandsee_btn--secondary:hover {
  background-color: rgba(76, 201, 240, 0.1);
}
.justplayandsee_btn--accent {
  background-color: var(--jps-accent);
  color: var(--jps-bg);
}
.justplayandsee_btn--accent:hover {
  background-color: #fff;
  box-shadow: 0 0 15px var(--jps-accent);
}
.justplayandsee_btn--text {
  background: none;
  color: var(--jps-text-muted);
  text-decoration: underline;
  padding: 0;
}
.justplayandsee_btn--text:hover { color: var(--jps-text-main); }

.justplayandsee_header {
  background-color: rgba(8, 16, 26, 0.95);
  border-bottom: 1px solid rgba(76, 201, 240, 0.2);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}
.justplayandsee_header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.justplayandsee_logo {
  font-family: var(--jps-font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--jps-text-main);
  text-decoration: none;
}
.justplayandsee_nav-list {
  list-style: none;
  display: flex;
  gap: 20px;
}
.justplayandsee_nav-link {
  color: var(--jps-text-main);
  font-weight: 500;
}
.justplayandsee_header-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}
.justplayandsee_age-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--jps-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
  color: var(--jps-text-muted);
}
.justplayandsee_burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
}
.justplayandsee_burger-line {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--jps-text-main);
  transition: var(--jps-transition);
}

.justplayandsee_wallet-widget {
  position: fixed;
  top: 90px;
  right: 20px;
  background-color: var(--jps-surface);
  border: 1px solid var(--jps-primary);
  padding: 10px 20px;
  border-radius: 30px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  transition: transform 0.2s;
}
.justplayandsee_wallet-widget.is-updated { transform: scale(1.1); }
.justplayandsee_wallet-label { color: var(--jps-accent); font-weight: 700; }
.justplayandsee_wallet-balance { font-family: monospace; font-size: 1.2rem; }

.justplayandsee_hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.justplayandsee_hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.justplayandsee_hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to right, rgba(8,16,26,0.9) 0%, rgba(8,16,26,0.4) 100%);
  z-index: 1;
}
.justplayandsee_hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  padding: 40px 0;
}
.justplayandsee_hero .justplayandsee_h1 { font-size: 3.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.justplayandsee_lead { font-size: 1.2rem; margin-bottom: 30px; color: var(--jps-text-muted); }
.justplayandsee_hero-actions { display: flex; flex-direction: column; gap: 15px; }
.justplayandsee_hero-disclaimer { font-size: 0.85rem; color: var(--jps-text-muted); text-transform: uppercase; letter-spacing: 1px; }

.justplayandsee_hero-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--jps-surface);
  border-top: 1px solid rgba(76, 201, 240, 0.3);
  padding: 10px 0;
  z-index: 2;
  overflow: hidden;
}
.justplayandsee_ticker-inner {
  display: flex;
  gap: 50px;
  white-space: nowrap;
  animation: tickerScroll 20s linear infinite;
  color: var(--jps-primary);
  font-weight: 600;
}
@keyframes tickerScroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.justplayandsee_section {
  padding: 80px 0;
}
.justplayandsee_section-header {
  text-align: center;
  margin-bottom: 50px;
  max-width: 700px;
  margin-inline: auto;
}

.justplayandsee_home-live-game-section { background-color: var(--jps-surface); }
.justplayandsee_live-game-wrapper { max-width: 600px; margin: 0 auto; }
.justplayandsee_game-card {
  background: var(--jps-bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--jps-border-radius);
  padding: 20px;
  margin-bottom: 20px;
}
.justplayandsee_game-visual {
  background: #000;
  border-radius: var(--jps-border-radius);
  margin-bottom: 20px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 250px;
  position: relative;
}
.justplayandsee_slot-frame {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.justplayandsee_slot-reels {
  display: flex;
  gap: 10px;
  background: rgba(0,0,0,0.8);
  padding: 10px;
  border-radius: 8px;
  border: 2px solid var(--jps-primary);
}
.justplayandsee_slot-reel {
  width: 80px;
  height: 80px;
  overflow: hidden;
  position: relative;
  background: #111;
}
.justplayandsee_slot-symbol {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.justplayandsee_wheel-container {
  position: relative;
}
.justplayandsee_wheel-board {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  transition: transform 3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.justplayandsee_wheel-pointer {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 30px solid var(--jps-accent);
  z-index: 10;
}
.justplayandsee_game-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  gap: 10px;
}
.justplayandsee_bet-selector {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.justplayandsee_select {
  background: var(--jps-surface);
  color: var(--jps-text-main);
  border: 1px solid var(--jps-text-muted);
  padding: 8px;
  border-radius: 4px;
}
.justplayandsee_fixed-bet { font-weight: bold; color: var(--jps-text-muted); }
.justplayandsee_game-status {
  background: var(--jps-surface);
  padding: 10px;
  text-align: center;
  border-radius: 4px;
  font-weight: bold;
  color: var(--jps-accent);
  margin-bottom: 10px;
}
.justplayandsee_game-history {
  font-size: 0.85rem;
  color: var(--jps-text-muted);
  text-align: center;
}
.justplayandsee_game-nav { text-align: center; }

.justplayandsee_grid {
  display: grid;
  gap: 30px;
}
.justplayandsee_grid--2 { grid-template-columns: 1fr 1fr; }
.justplayandsee_grid--3 { grid-template-columns: repeat(3, 1fr); }

.justplayandsee_split-content {
  display: flex;
  gap: 40px;
  align-items: center;
}
.justplayandsee_split-text { flex: 1; }
.justplayandsee_split-image { flex: 1; }
.justplayandsee_img-fluid { width: 100%; border-radius: var(--jps-border-radius); }
.justplayandsee_list { padding-left: 20px; margin-top: 15px; }
.justplayandsee_list li { margin-bottom: 10px; }

.justplayandsee_card {
  background: var(--jps-surface);
  padding: 30px;
  border-radius: var(--jps-border-radius);
  border-top: 4px solid var(--jps-primary);
}

.justplayandsee_feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.justplayandsee_feature-item {
  background: var(--jps-bg);
  padding: 25px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--jps-border-radius);
}

.justplayandsee_story-block { background-color: var(--jps-surface); }
.justplayandsee_poster-callout {
  background: linear-gradient(135deg, var(--jps-surface), var(--jps-bg));
  padding: 50px;
  border-left: 10px solid var(--jps-accent);
  border-radius: var(--jps-border-radius);
  font-size: 1.1rem;
}

.justplayandsee_accordion-item {
  background: var(--jps-surface);
  margin-bottom: 10px;
  border-radius: var(--jps-border-radius);
  overflow: hidden;
}
.justplayandsee_accordion-title {
  padding: 20px;
  font-weight: bold;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.justplayandsee_accordion-title::-webkit-details-marker { display: none; }
.justplayandsee_accordion-title::after {
  content: '+';
  color: var(--jps-primary);
}
details[open] .justplayandsee_accordion-title::after { content: '-'; }
.justplayandsee_accordion-content {
  padding: 0 20px 20px;
  color: var(--jps-text-muted);
}

.justplayandsee_easter-egg-trigger {
  position: fixed;
  bottom: 100px;
  left: 20px;
  width: 30px;
  height: 30px;
  background: url('assets/images/justplayandsee-secret-snowflake.webp') center/cover;
  opacity: 0.1;
  cursor: pointer;
  transition: opacity var(--jps-transition);
  z-index: 50;
}
.justplayandsee_easter-egg-trigger:hover { opacity: 0.8; }

.justplayandsee_page-header {
  padding: 80px 0 40px;
  text-align: center;
  background: linear-gradient(to bottom, var(--jps-surface), var(--jps-bg));
}
.justplayandsee_page-header--lobby { padding-bottom: 20px; }

.justplayandsee_lobby-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.justplayandsee_game-module {
  background: var(--jps-surface);
  border-radius: var(--jps-border-radius);
  padding: 20px;
  border: 1px solid rgba(76, 201, 240, 0.2);
}

.justplayandsee_gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.justplayandsee_contact-form-wrapper {
  background: var(--jps-surface);
  padding: 30px;
  border-radius: var(--jps-border-radius);
}
.justplayandsee_form-group { margin-bottom: 20px; }
.justplayandsee_form-group label { display: block; margin-bottom: 8px; color: var(--jps-text-muted); }
.justplayandsee_input {
  width: 100%;
  padding: 12px;
  background: var(--jps-bg);
  border: 1px solid var(--jps-text-muted);
  color: var(--jps-text-main);
  border-radius: 4px;
}
.justplayandsee_textarea { min-height: 120px; resize: vertical; }
.justplayandsee_address-block { margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); }

.justplayandsee_policy-content .justplayandsee_policy-block { max-width: 800px; margin: 0 auto; }
.justplayandsee_policy-content h2 { margin-top: 40px; }

.justplayandsee_footer {
  background-color: var(--jps-surface);
  padding: 60px 0 20px;
  border-top: 1px solid rgba(76, 201, 240, 0.3);
  text-align: center;
}
.justplayandsee_footer-disclaimer { margin-bottom: 30px; }
.justplayandsee_footer-legal-text {
  font-size: 0.85rem;
  color: var(--jps-text-muted);
  max-width: 800px;
  margin: 0 auto 30px;
}
.justplayandsee_footer-legal-text p { margin-bottom: 10px; }
.justplayandsee_footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.justplayandsee_footer-partners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.justplayandsee_partner-link { display: block; width: 150px; padding: 10px; border-radius: 4px; }
.justplayandsee_partner-gamcare { background-color: #ffffff; }
.justplayandsee_partner-aware { background-color: #111111; }
.justplayandsee_footer-copyright { font-size: 0.8rem; color: rgba(169, 192, 212, 0.5); }

.justplayandsee_modal {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--jps-transition);
}
.justplayandsee_modal:not([aria-hidden="true"]) {
  opacity: 1;
  pointer-events: auto;
}
.justplayandsee_modal-content {
  background: var(--jps-surface);
  padding: 40px;
  border-radius: var(--jps-border-radius);
  max-width: 500px;
  width: 90%;
  position: relative;
  border: 1px solid var(--jps-primary);
}
.justplayandsee_modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: var(--jps-text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

.justplayandsee_toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--jps-primary);
  color: var(--jps-bg);
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: bold;
  z-index: 1100;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.justplayandsee_toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 1024px) {
  .justplayandsee_hero .justplayandsee_h1 { font-size: 2.8rem; }
  .justplayandsee_lobby-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .justplayandsee_nav { display: none; position: absolute; top: 70px; left: 0; width: 100%; background: var(--jps-surface); padding: 20px; border-bottom: 1px solid var(--jps-primary); }
  .justplayandsee_nav.is-open { display: block; }
  .justplayandsee_nav-list { flex-direction: column; text-align: center; }
  .justplayandsee_burger { display: flex; }
  .justplayandsee_hero .justplayandsee_h1 { font-size: 2.2rem; }
  .justplayandsee_split-content { flex-direction: column; }
  .justplayandsee_grid--2, .justplayandsee_grid--3 { grid-template-columns: 1fr; }
  .justplayandsee_lobby-grid { display: flex; flex-direction: column; gap: 30px; }
  .justplayandsee_game-controls { flex-direction: column; align-items: stretch; }
  .justplayandsee_wallet-widget { top: auto; bottom: 20px; right: 50%; transform: translateX(50%); }
  .justplayandsee_wallet-widget.is-updated { transform: translateX(50%) scale(1.1); }
  .justplayandsee_gallery { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .justplayandsee_hero .justplayandsee_h1 { font-size: 1.8rem; }
  .justplayandsee_btn { padding: 10px 15px; font-size: 0.9rem; }
}

/* footer-logo-contrast-guard */
a[href*="begambleaware.org"] img,
a[href*="begambleaware.org"] picture,
a[href*="begambleaware.org"] .partner-logo,
img[src*="gambleaware"],
img[alt*="BeGambleAware" i],
img[alt*="GambleAware" i] {
  background: #111111 !important;
  padding: 0.45rem 0.7rem !important;
  border-radius: 0.7rem !important;
  box-sizing: border-box !important;
}

a[href*="gamcare.org"] img,
a[href*="gamcare.org"] picture,
a[href*="gamcare.org"] .partner-logo,
img[src*="gamcare"],
img[alt*="GamCare" i] {
  background: #ffffff !important;
  padding: 0.45rem 0.7rem !important;
  border-radius: 0.7rem !important;
  box-sizing: border-box !important;
}

a[href*="begambleaware.org"],
a[href*="gamcare.org"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
