:root {
  --onetryisenough-primary: #0EA5A8;
  --onetryisenough-secondary: #1F6F78;
  --onetryisenough-accent: #D88C4A;
  --onetryisenough-bg: #08161A;
  --onetryisenough-surface: #13272C;
  --onetryisenough-text-main: #E9F5F5;
  --onetryisenough-text-muted: #A6BDBE;
  --onetryisenough-font-head: 'Playfair Display', Georgia, serif;
  --onetryisenough-font-body: 'Lora', Georgia, serif;
  --onetryisenough-transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --onetryisenough-radius: 8px;
}

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

body {
  font-family: var(--onetryisenough-font-body);
  background-color: var(--onetryisenough-bg);
  color: var(--onetryisenough-text-main);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--onetryisenough-accent);
  text-decoration: none;
  transition: var(--onetryisenough-transition);
}

a:hover {
  color: var(--onetryisenough-primary);
}

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

.onetryisenough_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.onetryisenough_btn {
  display: inline-block;
  background-color: var(--onetryisenough-accent);
  color: var(--onetryisenough-bg);
  padding: 12px 24px;
  font-family: var(--onetryisenough-font-head);
  font-weight: 700;
  border: none;
  border-radius: var(--onetryisenough-radius);
  cursor: pointer;
  transition: var(--onetryisenough-transition);
  text-align: center;
}

.onetryisenough_btn:hover {
  background-color: var(--onetryisenough-primary);
  color: var(--onetryisenough-text-main);
}

.onetryisenough_text_btn {
  background: none;
  border: none;
  color: var(--onetryisenough-accent);
  text-decoration: underline;
  cursor: pointer;
  font-family: var(--onetryisenough-font-body);
  font-size: 0.9rem;
}

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

.onetryisenough_header_inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.onetryisenough_logo {
  font-family: var(--onetryisenough-font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--onetryisenough-accent);
}

.onetryisenough_logo a {
  color: inherit;
}

.onetryisenough_nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.onetryisenough_nav a {
  color: var(--onetryisenough-text-main);
  font-family: var(--onetryisenough-font-head);
}

.onetryisenough_nav a:hover, .onetryisenough_nav a[aria-current="page"] {
  color: var(--onetryisenough-accent);
}

.onetryisenough_header_right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.onetryisenough_age_badge {
  background-color: var(--onetryisenough-bg);
  border: 1px solid var(--onetryisenough-accent);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
}

.onetryisenough_burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 20px;
  position: relative;
}

.onetryisenough_burger span {
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: var(--onetryisenough-accent);
  transition: var(--onetryisenough-transition);
}

.onetryisenough_burger span:nth-child(1) { top: 0; }
.onetryisenough_burger span:nth-child(2) { top: 9px; }
.onetryisenough_burger span:nth-child(3) { top: 18px; }

.onetryisenough_hero {
  background-color: var(--onetryisenough-surface);
  padding: 60px 0;
  overflow: hidden;
}

.onetryisenough_hero_inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.onetryisenough_hero_content h1 {
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

.onetryisenough_hero_content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--onetryisenough-text-muted);
}

.onetryisenough_hero_legal_strip {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid var(--onetryisenough-secondary);
  font-size: 0.85rem;
  color: var(--onetryisenough-text-muted);
}

.onetryisenough_hero_visual {
  position: relative;
}

.onetryisenough_hero_img {
  border-radius: var(--onetryisenough-radius);
  border: 2px solid var(--onetryisenough-secondary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  object-fit: cover;
  width: 100%;
}

.onetryisenough_page_hero {
  background-color: var(--onetryisenough-surface);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--onetryisenough-secondary);
}

.onetryisenough_page_hero h1 {
  font-size: 2.5rem;
}

.onetryisenough_ticker {
  background-color: var(--onetryisenough-accent);
  color: var(--onetryisenough-bg);
  padding: 10px 0;
  overflow: hidden;
  font-family: var(--onetryisenough-font-head);
  font-weight: bold;
  white-space: nowrap;
}

