:root {
    --hub88io-primary: #FF9F43;
    --hub88io-secondary: #F76F5E;
    --hub88io-accent: #FFE082;
    --hub88io-bg: #141127;
    --hub88io-surface: #221B3A;
    --hub88io-text-primary: #FFF6EA;
    --hub88io-text-secondary: #D8C4AF;
    --hub88io-font-heading: 'Playfair Display', serif;
    --hub88io-font-body: 'Lora', serif;
    --hub88io-transition: all 0.3s ease;
}

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

body.hub88io_body {
    font-family: var(--hub88io-font-body);
    background-color: var(--hub88io-bg);
    color: var(--hub88io-text-primary);
    line-height: 1.65;
    font-size: 16px;
    overflow-x: hidden;
}

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

a { color: var(--hub88io-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

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

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

.hub88io_btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--hub88io-font-body);
    font-weight: 700;
    text-align: center;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    transition: var(--hub88io-transition);
    text-decoration: none;
}

.hub88io_btn_primary {
    background-color: var(--hub88io-primary);
    color: var(--hub88io-bg);
}
.hub88io_btn_primary:hover {
    background-color: var(--hub88io-accent);
    text-decoration: none;
}

.hub88io_btn_secondary {
    background-color: transparent;
    border: 1px solid var(--hub88io-primary);
    color: var(--hub88io-primary);
}
.hub88io_btn_secondary:hover {
    background-color: var(--hub88io-primary);
    color: var(--hub88io-bg);
    text-decoration: none;
}

.hub88io_btn_outline {
    background-color: transparent;
    border: 1px solid var(--hub88io-text-secondary);
    color: var(--hub88io-text-secondary);
}

.hub88io_header {
    background-color: rgba(34, 27, 58, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 159, 67, 0.2);
}

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

.hub88io_logo_text {
    font-family: var(--hub88io-font-heading);
    font-size: 1.5rem;
    color: var(--hub88io-accent);
    font-weight: 700;
}

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

.hub88io_nav_link {
    color: var(--hub88io-text-primary);
    font-weight: 700;
}
.hub88io_nav_link:hover { color: var(--hub88io-primary); text-decoration: none; }

.hub88io_burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 101;
}
.hub88io_burger_line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--hub88io-primary);
    position: absolute;
    transition: var(--hub88io-transition);
}
.hub88io_burger_line:nth-child(1) { top: 0; }
.hub88io_burger_line:nth-child(2) { top: 11px; }
.hub88io_burger_line:nth-child(3) { top: 22px; }

.hub88io_wallet_widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--hub88io-surface);
    border: 1px solid var(--hub88io-primary);
    padding: 10px 15px;
    border-radius: 8px;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}
.hub88io_wallet_label { color: var(--hub88io-text-secondary); font-size: 0.9rem; }
.hub88io_wallet_balance { color: var(--hub88io-accent); font-weight: 700; font-family: var(--hub88io-font-heading); }

.hub88io_section {
    padding: 4rem 0;
}
.hub88io_bg_surface { background-color: var(--hub88io-surface); }

.hub88io_hero {
    padding: 4rem 1.5rem;
    background-color: var(--hub88io-bg);
}
.hub88io_hero_split_right {
    display: flex;
    max-width: 1280px;
    margin: 0 auto;
    align-items: center;
    gap: 3rem;
}
.hub88io_hero_content { flex: 1; }
.hub88io_hero_visual { flex: 1; }
.hub88io_hero_title { font-size: 3rem; line-height: 1.1; margin-bottom: 1.5rem; }
.hub88io_hero_subtitle { font-size: 1.25rem; color: var(--hub88io-text-secondary); margin-bottom: 2rem; }
.hub88io_hero_proof_strip {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 159, 67, 0.2);
}
.hub88io_proof_card {
    display: flex;
    flex-direction: column;
}
.hub88io_proof_stat { font-size: 1.5rem; font-weight: 700; color: var(--hub88io-accent); font-family: var(--hub88io-font-heading); }
.hub88io_proof_label { font-size: 0.9rem; color: var(--hub88io-text-secondary); }
.hub88io_hero_image_frame { border: 2px solid var(--hub88io-primary); padding: 10px; border-radius: 8px; }

