:root {
    --lc-primary: #FF9F43;
    --lc-secondary: #F76F5E;
    --lc-accent: #FFE082;
    --lc-bg: #141127;
    --lc-surface: #221B3A;
    --lc-text-primary: #FFF6EA;
    --lc-text-secondary: #D8C4AF;
    --lc-font-head: 'Cinzel', Georgia, serif;
    --lc-font-body: 'Libre Baskerville', Georgia, serif;
}

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

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

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

a:hover {
    color: var(--lc-accent);
}

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

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

.luckiscalling_h1 { font-size: 2.5rem; color: var(--lc-primary); }
.luckiscalling_h2 { font-size: 2rem; color: var(--lc-text-primary); border-bottom: 2px solid var(--lc-surface); padding-bottom: 0.5rem; }
.luckiscalling_h3 { font-size: 1.5rem; color: var(--lc-accent); }

.luckiscalling_text_center { text-align: center; }
.luckiscalling_mb_2 { margin-bottom: 1.5rem; }
.luckiscalling_mt_2 { margin-top: 1.5rem; }
.luckiscalling_p_3 { padding: 2rem; }
.luckiscalling_w_full { width: 100%; }
.luckiscalling_bg_alt { background-color: var(--lc-surface); }
.luckiscalling_bg_surface { background-color: var(--lc-surface); border: 1px solid rgba(255,159,67,0.2); }
.luckiscalling_text_small { font-size: 0.85rem; color: var(--lc-text-secondary); }

.luckiscalling_btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-family: var(--lc-font-head);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.luckiscalling_btn_primary {
    background-color: var(--lc-primary);
    color: var(--lc-bg);
}

.luckiscalling_btn_primary:hover {
    background-color: var(--lc-accent);
    transform: translateY(-2px);
}

.luckiscalling_btn_outline {
    background-color: transparent;
    color: var(--lc-primary);
    border: 2px solid var(--lc-primary);
}

.luckiscalling_btn_outline:hover {
    background-color: var(--lc-primary);
    color: var(--lc-bg);
}

.luckiscalling_section_inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.luckiscalling_header {
    background-color: var(--lc-surface);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--lc-primary);
}

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

