:root {
    --primary: #F47D20;
    --secondary: #005C8A;
    --accent: #00A859;
    --bg: #FDFBF7;
    --surface: #FFFFFF;
    --text-main: #212B36;
    --text-muted: #637381;
    --font-head: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius: 8px;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
}

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

body.hydrogendialogue_body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg);
    line-height: 1.6;
    font-size: 16px;
    padding-bottom: 60px;
}

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--secondary); margin-bottom: 1rem; line-height: 1.2; }
.hydrogendialogue_h1 { font-size: 2.5rem; }
.hydrogendialogue_h2 { font-size: 2rem; }
.hydrogendialogue_h3 { font-size: 1.5rem; }

a { color: var(--primary); text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; }

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

.hydrogendialogue_header {
    background-color: var(--surface);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}
.hydrogendialogue_header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.hydrogendialogue_logo a {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}
.hydrogendialogue_nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
}
.hydrogendialogue_nav-list a {
    color: var(--text-main);
    font-weight: 600;
}
.hydrogendialogue_burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.hydrogendialogue_burger-line {
    width: 25px;
    height: 3px;
    background-color: var(--secondary);
}
.hydrogendialogue_age-badge {
    background-color: var(--secondary);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
}

@media(max-width: 768px) {
    .hydrogendialogue_burger { display: flex; }
    .hydrogendialogue_nav-list {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--surface);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
    }
    .hydrogendialogue_nav-list.is-open { display: flex; }
}