.hub88io_live_games_section { text-align: center; }
.hub88io_live_game_zone {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hub88io_game_card {
    background-color: var(--hub88io-surface);
    border: 1px solid rgba(255, 159, 67, 0.3);
    border-radius: 8px;
    width: 100%;
    max-width: 400px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.hub88io_game_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 159, 67, 0.2);
    padding-bottom: 0.5rem;
}
.hub88io_game_title { margin: 0; font-size: 1.25rem; }
.hub88io_game_board_area {
    background-color: #0b0914;
    height: 250px;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

.hub88io_roulette_container {
    position: relative;
    width: 200px;
    height: 200px;
}
.hub88io_roulette_wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform 3.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.hub88io_roulette_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: 20px solid var(--hub88io-accent);
    z-index: 10;
}

.hub88io_slot_machine {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hub88io_slot_reels {
    display: flex;
    gap: 10px;
    height: 120px;
}
.hub88io_reel {
    width: 80px;
    height: 120px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255, 159, 67, 0.3);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.hub88io_reel_symbol {
    width: 60px;
    height: 60px;
    transition: transform 0.1s linear;
}
.hub88io_slot_payline {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: rgba(255, 224, 130, 0.5);
    transform: translateY(-50%);
    z-index: 5;
}

.hub88io_bet_controls { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 1rem; }
.hub88io_bet_btn {
    background: none;
    border: 1px solid var(--hub88io-text-secondary);
    color: var(--hub88io-text-secondary);
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
}
.hub88io_bet_btn.is-active { border-color: var(--hub88io-primary); color: var(--hub88io-primary); }

.hub88io_action_row { display: flex; justify-content: space-between; align-items: center; }
.hub88io_stake_label { color: var(--hub88io-text-secondary); font-size: 0.9rem; }
.hub88io_stake_select { background: var(--hub88io-bg); color: var(--hub88io-text-primary); border: 1px solid var(--hub88io-primary); padding: 0.25rem; }

.hub88io_result_panel { text-align: center; color: var(--hub88io-accent); font-weight: bold; min-height: 24px; }
.hub88io_center_cta { margin-top: 3rem; }

.hub88io_editorial_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hub88io_feature_img { border-radius: 8px; }

.hub88io_streak_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.hub88io_streak_card {
    background-color: var(--hub88io-surface);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--hub88io-primary);
}

.hub88io_locations_rail {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 2rem 0;
}
.hub88io_location_card {
    min-width: 300px;
    background-color: var(--hub88io-bg);
    border: 1px solid rgba(255, 159, 67, 0.2);
    border-radius: 8px;
    overflow: hidden;
}
.hub88io_loc_img { height: 200px; object-fit: cover; width: 100%; }
.hub88io_loc_title { padding: 1rem 1rem 0; margin-bottom: 0.5rem; }
.hub88io_loc_desc { padding: 0 1rem 1rem; color: var(--hub88io-text-secondary); font-size: 0.9rem; }

.hub88io_egg_box {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--hub88io-surface);
    padding: 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    border: 1px dashed var(--hub88io-text-secondary);
}
.hub88io_egg_img { width: 80px; height: 80px; border-radius: 50%; }
.hub88io_hidden_result { margin-top: 1rem; color: var(--hub88io-accent); font-weight: bold; }

.hub88io_faq_accordion { margin-top: 2rem; }
.hub88io_faq_item { border-bottom: 1px solid rgba(255, 159, 67, 0.2); }
.hub88io_faq_btn {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 1rem 0;
    color: var(--hub88io-text-primary);
    font-family: var(--hub88io-font-heading);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}
.hub88io_faq_btn::after { content: '+'; color: var(--hub88io-primary); }
.hub88io_faq_btn[aria-expanded="true"]::after { content: '-'; }
.hub88io_faq_content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.hub88io_faq_item.is-open .hub88io_faq_content { max-height: 200px; padding-bottom: 1rem; }

