:root {
  --kentville-primary: #2D6BFF;
  --kentville-secondary: #1E3A8A;
  --kentville-accent: #F4B942;
  --kentville-bg: #0A1022;
  --kentville-surface: #131F3F;
  --kentville-text-primary: #EEF4FF;
  --kentville-text-secondary: #B5C2DE;
  --kentville-font-heading: 'Playfair Display', serif;
  --kentville-font-body: 'Inter', sans-serif;
  --kentville-danger: #e53e3e;
  --kentville-success: #38a169;
  --kentville-radius: 8px;
  --kentville-radius-lg: 16px;
}

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

body.kentville_body {
  font-family: var(--kentville-font-body);
  background-color: var(--kentville-bg);
  color: var(--kentville-text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--kentville-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.kentville_container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.kentville_narrow_container {
  max-width: 800px;
}

.kentville_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-family: var(--kentville-font-body);
  font-weight: 700;
  border: none;
  border-radius: var(--kentville-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 44px;
  font-size: 1rem;
}

.kentville_btn_primary {
  background-color: var(--kentville-accent);
  color: #000;
}

.kentville_btn_primary:hover {
  background-color: #f6c86a;
  transform: translateY(-2px);
}

.kentville_btn_secondary {
  background-color: transparent;
  color: var(--kentville-accent);
  border: 2px solid var(--kentville-accent);
}

.kentville_btn_secondary:hover {
  background-color: var(--kentville-accent);
  color: #000;
}

.kentville_header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--kentville-secondary);
  border-bottom: 2px solid var(--kentville-accent);
}

.kentville_header_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.kentville_logo {
  font-family: var(--kentville-font-heading);
  font-size: 1.5rem;
  color: var(--kentville-accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.kentville_nav_toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-height: 44px;
  min-width: 44px;
}

.kentville_nav_toggle_icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--kentville-text-primary);
  position: relative;
  transition: background-color 0.3s;
}

.kentville_nav_toggle_icon::before,
.kentville_nav_toggle_icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--kentville-text-primary);
  transition: transform 0.3s;
  left: 0;
}

.kentville_nav_toggle_icon::before { top: -8px; }
.kentville_nav_toggle_icon::after { top: 8px; }

.kentville_nav_toggle[aria-expanded="true"] .kentville_nav_toggle_icon { background-color: transparent; }
.kentville_nav_toggle[aria-expanded="true"] .kentville_nav_toggle_icon::before { transform: translateY(8px) rotate(45deg); }
.kentville_nav_toggle[aria-expanded="true"] .kentville_nav_toggle_icon::after { transform: translateY(-8px) rotate(-45deg); }

.kentville_nav_list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.kentville_nav_link {
  color: var(--kentville-text-primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.kentville_nav_link:hover,
.kentville_nav_active {
  color: var(--kentville-accent);
}

.kentville_wallet_widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--kentville-surface);
  border: 2px solid var(--kentville-accent);
  border-radius: 50px;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 90;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  font-weight: 700;
}

.kentville_wallet_icon { font-size: 1.2rem; }
.kentville_wallet_balance { color: var(--kentville-text-primary); }
.kentville_wallet_currency { color: var(--kentville-accent); font-size: 0.8rem; }

.kentville_main { flex: 1; }

.kentville_hero_section {
  display: flex;
  min-height: 80vh;
  background-color: var(--kentville-bg);
  position: relative;
  overflow: hidden;
}

.kentville_hero_content {
  flex: 1;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  max-width: 600px;
}

.kentville_age_badge_hero_strip {
  background: var(--kentville-surface);
  border-left: 4px solid var(--kentville-accent);
  padding: 0.5rem 1rem;
  margin-bottom: 2rem;
  display: inline-block;
}

.kentville_age_badge_text {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--kentville-text-secondary);
  letter-spacing: 1px;
}

.kentville_hero_title {
  font-size: 3.5rem;
  color: var(--kentville-text-primary);
  margin-bottom: 1.5rem;
}

.kentville_hero_subtitle {
  font-size: 1.25rem;
  color: var(--kentville-text-secondary);
  margin-bottom: 2.5rem;
}

.kentville_hero_visual {
  flex: 1;
  position: relative;
  min-height: 500px;
}

.kentville_hero_img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  right: 0;
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.kentville_home_block {
  padding: 5rem 0;
}

.kentville_home_block:nth-child(even) {
  background-color: var(--kentville-surface);
}

.kentville_section_title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--kentville-accent);
}

.kentville_editorial_stack {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.kentville_text_body {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--kentville-text-secondary);
}