.onetryisenough_ticker_content {
  display: inline-block;
  animation: ticker 20s linear infinite;
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.onetryisenough_separator {
  margin: 0 20px;
  opacity: 0.5;
}

.onetryisenough_poster_proof {
  padding: 60px 0;
}

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

.onetryisenough_proof_card {
  background-color: var(--onetryisenough-surface);
  padding: 30px;
  border-radius: var(--onetryisenough-radius);
  border-left: 4px solid var(--onetryisenough-primary);
}

.onetryisenough_live_game_section {
  padding: 60px 0;
  background-color: var(--onetryisenough-surface);
}

.onetryisenough_section_header {
  text-align: center;
  margin-bottom: 40px;
}

.onetryisenough_live_game_wrapper {
  max-width: 600px;
  margin: 0 auto 30px;
  background: var(--onetryisenough-bg);
  border: 2px solid var(--onetryisenough-secondary);
  border-radius: var(--onetryisenough-radius);
  padding: 20px;
  text-align: center;
}

.onetryisenough_game_balance_mirror {
  font-family: var(--onetryisenough-font-head);
  color: var(--onetryisenough-accent);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.onetryisenough_slot_board {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
  background: #000;
  padding: 10px;
  border: 2px solid var(--onetryisenough-accent);
  border-radius: 4px;
}

.onetryisenough_slot_reel {
  width: 80px;
  height: 80px;
  background: var(--onetryisenough-surface);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--onetryisenough-secondary);
}

.onetryisenough_slot_reel img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: transform 0.1s;
}

.onetryisenough_slot_reel.spinning img {
  transform: translateY(100%);
  opacity: 0.5;
}

.onetryisenough_game_controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.onetryisenough_game_controls select {
  background: var(--onetryisenough-surface);
  color: var(--onetryisenough-text-main);
  border: 1px solid var(--onetryisenough-secondary);
  padding: 8px;
  border-radius: 4px;
}

.onetryisenough_game_status {
  min-height: 24px;
  color: var(--onetryisenough-text-muted);
  margin-bottom: 10px;
}

.onetryisenough_game_history {
  font-size: 0.85rem;
  color: var(--onetryisenough-primary);
}

.onetryisenough_cta_center {
  text-align: center;
}

.onetryisenough_campaign_manifesto {
  padding: 80px 0;
  background-color: var(--onetryisenough-bg);
}

.onetryisenough_manifesto_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.onetryisenough_manifesto_text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.onetryisenough_manifesto_text p {
  margin-bottom: 15px;
  color: var(--onetryisenough-text-muted);
}

.onetryisenough_loc_img {
  border-radius: var(--onetryisenough-radius);
  border: 2px solid var(--onetryisenough-primary);
}

#onetryisenough_grimoire_trigger {
  cursor: pointer;
  display: inline-block;
  margin-top: 10px;
  color: var(--onetryisenough-secondary);
  transition: var(--onetryisenough-transition);
}

#onetryisenough_grimoire_trigger:hover {
  color: var(--onetryisenough-accent);
}

.onetryisenough_faq {
  padding: 60px 0;
  background-color: var(--onetryisenough-surface);
}

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

.onetryisenough_accordion_item {
  border-bottom: 1px solid var(--onetryisenough-secondary);
}

.onetryisenough_accordion_trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--onetryisenough-primary);
  font-family: var(--onetryisenough-font-head);
  font-size: 1.2rem;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.onetryisenough_accordion_trigger::after {
  content: '+';
  color: var(--onetryisenough-accent);
}

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

.onetryisenough_accordion_content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.onetryisenough_accordion_content p {
  padding-bottom: 20px;
  color: var(--onetryisenough-text-muted);
}

.onetryisenough_lobby_header {
  background-color: var(--onetryisenough-surface);
  padding: 40px 0;
  text-align: center;
  border-bottom: 1px solid var(--onetryisenough-secondary);
}

.onetryisenough_ranks_panel {
  background: var(--onetryisenough-bg);
  padding: 15px;
  border-radius: var(--onetryisenough-radius);
  display: inline-block;
  margin-top: 20px;
  border: 1px dashed var(--onetryisenough-accent);
  text-align: left;
}

.onetryisenough_ranks_panel ul {
  list-style: none;
  font-size: 0.9rem;
  color: var(--onetryisenough-text-muted);
}

.onetryisenough_ranks_panel li.completed {
  text-decoration: line-through;
  color: var(--onetryisenough-primary);
}

.onetryisenough_lobby_grid {
  padding: 60px 0;
}

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

.onetryisenough_game_card {
  background-color: var(--onetryisenough-surface);
  border-radius: var(--onetryisenough-radius);
  overflow: hidden;
  border: 1px solid var(--onetryisenough-secondary);
  display: flex;
  flex-direction: column;
}

.onetryisenough_game_card_visual {
  background: #000;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  border-bottom: 2px solid var(--onetryisenough-accent);
}

.onetryisenough_slot_board_mini {
  display: flex;
  gap: 5px;
}

.onetryisenough_single_line .onetryisenough_slot_reel {
  height: 60px;
}

.onetryisenough_wheel_container {
  position: relative;
  width: 150px;
  height: 150px;
}

.onetryisenough_wheel_pointer {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--onetryisenough-accent);
  font-size: 24px;
  z-index: 10;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

.onetryisenough_wheel_img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: transform 2.2s cubic-bezier(0.1, 0.7, 0.1, 1);
}