.luckiscalling_logo_link {
    font-family: var(--lc-font-head);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lc-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.luckiscalling_nav_list a {
    color: var(--lc-text-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.luckiscalling_nav_list a:hover {
    color: var(--lc-primary);
}

.luckiscalling_header_right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.luckiscalling_age_badge_header {
    background: var(--lc-primary);
    color: var(--lc-bg);
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

.luckiscalling_burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.luckiscalling_burger_line {
    width: 25px;
    height: 3px;
    background-color: var(--lc-primary);
    transition: 0.3s;
}

.luckiscalling_hero {
    position: relative;
    background-color: var(--lc-bg);
    padding: 6rem 1.5rem 3rem;
    overflow: hidden;
}

.luckiscalling_hero_content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.luckiscalling_hero_text_stack {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.luckiscalling_trust_signal {
    display: inline-block;
    background: rgba(255, 159, 67, 0.1);
    color: var(--lc-primary);
    padding: 0.4rem 1rem;
    border: 1px solid var(--lc-primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.luckiscalling_hero_sub {
    font-size: 1.2rem;
    color: var(--lc-text-secondary);
    margin-bottom: 2rem;
}

.luckiscalling_hero_visual_panel {
    flex: 1;
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.luckiscalling_floating_card {
    position: absolute;
    background: var(--lc-surface);
    border: 1px solid var(--lc-primary);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    text-align: center;
    animation: floatCard 6s ease-in-out infinite;
}

.luckiscalling_floating_card span {
    display: block;
    color: var(--lc-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.luckiscalling_floating_card strong {
    display: block;
    color: var(--lc-accent);
    font-size: 1.5rem;
    font-family: var(--lc-font-head);
}

.luckiscalling_floating_1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.luckiscalling_floating_2 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes floatCard {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

.luckiscalling_hero_ticker {
    background: var(--lc-surface);
    border-top: 1px solid rgba(255,159,67,0.3);
    border-bottom: 1px solid rgba(255,159,67,0.3);
    padding: 0.75rem;
    margin-top: 4rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--lc-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.luckiscalling_home_live_game {
    background: linear-gradient(to bottom, var(--lc-bg), var(--lc-surface));
}

.luckiscalling_live_slot_module {
    max-width: 600px;
    margin: 0 auto;
    background: #0a0815;
    border: 2px solid var(--lc-primary);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.luckiscalling_wallet_mirror {
    text-align: right;
    color: var(--lc-accent);
    font-weight: bold;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.luckiscalling_slot_board_wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    background: #000;
    padding: 20px;
    border: 4px solid var(--lc-surface);
    border-radius: 4px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    height: 140px;
}

.luckiscalling_slot_symbol {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: #111;
    border: 1px solid #333;
}

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

.luckiscalling_bet_select {
    background: var(--lc-surface);
    color: var(--lc-text-primary);
    border: 1px solid var(--lc-primary);
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-family: var(--lc-font-body);
}

.luckiscalling_game_result {
    min-height: 30px;
    color: var(--lc-accent);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.luckiscalling_game_history {
    font-size: 0.85rem;
    color: var(--lc-text-secondary);
    border-top: 1px dashed #333;
    padding-top: 1rem;
}

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

.luckiscalling_grid_2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.luckiscalling_card {
    background: var(--lc-surface);
    padding: 2rem;
    border-top: 3px solid var(--lc-primary);
    border-radius: 4px;
}

.luckiscalling_editorial_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.luckiscalling_editorial_col p {
    color: var(--lc-text-secondary);
}

.luckiscalling_timeline {
    list-style: none;
    border-left: 2px solid var(--lc-primary);
    padding-left: 1.5rem;
    margin-left: 1rem;
}

.luckiscalling_timeline li {
    position: relative;
    margin-bottom: 1.5rem;
}

.luckiscalling_timeline li::before {
    content: '';
    position: absolute;
    left: -1.9rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    background: var(--lc-accent);
    border-radius: 50%;
}

.luckiscalling_easter_egg_area {
    background: var(--lc-bg);
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.luckiscalling_easter_egg_trigger {
    width: 80px;
    height: 80px;
    margin: 2rem auto 0;
    cursor: pointer;
    transition: transform 0.3s, filter 0.3s;
    filter: grayscale(80%) brightness(0.7);
}

.luckiscalling_easter_egg_trigger:hover {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1.2);
}

.luckiscalling_accordion_item {
    margin-bottom: 1rem;
    border: 1px solid var(--lc-surface);
}

.luckiscalling_accordion_header {
    width: 100%;
    text-align: left;
    background: var(--lc-surface);
    color: var(--lc-text-primary);
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-family: var(--lc-font-head);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.luckiscalling_accordion_header::after {
    content: '+';
    color: var(--lc-primary);
}

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

.luckiscalling_accordion_content {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background: var(--lc-bg);
}

.luckiscalling_accordion_header[aria-expanded="true"] + .luckiscalling_accordion_content {
    padding: 1rem;
    max-height: 200px;
}

.luckiscalling_footer {
    background: #0a0815;
    border-top: 4px solid var(--lc-primary);
    padding: 4rem 1.5rem 2rem;
}

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

.luckiscalling_footer_title {
    display: block;
    color: var(--lc-primary);
    font-family: var(--lc-font-head);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.luckiscalling_footer_col p, .luckiscalling_footer_col a {
    font-size: 0.9rem;
    color: var(--lc-text-secondary);
    margin-bottom: 0.5rem;
}

.luckiscalling_footer_links {
    list-style: none;
}

.luckiscalling_partner_logos {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

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

.luckiscalling_partner_light {
    background-color: #ffffff;
}

.luckiscalling_partner_dark {
    background-color: #1a1a1a;
}

.luckiscalling_footer_bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 2rem;
}

.luckiscalling_footer_nrm {
    font-size: 0.85rem;
    color: var(--lc-text-secondary);
    margin-bottom: 1rem;
    font-weight: bold;
}

.luckiscalling_copyright {
    font-size: 0.8rem;
    color: #666;
}

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

.luckiscalling_modal_content, .luckiscalling_gate_content {
    background: var(--lc-surface);
    padding: 3rem;
    border: 2px solid var(--lc-primary);
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
}

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

.luckiscalling_form_group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.luckiscalling_form_group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--lc-accent);
}

.luckiscalling_form_group input, .luckiscalling_form_group textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--lc-bg);
    border: 1px solid #444;
    color: var(--lc-text-primary);
    font-family: var(--lc-font-body);
}

.luckiscalling_wallet_panel {
    background: #0a0815;
    border-bottom: 1px solid var(--lc-primary);
}

.luckiscalling_wallet_inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.luckiscalling_wallet_amount {
    color: var(--lc-accent);
    font-size: 1.5rem;
    margin-left: 1rem;
}

.luckiscalling_lobby_area {
    padding: 4rem 1.5rem;
}

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

.luckiscalling_game_card {
    background: var(--lc-surface);
    border: 1px solid #333;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.2s;
}

.luckiscalling_game_card:hover {
    border-color: var(--lc-primary);
}

.luckiscalling_game_canvas {
    margin: 1.5rem 0;
    background: var(--lc-bg);
    padding: 1rem;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.luckiscalling_wheel_wrapper {
    position: relative;
    width: 180px;
    height: 180px;
}

.luckiscalling_wheel_board {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform cubic-bezier(0.2, 0.8, 0.2, 1);
}

.luckiscalling_wheel_pointer {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 30px;
    background: var(--lc-accent);
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    z-index: 10;
}

.luckiscalling_game_ui {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.luckiscalling_game_status {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--lc-accent);
    min-height: 24px;
}

.luckiscalling_rank_list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.luckiscalling_rank_item {
    background: var(--lc-bg);
    padding: 1rem;
    border-left: 4px solid var(--lc-accent);
}

.luckiscalling_page_header {
    background: linear-gradient(to bottom, var(--lc-surface), var(--lc-bg));
    text-align: center;
    border-bottom: 1px solid #333;
}

.luckiscalling_lead {
    font-size: 1.2rem;
    color: var(--lc-text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.luckiscalling_text_longform p, .luckiscalling_text_longform ul {
    margin-bottom: 1.5rem;
    color: var(--lc-text-secondary);
}

.luckiscalling_text_longform h2 {
    margin-top: 3rem;
}

#luckiscalling_toast_container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.luckiscalling_toast {
    background: var(--lc-primary);
    color: var(--lc-bg);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
}

.luckiscalling_toast.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .luckiscalling_nav_list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--lc-surface);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 2px solid var(--lc-primary);
    }
    
    .luckiscalling_nav_list.active {
        display: flex;
    }
    
    .luckiscalling_burger {
        display: flex;
    }
    
    .luckiscalling_header_right .luckiscalling_btn {
        display: none;
    }
    
    .luckiscalling_hero_content {
        flex-direction: column;
        text-align: center;
    }
    
    .luckiscalling_hero_visual_panel {
        height: 300px;
        width: 100%;
    }
    
    .luckiscalling_grid_2, .luckiscalling_editorial_grid {
        grid-template-columns: 1fr;
    }
    
    .luckiscalling_wallet_inner {
        flex-direction: column;
        gap: 1rem;
    }
}

/* 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;
}