.hub88io_footer {
    background-color: #0b0914;
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 159, 67, 0.2);
}
.hub88io_footer_grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}
.hub88io_footer_brand { font-family: var(--hub88io-font-heading); font-size: 1.5rem; color: var(--hub88io-accent); display: block; margin-bottom: 1rem; }
.hub88io_footer_desc, .hub88io_footer_identity, .hub88io_rg_text { color: var(--hub88io-text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
.hub88io_footer_heading { color: var(--hub88io-primary); margin-bottom: 1.5rem; }
.hub88io_footer_links { list-style: none; }
.hub88io_footer_links li { margin-bottom: 0.5rem; }
.hub88io_footer_links a { color: var(--hub88io-text-secondary); }
.hub88io_partner_logos { display: flex; gap: 1rem; margin-top: 1rem; }
.hub88io_partner_link { display: block; padding: 10px; border-radius: 4px; width: 120px; }
.hub88io_partner_dark_bg { background-color: #222; }
.hub88io_partner_light_bg { background-color: #fff; }
.hub88io_footer_bottom { border-top: 1px solid rgba(255, 159, 67, 0.1); padding-top: 2rem; text-align: center; }
.hub88io_disclaimer_text { font-size: 0.8rem; color: var(--hub88io-text-secondary); margin-bottom: 1rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.hub88io_copyright { font-size: 0.8rem; color: rgba(216, 196, 175, 0.5); }

.hub88io_age_gate_overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(20, 17, 39, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.hub88io_age_gate_content {
    background: var(--hub88io-surface);
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--hub88io-primary);
    text-align: center;
    max-width: 500px;
}
.hub88io_age_gate_content p { margin-bottom: 1.5rem; }

.hub88io_page_header { padding: 4rem 0 2rem; text-align: center; background-color: var(--hub88io-surface); border-bottom: 1px solid rgba(255, 159, 67, 0.2); }
.hub88io_page_title { font-size: 2.5rem; }

.hub88io_contact_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.hub88io_contact_card { background: var(--hub88io-surface); padding: 1.5rem; border-radius: 8px; margin-bottom: 1.5rem; }
.hub88io_rg_card { border: 1px solid var(--hub88io-primary); }
.hub88io_form_group { margin-bottom: 1.5rem; }
.hub88io_label { display: block; margin-bottom: 0.5rem; color: var(--hub88io-text-secondary); }
.hub88io_input { width: 100%; padding: 0.75rem; background: var(--hub88io-bg); border: 1px solid rgba(255, 159, 67, 0.3); color: var(--hub88io-text-primary); border-radius: 4px; font-family: var(--hub88io-font-body); }
.hub88io_textarea { resize: vertical; }

.hub88io_masonry_grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.hub88io_lobby_disclaimer_bar { background: var(--hub88io-surface); text-align: center; padding: 1rem; margin-top: 2rem; border-top: 1px solid var(--hub88io-primary); color: var(--hub88io-text-secondary); }

.hub88io_toast_container { position: fixed; top: 20px; right: 20px; z-index: 2000; }
.hub88io_toast { background: var(--hub88io-surface); color: var(--hub88io-text-primary); padding: 1rem 1.5rem; border-left: 4px solid var(--hub88io-primary); border-radius: 4px; margin-bottom: 10px; box-shadow: 0 4px 6px rgba(0,0,0,0.3); }

@media (max-width: 768px) {
    .hub88io_burger { display: block; }
    .hub88io_nav {
        position: absolute;
        top: 70px; left: 0; width: 100%;
        background: var(--hub88io-surface);
        flex-direction: column;
        display: none;
        padding: 2rem 1.5rem;
        border-bottom: 1px solid var(--hub88io-primary);
    }
    .hub88io_nav.is-open { display: block; }
    .hub88io_nav_list { flex-direction: column; gap: 1rem; }
    .hub88io_header_actions { display: none; }
    
    .hub88io_hero_split_right { flex-direction: column; }
    .hub88io_editorial_grid, .hub88io_contact_grid, .hub88io_masonry_grid { grid-template-columns: 1fr; }
    
    .hub88io_wallet_widget { bottom: 10px; right: 10px; padding: 5px 10px; }
    .hub88io_age_gate_content { padding: 1.5rem; }
}

/* footer-logo-contrast-guard-v2 */
a[href*="begambleaware.org"],
a[href*="gambleaware"] {
  background: #ffffff !important;
  color: #111111 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.45rem 0.7rem !important;
  border-radius: 0.7rem !important;
  box-sizing: border-box !important;
}

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: #ffffff !important;
  padding: 0.45rem 0.7rem !important;
  border-radius: 0.7rem !important;
  box-sizing: border-box !important;
}

a[href*="gamcare.org"] {
  background: #111111 !important;
  color: #ffffff !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !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: #111111 !important;
  padding: 0.45rem 0.7rem !important;
  border-radius: 0.7rem !important;
  box-sizing: border-box !important;
}