.onetryisenough_game_card_info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.onetryisenough_game_card_info p {
  font-size: 0.9rem;
  color: var(--onetryisenough-text-muted);
  margin-bottom: 15px;
  flex-grow: 1;
}

.onetryisenough_game_result {
  margin-top: 10px;
  min-height: 20px;
  font-size: 0.85rem;
  text-align: center;
  font-weight: bold;
}

.onetryisenough_longform, .onetryisenough_legal_content {
  padding: 60px 0;
}

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

.onetryisenough_prose h2 {
  margin-top: 40px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--onetryisenough-secondary);
}

.onetryisenough_prose p {
  margin-bottom: 20px;
  color: var(--onetryisenough-text-muted);
}

.onetryisenough_contact_section {
  padding: 60px 0;
}

.onetryisenough_contact_grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
}

.onetryisenough_form_group {
  margin-bottom: 20px;
}

.onetryisenough_form_group label {
  display: block;
  margin-bottom: 8px;
  color: var(--onetryisenough-text-main);
}

.onetryisenough_form_group input,
.onetryisenough_form_group textarea {
  width: 100%;
  padding: 12px;
  background-color: var(--onetryisenough-surface);
  border: 1px solid var(--onetryisenough-secondary);
  color: var(--onetryisenough-text-main);
  border-radius: 4px;
  font-family: var(--onetryisenough-font-body);
}

.onetryisenough_info_block {
  background-color: var(--onetryisenough-surface);
  padding: 20px;
  border-radius: var(--onetryisenough-radius);
  margin-bottom: 20px;
  color: var(--onetryisenough-text-muted);
}

.onetryisenough_footer {
  background-color: var(--onetryisenough-secondary);
  padding: 60px 0 20px;
  border-top: 4px solid var(--onetryisenough-accent);
  color: var(--onetryisenough-text-muted);
}

.onetryisenough_footer_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.onetryisenough_footer h3 {
  color: var(--onetryisenough-text-main);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.onetryisenough_footer_links ul {
  list-style: none;
}

.onetryisenough_footer_links li {
  margin-bottom: 10px;
}

.onetryisenough_partner_logos {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.onetryisenough_partner_logos img {
  height: 40px;
  border-radius: 4px;
}

.onetryisenough_partner_gamcare {
  background: #fff;
  padding: 5px;
  display: inline-block;
  border-radius: 4px;
}

.onetryisenough_partner_begambleaware {
  background: #000;
  padding: 5px;
  display: inline-block;
  border-radius: 4px;
}

.onetryisenough_footer_bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.onetryisenough_wallet_bottom_bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--onetryisenough-primary);
  color: var(--onetryisenough-bg);
  padding: 10px 0;
  z-index: 90;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}

.onetryisenough_wallet_inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-family: var(--onetryisenough-font-head);
  font-weight: 700;
  font-size: 1.2rem;
}

.onetryisenough_modal_overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.onetryisenough_modal_overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

.onetryisenough_modal_content {
  background: var(--onetryisenough-surface);
  padding: 40px;
  border-radius: var(--onetryisenough-radius);
  max-width: 500px;
  width: 90%;
  text-align: center;
  border: 2px solid var(--onetryisenough-primary);
}

.onetryisenough_modal_content p {
  margin-bottom: 20px;
  color: var(--onetryisenough-text-muted);
}

.onetryisenough_toast {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--onetryisenough-accent);
  color: var(--onetryisenough-bg);
  padding: 15px 25px;
  border-radius: var(--onetryisenough-radius);
  font-family: var(--onetryisenough-font-head);
  font-weight: bold;
  z-index: 300;
  transform: translateX(150%);
  transition: transform 0.3s ease-out;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.onetryisenough_toast.is-visible {
  transform: translateX(0);
}

@media (max-width: 768px) {
  .onetryisenough_burger {
    display: block;
  }
  
  .onetryisenough_nav {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: var(--onetryisenough-secondary);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-bottom: 2px solid transparent;
  }

  .onetryisenough_nav.is-open {
    max-height: 300px;
    border-bottom-color: var(--onetryisenough-accent);
  }

  .onetryisenough_nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    text-align: center;
  }

  .onetryisenough_burger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .onetryisenough_burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .onetryisenough_burger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .onetryisenough_hero_inner, .onetryisenough_manifesto_grid, .onetryisenough_contact_grid {
    grid-template-columns: 1fr;
  }

  .onetryisenough_hero_content {
    order: 2;
    text-align: center;
  }
  .onetryisenough_hero_visual {
    order: 1;
  }

  .onetryisenough_hero_content h1 {
    font-size: 2.2rem;
  }
}

@media (max-width: 360px) {
  .onetryisenough_slot_reel {
    width: 60px;
    height: 60px;
  }
  .onetryisenough_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;
}