.kentville_live_game_wrapper {
  max-width: 600px;
  margin: 0 auto 3rem;
  background: var(--kentville-surface);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--kentville-radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.kentville_wheel_board_container {
  position: relative;
  width: 250px;
  height: 250px;
  margin: 0 auto 2rem;
}

.kentville_wheel_img, .kentville_wheel_img_play {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center center;
}

.kentville_wheel_pointer {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 25px solid var(--kentville-accent);
  z-index: 2;
}

.kentville_game_controls {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.kentville_bet_selector {
  background: var(--kentville-bg);
  color: var(--kentville-text-primary);
  border: 1px solid var(--kentville-text-secondary);
  padding: 0.5rem 1rem;
  border-radius: var(--kentville-radius);
  font-family: var(--kentville-font-body);
  font-size: 1rem;
}

.kentville_game_result_panel {
  background: var(--kentville-bg);
  padding: 1rem;
  border-radius: var(--kentville-radius);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kentville_result_text {
  font-weight: 700;
  color: var(--kentville-accent);
}

.kentville_cta_center {
  text-align: center;
}

.kentville_card_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.kentville_card {
  background: var(--kentville-surface);
  padding: 2rem;
  border-radius: var(--kentville-radius-lg);
  border-top: 4px solid var(--kentville-primary);
}

.kentville_card_title {
  font-size: 1.5rem;
  color: var(--kentville-text-primary);
}

.kentville_card_text {
  color: var(--kentville-text-secondary);
}

.kentville_split_editorial {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.kentville_editorial_text, .kentville_editorial_media {
  flex: 1;
}

.kentville_bullet_list {
  list-style: none;
  margin-top: 1.5rem;
}

.kentville_bullet_list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--kentville-text-secondary);
}

.kentville_bullet_list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--kentville-accent);
}

.kentville_framed_img {
  border-radius: var(--kentville-radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
}

.kentville_data_row {
  display: flex;
  justify-content: space-between;
  background: var(--kentville-surface);
  border-radius: var(--kentville-radius-lg);
  padding: 3rem 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.kentville_data_item {
  text-align: center;
  flex: 1;
  min-width: 200px;
}

.kentville_data_value {
  display: block;
  font-family: var(--kentville-font-heading);
  font-size: 2.5rem;
  color: var(--kentville-accent);
  margin-bottom: 0.5rem;
}

.kentville_data_label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--kentville-text-secondary);
}

.kentville_timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.kentville_timeline_step {
  background: var(--kentville-surface);
  padding: 1.5rem;
  border-left: 4px solid var(--kentville-accent);
  border-radius: 0 var(--kentville-radius) var(--kentville-radius) 0;
}

.kentville_mt_4 { margin-top: 2rem; text-align: center; }

.kentville_page_header {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--kentville-bg), var(--kentville-surface));
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.kentville_page_title {
  font-size: 3rem;
  color: var(--kentville-accent);
}

.kentville_page_subtitle {
  font-size: 1.25rem;
  color: var(--kentville-text-secondary);
}

.kentville_content_block {
  padding: 4rem 0;
}

.kentville_editorial_split {
  display: flex;
  gap: 4rem;
  align-items: center;
}

.kentville_callout_cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.kentville_callout_card {
  background: var(--kentville-surface);
  padding: 2rem;
  border-radius: var(--kentville-radius-lg);
  text-align: center;
}

.kentville_grid_split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.kentville_form_group {
  margin-bottom: 1.5rem;
}

.kentville_form_group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--kentville-text-secondary);
  font-size: 0.875rem;
}

.kentville_form_group input, .kentville_form_group textarea {
  width: 100%;
  padding: 0.75rem;
  background: var(--kentville-bg);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: var(--kentville-radius);
  font-family: var(--kentville-font-body);
}

.kentville_hq_card {
  background: var(--kentville-surface);
  padding: 2rem;
  border-radius: var(--kentville-radius-lg);
}

.kentville_hq_company { font-weight: 700; font-size: 1.25rem; margin-bottom: 1rem; color: var(--kentville-accent); }
.kentville_hq_address, .kentville_hq_email { color: var(--kentville-text-secondary); margin-bottom: 1rem; }
.kentville_hq_note { font-size: 0.875rem; color: var(--kentville-text-secondary); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1rem; margin-top: 1rem; }

.kentville_faq_accordion {
  max-width: 800px;
  margin: 0 auto;
}

