:root {
  --color-primary: #0EA5A8;
  --color-secondary: #1F6F78;
  --color-accent: #D88C4A;
  --color-bg: #08161A;
  --color-surface: #13272C;
  --color-text-main: #E9F5F5;
  --color-text-muted: #A6BDBE;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --transition-speed: 0.3s;
  --container-width: 1200px;
}

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

body.nightbetcompass_body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-speed);
}
a:hover {
  color: var(--color-accent);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 1rem;
}

.nightbetcompass_container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.nightbetcompass_section {
  padding: 4rem 0;
}

.nightbetcompass_btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-speed);
  text-align: center;
}
.nightbetcompass_btn_primary {
  background-color: var(--color-primary);
  color: var(--color-bg);
}
.nightbetcompass_btn_primary:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
}
.nightbetcompass_btn_outline {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}
.nightbetcompass_btn_outline:hover {
  background-color: var(--color-primary);
  color: var(--color-bg);
}

.nightbetcompass_header {
  background-color: rgba(19, 39, 44, 0.95);
  border-bottom: 2px solid var(--color-accent);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}
.nightbetcompass_header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 1rem;
}
.nightbetcompass_logo_link {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text-main);
  font-weight: bold;
}
.nightbetcompass_nav {
  display: flex;
  align-items: center;
}
.nightbetcompass_menu {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}
.nightbetcompass_menu_link {
  color: var(--color-text-muted);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.nightbetcompass_menu_link.is_active, .nightbetcompass_menu_link:hover {
  color: var(--color-primary);
}
.nightbetcompass_burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 0.5rem;
}
.nightbetcompass_burger_line {
  width: 25px;
  height: 3px;
  background-color: var(--color-text-main);
  transition: all 0.3s;
}
.nightbetcompass_header_controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.nightbetcompass_wallet_compact {
  display: flex;
  align-items: center;
  background: var(--color-bg);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  border: 1px solid var(--color-primary);
}
.nightbetcompass_wallet_icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
}
.nightbetcompass_wallet_balance {
  font-family: var(--font-heading);
  color: var(--color-accent);
  font-weight: bold;
  margin-right: 0.25rem;
}
.nightbetcompass_wallet_symbol {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.nightbetcompass_btn_upgrade {
  background: transparent;
  border: 1px solid var(--color-text-muted);
  color: var(--color-text-main);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}
.nightbetcompass_age_badge_header {
  background: var(--color-bg);
  color: var(--color-text-muted);
  text-align: center;
  font-size: 0.75rem;
  padding: 0.25rem;
  border-top: 1px solid #111;
}

.nightbetcompass_hero_dashboard {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-bg) 100%);
  text-align: center;
}
.nightbetcompass_h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.nightbetcompass_hero_subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}
.nightbetcompass_hero_trust {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.nightbetcompass_trust_badge {
  background: rgba(14, 165, 168, 0.1);
  border: 1px solid var(--color-primary);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
}
.nightbetcompass_ticker_track {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  font-size: 0.85rem;
  color: var(--color-accent);
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 0.5rem 0;
  flex-wrap: wrap;
}

.nightbetcompass_home_game_wrapper {
  background: var(--color-surface);
  border: 1px solid var(--color-secondary);
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  text-align: center;
}
.nightbetcompass_game_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.5rem;
}
.nightbetcompass_h3 {
  font-size: 1.2rem;
  margin: 0;
}
.nightbetcompass_game_balance {
  display: flex;
  align-items: center;
  color: var(--color-accent);
  font-weight: bold;
}
.nightbetcompass_icon_small {
  width: 16px;
  margin-right: 4px;
}
.nightbetcompass_game_canvas {
  background: #000;
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1rem;
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.nightbetcompass_wheel_container {
  position: relative;
  width: 180px;
  height: 180px;
}
.nightbetcompass_wheel_pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 15px solid var(--color-accent);
  z-index: 10;
}
.nightbetcompass_wheel_board {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.nightbetcompass_game_controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.nightbetcompass_select {
  background: var(--color-bg);
  color: var(--color-text-main);
  border: 1px solid var(--color-secondary);
  padding: 0.5rem;
  border-radius: 4px;
}
.nightbetcompass_btn_spin {
  background-color: var(--color-accent);
  color: #000;
  font-size: 1.1rem;
}
.nightbetcompass_game_result {
  font-weight: bold;
  min-height: 24px;
  color: var(--color-primary);
}
.nightbetcompass_game_history {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.nightbetcompass_history_log {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.nightbetcompass_history_badge {
  background: rgba(255,255,255,0.1);
  padding: 2px 6px;
  border-radius: 3px;
}

.nightbetcompass_cta_container {
  text-align: center;
}

.nightbetcompass_feature_differentiator {
  background-size: cover;
  background-position: center;
  position: relative;
  text-align: center;
}
.nightbetcompass_content_overlay {
  background: rgba(8, 22, 26, 0.85);
  padding: 3rem;
  border-radius: 8px;
  display: inline-block;
  max-width: 800px;
}
.nightbetcompass_sonar_results {
  margin-top: 1rem;
  min-height: 24px;
  font-weight: bold;
  color: var(--color-accent);
}

.nightbetcompass_economy_grid, .nightbetcompass_ranks_grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.nightbetcompass_economy_card, .nightbetcompass_rank_card {
  background: var(--color-surface);
  border-left: 4px solid var(--color-primary);
  padding: 1.5rem;
  flex: 1;
  min-width: 250px;
  max-width: 350px;
}
.nightbetcompass_reward {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-accent);
  font-weight: bold;
}

.nightbetcompass_split_layout {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.nightbetcompass_split_text, .nightbetcompass_split_visual {
  flex: 1;
  min-width: 300px;
}
.nightbetcompass_fairplay_meter {
  background: var(--color-bg);
  border: 2px solid var(--color-secondary);
  height: 40px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.nightbetcompass_meter_fill {
  background: var(--color-primary);
  height: 100%;
}
.nightbetcompass_meter_label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 2px #000;
}

.nightbetcompass_accordion_item {
  border-bottom: 1px solid var(--color-secondary);
}
.nightbetcompass_accordion_trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--color-text-main);
  padding: 1rem 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}
.nightbetcompass_accordion_trigger::after {
  content: '+';
  color: var(--color-primary);
}
.nightbetcompass_accordion_trigger[aria-expanded="true"]::after {
  content: '-';
}
.nightbetcompass_accordion_content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.nightbetcompass_accordion_trigger[aria-expanded="true"] + .nightbetcompass_accordion_content {
  max-height: 200px;
  padding-bottom: 1rem;
}

.nightbetcompass_lobby_grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}
.nightbetcompass_three_column .nightbetcompass_game_module {
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  background: var(--color-surface);
  border: 1px solid var(--color-secondary);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
}
.nightbetcompass_slot_board {
  position: relative;
  width: 100%;
  height: 150px;
}
.nightbetcompass_slot_frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  object-fit: cover;
}
.nightbetcompass_reels_container {
  position: absolute;
  top: 10%;
  left: 10%;
  width: 80%;
  height: 80%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1;
  background: #050d0f;
}
.nightbetcompass_reel {
  width: 30%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.nightbetcompass_reel_symbol {
  width: 100%;
  object-fit: contain;
}

.nightbetcompass_page_header {
  background: var(--color-surface);
  padding: 3rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--color-secondary);
}
.nightbetcompass_lead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
}
.nightbetcompass_disclaimer_overlay {
  margin-top: 1rem;
  color: var(--color-accent);
  font-weight: bold;
  font-size: 0.9rem;
}

