:root {
    --primary: #0A2463;
    --secondary: #D4AF37;
    --accent: #E63946;
    --bg: #0F1115;
    --surface: #1A1D24;
    --text-main: #F8F9FA;
    --text-muted: #ADB5BD;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body.lisalux_body {
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; line-height: 1.2; }
a { color: var(--secondary); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.lisalux_container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

.lisalux_header { background-color: var(--primary); padding: 1rem 0; position: sticky; top: 0; z-index: 100; border-bottom: 2px solid var(--secondary); }
.lisalux_header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.lisalux_logo-text { font-family: var(--font-heading); font-size: 1.5rem; color: var(--secondary); text-transform: uppercase; letter-spacing: 1px; }
.lisalux_nav-list { display: flex; list-style: none; gap: 2rem; }
.lisalux_nav-link { color: var(--text-main); font-weight: 600; font-size: 0.9rem; text-transform: uppercase; }
.lisalux_nav-link.lisalux_active, .lisalux_nav-link:hover { color: var(--secondary); }
.lisalux_header-actions { display: flex; align-items: center; gap: 1rem; }
.lisalux_age-badge { background: var(--bg); color: var(--text-main); padding: 0.2rem 0.5rem; font-weight: bold; border-radius: 4px; border: 1px solid var(--text-muted); font-size: 0.8rem; }
.lisalux_burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.lisalux_burger span { display: block; width: 25px; height: 3px; background: var(--text-main); transition: 0.3s; }

.lisalux_btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; font-family: var(--font-heading); font-weight: 800; text-transform: uppercase; border: none; cursor: pointer; transition: all 0.3s ease; border-radius: 4px; min-height: 44px; }
.lisalux_btn-primary { background-color: var(--secondary); color: var(--bg); }
.lisalux_btn-primary:hover { background-color: #f5cc47; transform: translateY(-2px); }
.lisalux_btn-outline { background: transparent; color: var(--secondary); border: 2px solid var(--secondary); }
.lisalux_btn-outline:hover { background: var(--secondary); color: var(--bg); }
.lisalux_btn-accent { background-color: var(--accent); color: var(--text-main); }
.lisalux_btn-accent:hover { background-color: #ff4d5a; transform: scale(1.05); }
.lisalux_btn-large { padding: 1rem 2rem; font-size: 1.1rem; }
.lisalux_btn-small { padding: 0.5rem 1rem; font-size: 0.85rem; }
.lisalux_btn-full { width: 100%; }

.lisalux_section { padding: 5rem 0; }
.lisalux_section-header { margin-bottom: 3rem; }
.lisalux_section-title { font-size: 2.5rem; color: var(--secondary); margin-bottom: 1rem; }
.lisalux_section-desc { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; }
.lisalux_bg-surface { background-color: var(--surface); border-top: 1px solid #2a2e39; border-bottom: 1px solid #2a2e39; }
.lisalux_text-center { text-align: center; margin-inline: auto; }

.lisalux_hero { position: relative; padding: 4rem 0; background: linear-gradient(135deg, var(--bg) 0%, #161a23 100%); overflow: hidden; }
.lisalux_hero-dashboard .lisalux_hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.lisalux_hero-title { font-size: 3.5rem; color: var(--secondary); margin-bottom: 1rem; text-transform: uppercase; line-height: 1.1; }
.lisalux_hero-subtitle { font-size: 1.25rem; margin-bottom: 2rem; color: var(--text-muted); }
.lisalux_hero-ctas { margin-bottom: 2rem; }
.lisalux_hero-legal-strip { display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.85rem; color: #888; border-left: 3px solid var(--secondary); padding-left: 1rem; }
.lisalux_hero-image { border-radius: 8px; border: 2px solid var(--primary); box-shadow: 0 10px 30px rgba(0,0,0,0.5); width: 100%; }
.lisalux_hero-simple { text-align: center; padding: 6rem 0; border-bottom: 1px solid var(--surface); }

.lisalux_grid { display: grid; gap: 2rem; }
.lisalux_grid-3 { grid-template-columns: repeat(3, 1fr); }
.lisalux_grid-2 { grid-template-columns: repeat(2, 1fr); }
.lisalux_split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.lisalux_split-reverse .lisalux_split-content { grid-column: 2; }
.lisalux_split-reverse .lisalux_split-media { grid-column: 1; grid-row: 1; }

.lisalux_card { background: var(--surface); border-radius: 8px; overflow: hidden; border: 1px solid #2a2e39; transition: transform 0.3s; }
.lisalux_card:hover { transform: translateY(-5px); border-color: var(--secondary); }
.lisalux_card-image { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-bottom: 2px solid var(--primary); }
.lisalux_card-body { padding: 1.5rem; }
.lisalux_card-title { color: var(--secondary); margin-bottom: 0.5rem; }
.lisalux_info-card { background: rgba(10, 36, 99, 0.3); border-left: 4px solid var(--secondary); padding: 1.5rem; border-radius: 0 8px 8px 0; }
.lisalux_info-card h4 { color: var(--text-main); margin-bottom: 0.5rem; }
.lisalux_feature-list { list-style: none; margin-top: 1rem; }
.lisalux_feature-list li { margin-bottom: 1rem; padding-left: 1.5rem; position: relative; }
.lisalux_feature-list li::before { content: '>'; position: absolute; left: 0; color: var(--secondary); font-weight: bold; }
.lisalux_stats-row { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 2rem; margin-top: 2rem; }
.lisalux_stat-item { text-align: center; }
.lisalux_stat-value { display: block; font-family: var(--font-heading); font-size: 3rem; color: var(--secondary); line-height: 1; }
.lisalux_stat-label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }

.lisalux_lobby-main { padding: 3rem 0; }
.lisalux_lobby-layout { display: grid; grid-template-columns: 300px 1fr; gap: 2rem; align-items: start; }
.lisalux_sidebar-terminal { background: var(--surface); padding: 1.5rem; border-radius: 8px; border: 1px solid var(--primary); position: sticky; top: 100px; }
.lisalux_wallet-title { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 1rem; text-transform: uppercase; }
.lisalux_wallet-balance, .lisalux_wallet-rank { background: var(--bg); padding: 1rem; border-radius: 4px; margin-bottom: 1rem; border-left: 3px solid var(--secondary); }
.lisalux_wallet-label { display: block; font-size: 0.8rem; color: var(--text-muted); }
.lisalux_wallet-amount { display: block; font-family: var(--font-heading); font-size: 1.5rem; color: var(--secondary); }
.lisalux_legal-drawer { margin-top: 2rem; border-top: 1px solid #333; padding-top: 1rem; }
.lisalux_drawer-toggle { background: none; border: none; color: var(--text-muted); cursor: pointer; text-decoration: underline; width: 100%; text-align: left; padding: 0.5rem 0; font-family: var(--font-body); }
.lisalux_drawer-content { display: none; font-size: 0.8rem; color: #888; padding-top: 0.5rem; }
.lisalux_drawer-content.lisalux_open { display: block; }

.lisalux_game-stack { display: flex; flex-direction: column; gap: 3rem; margin-top: 2rem; }
.lisalux_game-card { background: var(--surface); border: 2px solid #2a2e39; border-radius: 8px; padding: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.lisalux_game-header { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid #333; padding-bottom: 1rem; }
.lisalux_game-title { color: var(--secondary); font-size: 1.8rem; }
.lisalux_game-type, .lisalux_game-balance { color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; font-weight: bold; }
.lisalux_game-body { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2rem; align-items: center; }
.lisalux_game-stepper { background: var(--bg); padding: 1.5rem; border-radius: 8px; border: 1px solid var(--primary); }
.lisalux_bet-selector { margin-bottom: 1.5rem; }
.lisalux_bet-selector label { display: block; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.9rem; }
.lisalux_bet-selector input[type="range"] { width: 100%; margin-bottom: 0.5rem; accent-color: var(--secondary); }
.lisalux_bet-select { width: 100%; padding: 0.5rem; background: var(--surface); color: var(--text-main); border: 1px solid var(--primary); }
.lisalux_game-result { background: rgba(10, 36, 99, 0.2); padding: 1rem; text-align: center; font-weight: bold; color: var(--secondary); border-radius: 4px; min-height: 50px; display: flex; align-items: center; justify-content: center; margin-top: 1rem; }
.lisalux_game-history { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1rem; font-size: 0.8rem; color: #888; }
.lisalux_game-history span { background: var(--bg); padding: 0.2rem 0.5rem; border-radius: 2px; }
.lisalux_feature-module { border-top: 1px solid #333; padding-top: 1rem; display: flex; justify-content: space-between; align-items: center; }

.lisalux_slot-board { background: #050810; border: 4px solid var(--primary); border-radius: 8px; padding: 1rem; display: flex; justify-content: center; gap: 1rem; position: relative; overflow: hidden; box-shadow: inset 0 0 20px rgba(0,0,0,0.8); height: 250px; }
.lisalux_slot-reel { display: flex; flex-direction: column; gap: 1rem; width: 80px; transition: transform 0.1s linear; }
.lisalux_slot-reel img { width: 100%; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5)); }
.lisalux_slot-payline { position: absolute; top: 50%; left: 0; right: 0; height: 4px; background: rgba(45, 107, 255, 0.5); transform: translateY(-50%); box-shadow: 0 0 10px var(--primary); z-index: 10; }

.lisalux_wheel-board { position: relative; width: 100%; max-width: 300px; margin: 0 auto; aspect-ratio: 1; display: flex; justify-content: center; align-items: center; }
.lisalux_wheel-image { width: 100%; height: 100%; object-fit: contain; transform-origin: center; }
.lisalux_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: 30px solid var(--accent); z-index: 10; filter: drop-shadow(0 2px 2px rgba(0,0,0,0.5)); }

.lisalux_live-game-wrapper { max-width: 500px; margin: 0 auto; }
.lisalux_live-game-wrapper .lisalux_game-body { grid-template-columns: 1fr; }
.lisalux_live-game-wrapper .lisalux_game-controls { display: flex; gap: 1rem; align-items: flex-end; margin-top: 1.5rem; }
.lisalux_live-game-wrapper .lisalux_bet-selector { margin-bottom: 0; flex-grow: 1; }
.lisalux_live-game-cta { text-align: center; margin-top: 2rem; }

.lisalux_winners-ticker { background: var(--primary); color: var(--text-main); padding: 0.5rem; font-family: monospace; font-size: 0.9rem; margin-top: 2rem; border-radius: 4px; }

.lisalux_longform-text { max-width: 800px; margin: 0 auto; }
.lisalux_longform-text h2 { color: var(--secondary); margin: 2rem 0 1rem; font-size: 1.5rem; border-bottom: 1px solid #333; padding-bottom: 0.5rem; }
.lisalux_longform-text p { margin-bottom: 1.5rem; color: var(--text-muted); }
.lisalux_contact-form { background: var(--surface); padding: 2rem; border-radius: 8px; border: 1px solid #2a2e39; }
.lisalux_form-group { margin-bottom: 1.5rem; }
.lisalux_form-group label { display: block; margin-bottom: 0.5rem; color: var(--text-muted); }
.lisalux_form-group input, .lisalux_form-group textarea { width: 100%; padding: 0.75rem; background: var(--bg); border: 1px solid #333; color: var(--text-main); font-family: var(--font-body); border-radius: 4px; }
.lisalux_form-group input:focus, .lisalux_form-group textarea:focus { outline: none; border-color: var(--secondary); }
.lisalux_faq-accordion { max-width: 800px; margin: 0 auto; }
.lisalux_faq-toggle { width: 100%; background: var(--surface); color: var(--text-main); text-align: left; padding: 1rem 1.5rem; font-size: 1.1rem; border: 1px solid #2a2e39; cursor: pointer; margin-bottom: 0.5rem; font-family: var(--font-heading); }
.lisalux_faq-content { padding: 0 1.5rem; margin-bottom: 1rem; display: none; color: var(--text-muted); }
.lisalux_faq-content.lisalux_open { display: block; }

.lisalux_footer { background-color: #050810; padding: 4rem 0 2rem; border-top: 3px solid var(--primary); }
.lisalux_footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; margin-bottom: 3rem; }
.lisalux_footer-heading { color: var(--secondary); font-size: 1.2rem; margin-bottom: 1.5rem; text-transform: uppercase; }
.lisalux_footer-text { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.5rem; }
.lisalux_footer-links { list-style: none; }
.lisalux_footer-links li { margin-bottom: 0.5rem; }
.lisalux_footer-links a { color: var(--text-muted); font-size: 0.85rem; }
.lisalux_footer-links a:hover { color: var(--secondary); }
.lisalux_footer-partners { display: flex; gap: 1rem; margin-top: 1.5rem; }
.lisalux_partner-link { display: block; padding: 0.5rem; border-radius: 4px; width: 120px; }
.lisalux_partner-gamcare { background-color: #ffffff; }
.lisalux_partner-begambleaware { background-color: #111111; border: 1px solid #333; }
.lisalux_footer-bottom { border-top: 1px solid #222; padding-top: 2rem; text-align: center; }
.lisalux_footer-legal-text { font-size: 0.75rem; color: #666; margin-bottom: 1rem; max-width: 800px; margin-inline: auto; }
.lisalux_footer-copyright { font-size: 0.85rem; color: var(--text-muted); }

.lisalux_auth-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 1000; display: flex; justify-content: center; align-items: center; opacity: 0; visibility: hidden; transition: 0.3s; }
.lisalux_auth-modal.lisalux_open { opacity: 1; visibility: visible; }
.lisalux_auth-modal-content { background: var(--surface); padding: 2rem; width: 90%; max-width: 400px; border-radius: 8px; border: 1px solid var(--primary); position: relative; }
.lisalux_auth-close { position: absolute; top: 10px; right: 15px; background: none; border: none; color: var(--text-main); font-size: 1.5rem; cursor: pointer; }
.lisalux_auth-title { color: var(--secondary); margin-bottom: 1.5rem; text-align: center; }

.lisalux_notification { position: fixed; bottom: 20px; right: 20px; background: var(--secondary); color: var(--bg); padding: 1rem 1.5rem; border-radius: 4px; font-weight: bold; transform: translateY(100px); opacity: 0; transition: 0.3s; z-index: 1000; box-shadow: 0 5px 15px rgba(0,0,0,0.3); }
.lisalux_notification.lisalux_show { transform: translateY(0); opacity: 1; }

@media (max-width: 1024px) {
    .lisalux_lobby-layout { grid-template-columns: 1fr; }
    .lisalux_sidebar-terminal { position: static; margin-bottom: 2rem; }
    .lisalux_game-body { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .lisalux_nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--primary); padding: 1rem; border-bottom: 2px solid var(--secondary); }
    .lisalux_nav.lisalux_open { display: block; }
    .lisalux_nav-list { flex-direction: column; gap: 1rem; align-items: center; }
    .lisalux_burger { display: flex; }
    .lisalux_hero-dashboard .lisalux_hero-grid, .lisalux_split, .lisalux_grid-3, .lisalux_grid-2 { grid-template-columns: 1fr; }
    .lisalux_hero-title { font-size: 2.5rem; }
    .lisalux_header-actions { flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem; }
    .lisalux_btn { padding: 0.5rem 1rem; font-size: 0.9rem; }
    .lisalux_slot-board { height: 200px; }
}
@media (max-width: 360px) {
    .lisalux_hero-title { font-size: 2rem; }
    .lisalux_slot-reel { width: 60px; }
    .lisalux_slot-board { height: 160px; padding: 0.5rem; }
}
/* 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;
}