.hydrogendialogue_btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-family: var(--font-head);
    font-weight: bold;
    cursor: pointer;
    border: none;
    text-align: center;
    transition: transform 0.2s, opacity 0.2s;
}
.hydrogendialogue_btn:active { transform: scale(0.98); }
.hydrogendialogue_btn-primary { background-color: var(--primary); color: #fff; }
.hydrogendialogue_btn-secondary { background-color: var(--secondary); color: #fff; }
.hydrogendialogue_btn-spin { background-color: var(--accent); color: #fff; width: 100%; font-size: 1.1rem; padding: 15px; }

.hydrogendialogue_hero {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg) 0%, #E8F0F2 100%);
    overflow: hidden;
}
.hydrogendialogue_hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hydrogendialogue_hero-text { flex: 1; }
.hydrogendialogue_hero-sub { font-size: 1.2rem; margin-bottom: 20px; color: var(--text-muted); }
.hydrogendialogue_hero-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}
.hydrogendialogue_proof-card {
    background: var(--surface);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transform: translateX(20px);
    border-left: 4px solid var(--primary);
}
.hydrogendialogue_proof-card:nth-child(2) { transform: translateX(-20px); border-left-color: var(--accent); }
.hydrogendialogue_proof-val { font-family: var(--font-head); font-size: 1.8rem; font-weight: bold; color: var(--secondary); }
.hydrogendialogue_proof-lbl { color: var(--text-muted); font-size: 0.9rem; }

@media(max-width: 768px) {
    .hydrogendialogue_hero-content { flex-direction: column; text-align: center; }
    .hydrogendialogue_proof-card { transform: none !important; width: 100%; align-items: center; }
}

.hydrogendialogue_section { padding: 60px 0; }
.hydrogendialogue_bg-alt { background-color: var(--surface); }

.hydrogendialogue_grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.hydrogendialogue_grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media(max-width: 768px) {
    .hydrogendialogue_grid-2, .hydrogendialogue_grid-3 { grid-template-columns: 1fr; }
}

.hydrogendialogue_card {
    background: var(--bg);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}
.hydrogendialogue_card-insight { border-top: 4px solid var(--secondary); }

.hydrogendialogue_text-block p { margin-bottom: 15px; }
.hydrogendialogue_list { margin-left: 20px; margin-bottom: 15px; }
.hydrogendialogue_list li { margin-bottom: 10px; }

.hydrogendialogue_longform h2 { margin-top: 40px; border-bottom: 2px solid #eee; padding-bottom: 10px; }

.hydrogendialogue_table-wrapper { overflow-x: auto; }
.hydrogendialogue_table { width: 100%; border-collapse: collapse; background: var(--surface); }
.hydrogendialogue_table th, .hydrogendialogue_table td { padding: 12px; border: 1px solid #ddd; text-align: left; }
.hydrogendialogue_table th { background-color: var(--secondary); color: #fff; }

.hydrogendialogue_faq-item { margin-bottom: 10px; background: var(--surface); border-radius: var(--radius); border: 1px solid #eee; }
.hydrogendialogue_faq-trigger { padding: 15px; font-weight: bold; cursor: pointer; color: var(--secondary); list-style: none; }
.hydrogendialogue_faq-trigger::-webkit-details-marker { display: none; }
.hydrogendialogue_faq-content { padding: 0 15px 15px; color: var(--text-muted); }

.hydrogendialogue_form-group { margin-bottom: 15px; }
.hydrogendialogue_input { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-family: var(--font-body); }

.hydrogendialogue_live-game-wrapper, .hydrogendialogue_game-card {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow);
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
    border: 2px solid #eee;
}
.hydrogendialogue_game-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.hydrogendialogue_game-header h2 { margin: 0; font-size: 1.5rem; }
.hydrogendialogue_game-balance { font-weight: bold; color: var(--primary); background: #fff5eb; padding: 5px 10px; border-radius: 4px; }

.hydrogendialogue_slot-board {
    display: flex;
    justify-content: center;
    gap: 10px;
    background: #111;
    padding: 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.hydrogendialogue_slot-board::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 159, 67, 0.5);
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}
.hydrogendialogue_reel {
    width: 80px;
    height: 80px;
    background: #222;
    border: 2px solid #444;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hydrogendialogue_slot-symbol {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: transform 0.1s;
}
.is-spinning .hydrogendialogue_slot-symbol { filter: blur(2px); }

.hydrogendialogue_wheel-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto 20px;
}
.hydrogendialogue_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: 25px solid var(--primary);
    z-index: 10;
}
.hydrogendialogue_wheel-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 2.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hydrogendialogue_game-controls { margin-bottom: 15px; }
.hydrogendialogue_bet-select {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 1rem;
}
.hydrogendialogue_fixed-bet { background: #eee; padding: 10px; border-radius: 4px; margin-bottom: 10px; font-weight: bold; }
.hydrogendialogue_game-result { min-height: 40px; font-weight: bold; color: var(--secondary); margin-bottom: 10px; }
.hydrogendialogue_game-history { font-size: 0.9rem; color: var(--text-muted); }
.hydrogendialogue_game-footer { margin-top: 20px; }

.hydrogendialogue_lobby-split {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}
.hydrogendialogue_featured-panel { flex: 2; }
.hydrogendialogue_secondary-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media(max-width: 900px) {
    .hydrogendialogue_lobby-split { flex-direction: column; }
    .hydrogendialogue_featured-panel, .hydrogendialogue_secondary-stack { width: 100%; }
}

.hydrogendialogue_wallet-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--secondary);
    color: #fff;
    padding: 10px 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
.hydrogendialogue_wallet-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.hydrogendialogue_wallet-amount { font-family: var(--font-head); font-size: 1.2rem; font-weight: bold; color: var(--accent); }
.hydrogendialogue_wallet-rank { font-size: 0.9rem; opacity: 0.8; }

.hydrogendialogue_footer {
    background-color: #1a222a;
    color: #a0aec0;
    padding: 60px 0 20px;
    margin-bottom: 50px;
}
.hydrogendialogue_footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-bottom: 40px; }
.hydrogendialogue_footer-h3 { color: #fff; font-size: 1.1rem; margin-bottom: 15px; }
.hydrogendialogue_footer-links { list-style: none; }
.hydrogendialogue_footer-links li { margin-bottom: 8px; }
.hydrogendialogue_footer-links a { color: #a0aec0; }
.hydrogendialogue_footer-links a:hover { color: var(--primary); }
.hydrogendialogue_footer-warning { border: 1px solid #4a5568; padding: 10px; border-radius: 4px; font-size: 0.85rem; margin-top: 10px; }
.hydrogendialogue_footer-partners { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.hydrogendialogue_partner-link { display: inline-block; padding: 10px; border-radius: 4px; }
.hydrogendialogue_partner-dark { background-color: #000; }
.hydrogendialogue_partner-light { background-color: #fff; }
.hydrogendialogue_partner-link img { max-width: 120px; height: auto; display: block; }
.hydrogendialogue_footer-bottom { text-align: center; border-top: 1px solid #2d3748; padding-top: 20px; font-size: 0.9rem; }

@media(max-width: 900px) {
    .hydrogendialogue_footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 600px) {
    .hydrogendialogue_footer-grid { grid-template-columns: 1fr; }
}

.hydrogendialogue_notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hydrogendialogue_toast {
    background: var(--surface);
    border-left: 4px solid var(--accent);
    padding: 15px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: slideIn 0.3s ease forwards;
    color: var(--text-main);
}
.hydrogendialogue_toast.error { border-left-color: #e53e3e; }
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
/* 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;
}