.nightbetcompass_article h2 {
  margin-top: 2rem;
  color: var(--color-primary);
}
.nightbetcompass_article p {
  margin-bottom: 1rem;
}

.nightbetcompass_contact_grid {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}
.nightbetcompass_contact_info, .nightbetcompass_contact_form {
  flex: 1;
  min-width: 300px;
}
.nightbetcompass_form_group {
  margin-bottom: 1rem;
}
.nightbetcompass_form_group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
.nightbetcompass_form_group input, .nightbetcompass_form_group textarea {
  width: 100%;
  padding: 0.75rem;
  background: var(--color-bg);
  border: 1px solid var(--color-secondary);
  color: var(--color-text-main);
  border-radius: 4px;
}

.nightbetcompass_footer {
  background: #040A0C;
  border-top: 2px solid var(--color-secondary);
  padding: 3rem 1rem 1rem;
  position: relative;
}
.nightbetcompass_footer_container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}
.nightbetcompass_footer_identity, .nightbetcompass_footer_compliance, .nightbetcompass_footer_links, .nightbetcompass_footer_partners {
  flex: 1;
  min-width: 250px;
}
.nightbetcompass_company_name {
  display: block;
  font-family: var(--font-heading);
  font-weight: bold;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.nightbetcompass_address, .nightbetcompass_reg_number, .nightbetcompass_email {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: 0.5rem;
}
.nightbetcompass_h3_footer {
  font-size: 1rem;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}
.nightbetcompass_simulated_notice {
  font-weight: bold;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}
.nightbetcompass_no_real_money_text {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.nightbetcompass_legal_list {
  list-style: none;
}
.nightbetcompass_legal_list li {
  margin-bottom: 0.5rem;
}
.nightbetcompass_legal_list a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.nightbetcompass_footer_partners {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.nightbetcompass_partner_link {
  display: inline-block;
  padding: 0.5rem;
  border-radius: 4px;
}
.nightbetcompass_partner_gamcare {
  background: #fff;
}
.nightbetcompass_partner_begambleaware {
  background: #111;
  border: 1px solid #333;
}
.nightbetcompass_partner_link img {
  max-width: 100px;
  height: auto;
  display: block;
}
.nightbetcompass_footer_bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.nightbetcompass_easter_egg {
  position: absolute;
  bottom: 10px;
  right: 10px;
  opacity: 0.2;
  cursor: pointer;
  transition: opacity 0.3s;
}
.nightbetcompass_easter_egg:hover {
  opacity: 0.8;
}
.nightbetcompass_easter_egg_icon {
  width: 30px;
  height: 30px;
}

.nightbetcompass_modal, .nightbetcompass_age_gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
}
.nightbetcompass_modal[aria-hidden="true"], .nightbetcompass_age_gate[aria-hidden="true"] {
  display: none;
}
.nightbetcompass_modal_overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
}
.nightbetcompass_modal_content, .nightbetcompass_age_gate_content {
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  padding: 2rem;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  position: relative;
  z-index: 1001;
  text-align: center;
}
.nightbetcompass_modal_close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: var(--color-text-main);
  font-size: 1.5rem;
  cursor: pointer;
}
.nightbetcompass_age_gate_content {
  max-width: 500px;
}
.nightbetcompass_age_gate_content .nightbetcompass_btn {
  margin: 1rem 0.5rem 0;
}