.kentville_faq_item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.kentville_faq_trigger {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  background: none;
  border: none;
  color: var(--kentville-text-primary);
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kentville_faq_trigger::after {
  content: '+';
  color: var(--kentville-accent);
  font-size: 1.5rem;
}

.kentville_faq_trigger[aria-expanded="true"]::after {
  content: '-';
}

.kentville_faq_panel {
  display: none;
  padding-bottom: 1.5rem;
  color: var(--kentville-text-secondary);
}

.kentville_faq_trigger[aria-expanded="true"] + .kentville_faq_panel {
  display: block;
}

.kentville_lobby_area {
  padding: 4rem 0;
}

.kentville_game_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.kentville_game_card {
  background: var(--kentville-surface);
  border-radius: var(--kentville-radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.kentville_slot_machine {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 2rem;
}

.kentville_slot_bg {
  width: 100%;
  display: block;
}

.kentville_slot_window {
  position: absolute;
  top: 25%;
  left: 15%;
  width: 70%;
  height: 50%;
  display: flex;
  justify-content: space-between;
  overflow: hidden;
  background: #000;
}

.kentville_slot_reel {
  width: 30%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.kentville_sym {
  width: 80%;
  height: auto;
  object-fit: contain;
}

.kentville_wheel_machine {
  margin-bottom: 2rem;
}

.kentville_disclaimer_hub {
  background: var(--kentville-surface);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.kentville_disclaimer_prominent {
  color: var(--kentville-text-secondary);
  font-size: 0.875rem;
}

.kentville_inline_link {
  text-decoration: underline;
}

.kentville_policy_h2 {
  margin-top: 3rem;
  color: var(--kentville-text-primary);
}

.kentville_policy_p {
  color: var(--kentville-text-secondary);
  margin-bottom: 1.5rem;
}

.kentville_footer {
  background: #050811;
  padding: 4rem 1.5rem 2rem;
  border-top: 2px solid var(--kentville-secondary);
}

.kentville_footer_top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto 3rem;
}

.kentville_footer_heading {
  color: var(--kentville-accent);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.kentville_footer_identity p {
  color: var(--kentville-text-secondary);
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.kentville_footer_company {
  font-weight: 700;
  color: var(--kentville-text-primary) !important;
}

.kentville_footer_link_list {
  list-style: none;
}

.kentville_footer_link_list li {
  margin-bottom: 0.75rem;
}

.kentville_footer_link_list a {
  color: var(--kentville-text-secondary);
  font-size: 0.875rem;
}

.kentville_footer_rg_text {
  color: var(--kentville-text-secondary);
  font-size: 0.875rem;
}

.kentville_footer_middle {
  max-width: 1280px;
  margin: 0 auto 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 2rem 0;
}

.kentville_footer_sim_notice {
  font-weight: 700;
  color: var(--kentville-accent);
  margin-bottom: 0.5rem;
}

.kentville_footer_nrm_text {
  font-size: 0.75rem;
  color: var(--kentville-text-secondary);
}

.kentville_footer_partners {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.kentville_partner_link {
  display: inline-block;
  padding: 0.5rem;
  border-radius: 4px;
}

.kentville_partner_light {
  background: #fff;
}

.kentville_partner_dark {
  background: #222;
}

.kentville_partner_logo {
  height: 40px;
  width: auto;
}

.kentville_footer_bottom {
  text-align: center;
}

.kentville_footer_copyright {
  font-size: 0.75rem;
  color: var(--kentville-text-secondary);
}

.kentville_modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.kentville_modal[aria-hidden="false"] {
  display: flex;
}

.kentville_modal_dialog {
  background: var(--kentville-surface);
  padding: 2.5rem;
  border-radius: var(--kentville-radius-lg);
  width: 100%;
  max-width: 400px;
  position: relative;
  border: 1px solid var(--kentville-accent);
}

.kentville_modal_close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: var(--kentville-text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.kentville_modal_title {
  color: var(--kentville-accent);
  margin-bottom: 1.5rem;
  text-align: center;
}

.kentville_toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--kentville-surface);
  color: var(--kentville-text-primary);
  padding: 1rem 2rem;
  border-radius: 50px;
  border: 1px solid var(--kentville-accent);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 150;
  pointer-events: none;
}

.kentville_toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.kentville_spin_anim {
  animation: slotSpin 0.2s linear infinite;
}

@keyframes slotSpin {
  0% { transform: translateY(-20px); opacity: 0.5; }
  50% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(20px); opacity: 0.5; }
}

@media (max-width: 768px) {
  .kentville_nav_toggle {
    display: block;
  }
  .kentville_nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--kentville-secondary);
    padding: 1rem;
    border-bottom: 2px solid var(--kentville-accent);
  }
  .kentville_nav.open {
    display: block;
  }
  .kentville_nav_list {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  .kentville_hero_section {
    flex-direction: column;
  }
  .kentville_hero_visual {
    clip-path: none;
    min-height: 300px;
  }
  .kentville_hero_title {
    font-size: 2.5rem;
  }
  .kentville_split_editorial, .kentville_editorial_split, .kentville_grid_split {
    flex-direction: column;
    gap: 2rem;
  }
  .kentville_game_grid {
    grid-template-columns: 1fr;
  }
  .kentville_data_row {
    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;
}