.nightbetcompass_notification {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-secondary);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 4px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.nightbetcompass_notification.is_visible {
  opacity: 1;
}

@keyframes spinWheel {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes spinSlot {
  0% { transform: translateY(-10%); }
  50% { transform: translateY(10%); }
  100% { transform: translateY(0); }
}
.is_spinning_wheel {
  animation: spinWheel 0.5s linear infinite;
}
.is_spinning_slot {
  animation: spinSlot 0.2s linear infinite;
}

@media (max-width: 768px) {
  .nightbetcompass_menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-surface);
    flex-direction: column;
    padding: 1rem;
    text-align: center;
  }
  .nightbetcompass_menu.is_open {
    display: flex;
  }
  .nightbetcompass_burger {
    display: flex;
  }
  .nightbetcompass_header_controls {
    display: none;
  }
  .nightbetcompass_header_controls.show_mobile {
    display: flex;
    position: absolute;
    top: 15px;
    right: 50px;
  }
  .nightbetcompass_split_layout {
    flex-direction: column;
  }
  .nightbetcompass_footer_container {
    flex-direction: column;
  }
}
@media (max-width: 360px) {
  .nightbetcompass_h1 {
    font-size: 1.8rem;
  }
  .nightbetcompass_hero_trust {
    flex-direction: column;
  }
}

/* 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;
}
