:root {
    --fc-primary: #0A2F1F;
    --fc-secondary: #145936;
    --fc-accent: #D4AF37;
    --fc-bg: #05140D;
    --fc-surface: #0C2417;
    --fc-text-primary: #E8F5E9;
    --fc-text-secondary: #A5D6A7;
    --fc-text-dark: #000000;
    --fc-font-heading: 'Playfair Display', serif;
    --fc-font-body: 'Lato', sans-serif;
    --fc-radius: 8px;
    --fc-transition: 0.3s ease;
}

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

body.funcircuitzone_body {
    font-family: var(--fc-font-body);
    background-color: var(--fc-bg);
    color: var(--fc-text-primary);
    line-height: 1.6;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

a:hover {
    color: #F8D86A;
}

.funcircuitzone_heading-h1, .funcircuitzone_heading-h2, .funcircuitzone_heading-h3, .funcircuitzone_heading-h4, .funcircuitzone_heading-h5 {
    font-family: var(--fc-font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--fc-accent);
}

.funcircuitzone_heading-h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

.funcircuitzone_heading-h2 {
    font-size: 2rem;
}

.funcircuitzone_heading-h3 {
    font-size: 1.5rem;
}

.funcircuitzone_text-body {
    margin-bottom: 1rem;
}

.funcircuitzone_text-lead {
    font-size: 1.25rem;
    color: var(--fc-text-secondary);
    margin-bottom: 1.5rem;
}

.funcircuitzone_text-small {
    font-size: 0.875rem;
    color: var(--fc-text-secondary);
    margin-bottom: 0.5rem;
}

.funcircuitzone_container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.funcircuitzone_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--fc-font-body);
    font-weight: 700;
    border: none;
    border-radius: var(--fc-radius);
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    min-height: 44px;
}

.funcircuitzone_btn:hover {
    transform: translateY(-2px);
}

.funcircuitzone_btn-primary {
    background-color: var(--fc-accent);
    color: var(--fc-primary);
}

.funcircuitzone_btn-secondary {
    background-color: var(--fc-secondary);
    color: var(--fc-text-primary);
}

.funcircuitzone_btn-outline {
    background-color: transparent;
    border: 2px solid var(--fc-accent);
    color: var(--fc-accent);
}

.funcircuitzone_btn-action {
    background-color: var(--fc-accent);
    color: var(--fc-primary);
    width: 100%;
    font-size: 1.25rem;
    padding: 1rem;
    margin-top: 1rem;
}

.funcircuitzone_header {
    background-color: #0A2F1F;
    border-bottom: 2px solid var(--fc-accent);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.funcircuitzone_logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.funcircuitzone_logo-text {
    font-family: var(--fc-font-heading);
    font-size: 1.5rem;
    color: var(--fc-accent);
    font-weight: bold;
}

.funcircuitzone_nav {
    display: flex;
    align-items: center;
}

.funcircuitzone_nav-list {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.funcircuitzone_nav-link {
    color: var(--fc-text-primary);
    font-weight: 700;
    font-size: 1rem;
}

.funcircuitzone_burger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.funcircuitzone_burger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--fc-accent);
    margin: 5px 0;
    transition: 0.3s;
}

.funcircuitzone_sidebar-terminal {
    position: fixed;
    top: 80px;
    right: 0;
    width: 300px;
    height: calc(100vh - 80px);
    background-color: var(--fc-surface);
    border-left: 1px solid var(--fc-secondary);
    padding: 1.5rem;
    z-index: 50;
    display: none;
}

@media (min-width: 1024px) {
    .funcircuitzone_sidebar-terminal {
        display: block;
    }
    .funcircuitzone_main {
        margin-right: 300px;
    }
}

.funcircuitzone_terminal-balance {
    background-color: var(--fc-primary);
    padding: 1rem;
    border-radius: var(--fc-radius);
    border: 1px solid var(--fc-accent);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.funcircuitzone_balance-label {
    color: var(--fc-text-secondary);
    font-size: 0.875rem;
}

.funcircuitzone_balance-value {
    color: var(--fc-accent);
    font-size: 1.5rem;
    font-weight: bold;
}

.funcircuitzone_main {
    flex: 1;
}

.funcircuitzone_section {
    padding: 4rem 0;
}

.funcircuitzone_section-dark {
    background-color: var(--fc-bg);
}

.funcircuitzone_section-darker {
    background-color: #030d08;
}

.funcircuitzone_section-light {
    background-color: var(--fc-surface);
}

.funcircuitzone_hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.funcircuitzone_hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.4);
    z-index: 1;
}

.funcircuitzone_hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.funcircuitzone_hero-text-col {
    max-width: 600px;
}

.funcircuitzone_hero-trust-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(10, 47, 31, 0.8);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--fc-accent);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.funcircuitzone_hero-legal-strip {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
    background-color: rgba(0,0,0,0.5);
    padding: 0.75rem;
    border-radius: var(--fc-radius);
}

.funcircuitzone_age-badge-strip {
    background-color: var(--fc-accent);
    color: var(--fc-primary);
    font-weight: bold;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.funcircuitzone_game-card-large {
    background-color: var(--fc-surface);
    border: 1px solid var(--fc-secondary);
    border-radius: var(--fc-radius);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .funcircuitzone_game-card-large {
        flex-direction: row;
        align-items: center;
    }
    .funcircuitzone_game-canvas-area {
        flex: 1;
    }
    .funcircuitzone_game-controls-area {
        width: 300px;
    }
}

.funcircuitzone_wheel-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1/1;
    margin: 0 auto;
}

.funcircuitzone_wheel-board {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    transition: transform 3.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.funcircuitzone_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: 30px solid var(--fc-accent);
    z-index: 10;
}

.funcircuitzone_controls-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

.funcircuitzone_bet-select {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--fc-bg);
    color: var(--fc-text-primary);
    border: 1px solid var(--fc-secondary);
    border-radius: var(--fc-radius);
    font-size: 1rem;
}

.funcircuitzone_game-status {
    margin-top: 1rem;
    padding: 1rem;
    background-color: var(--fc-primary);
    text-align: center;
    border-radius: var(--fc-radius);
    border: 1px solid var(--fc-accent);
    font-weight: bold;
}

.funcircuitzone_game-history {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--fc-text-secondary);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.funcircuitzone_game-balance-mirror {
    margin-top: 1rem;
    text-align: center;
    font-weight: bold;
    color: var(--fc-accent);
}

.funcircuitzone_feature-split {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .funcircuitzone_feature-split {
        flex-direction: row;
    }
    .funcircuitzone_feature-split > * {
        flex: 1;
    }
}

.funcircuitzone_media-img, .funcircuitzone_content-img {
    width: 100%;
    height: auto;
    border-radius: var(--fc-radius);
    border: 2px solid var(--fc-secondary);
    margin-bottom: 1.5rem;
}

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

@media (min-width: 768px) {
    .funcircuitzone_grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.funcircuitzone_info-card, .funcircuitzone_shop-card {
    background-color: var(--fc-surface);
    padding: 1.5rem;
    border-radius: var(--fc-radius);
    border: 1px solid var(--fc-secondary);
    height: 100%;
}

.funcircuitzone_shop-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.funcircuitzone_ticker-strip {
    background-color: var(--fc-primary);
    padding: 1rem;
    border: 1px solid var(--fc-accent);
    border-radius: var(--fc-radius);
}

.funcircuitzone_ticker-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.funcircuitzone_egg-trigger-area {
    text-align: center;
    margin: 2rem 0;
}

.funcircuitzone_egg-icon {
    width: 100px;
    height: 100px;
    cursor: pointer;
    transition: transform 0.3s;
}

.funcircuitzone_egg-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.funcircuitzone_status-banner {
    background-color: var(--fc-accent);
    color: var(--fc-bg);
    padding: 1rem;
    border-radius: var(--fc-radius);
    text-align: center;
    font-weight: bold;
    margin-top: 1rem;
}

.funcircuitzone_accordion-item {
    margin-bottom: 0.5rem;
    border: 1px solid var(--fc-secondary);
    border-radius: var(--fc-radius);
    overflow: hidden;
}

.funcircuitzone_accordion-header {
    width: 100%;
    text-align: left;
    padding: 1rem;
    background-color: var(--fc-surface);
    color: var(--fc-text-primary);
    border: none;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}

.funcircuitzone_accordion-content {
    padding: 0;
    max-height: 0;
    background-color: var(--fc-bg);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.funcircuitzone_accordion-content.is-open {
    padding: 1rem;
    max-height: 500px;
}

.funcircuitzone_footer {
    background-color: #020805;
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--fc-secondary);
    margin-top: auto;
}

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

.funcircuitzone_footer-compliance-row {
    border-bottom: 1px solid var(--fc-secondary);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.funcircuitzone_footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .funcircuitzone_footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.funcircuitzone_footer-links {
    list-style: none;
}

.funcircuitzone_footer-links li {
    margin-bottom: 0.5rem;
}

.funcircuitzone_footer-partners {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.funcircuitzone_partner-link-light, .funcircuitzone_partner-link-dark {
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
}

.funcircuitzone_partner-link-light {
    background-color: #ffffff;
}

.funcircuitzone_partner-link-dark {
    background-color: #1a1a1a;
}

.funcircuitzone_partner-link-light img, .funcircuitzone_partner-link-dark img {
    height: 40px;
    width: auto;
    display: block;
}

.funcircuitzone_footer-bottom {
    border-top: 1px solid var(--fc-secondary);
    padding-top: 1.5rem;
    text-align: center;
}

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

.funcircuitzone_modal-content {
    background-color: var(--fc-surface);
    padding: 2rem;
    border-radius: var(--fc-radius);
    border: 1px solid var(--fc-accent);
    max-width: 500px;
    width: 90%;
    position: relative;
}

.funcircuitzone_drawer-content {
    position: absolute;
    bottom: 0;
    width: 100%;
    background-color: var(--fc-surface);
    padding: 2rem;
    border-top: 2px solid var(--fc-accent);
    border-radius: var(--fc-radius) var(--fc-radius) 0 0;
}

.funcircuitzone_modal-close, .funcircuitzone_drawer-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--fc-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

.funcircuitzone_form-group {
    margin-bottom: 1rem;
}

.funcircuitzone_label {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--fc-text-secondary);
}

.funcircuitzone_input {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--fc-bg);
    border: 1px solid var(--fc-secondary);
    color: var(--fc-text-primary);
    border-radius: var(--fc-radius);
}

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

.funcircuitzone_disclaimer-banner {
    background-color: #3d1a1a;
    color: #ffcccc;
    padding: 1rem;
    border-radius: var(--fc-radius);
    border: 1px solid #ff6666;
    text-align: center;
    margin-bottom: 2rem;
}

.funcircuitzone_gate-active {
    display: flex;
}

.funcircuitzone_gate-content {
    text-align: center;
    max-width: 600px;
}

.funcircuitzone_btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0;
}

.funcircuitzone_legal-gate-logos {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.funcircuitzone_partner-logo-dark {
    background-color: #1a1a1a;
    padding: 0.25rem;
    border-radius: 4px;
    height: 30px;
}

.funcircuitzone_partner-logo-light {
    background-color: #ffffff;
    padding: 0.25rem;
    border-radius: 4px;
    height: 30px;
}

@media (max-width: 767px) {
    .funcircuitzone_nav-list {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--fc-primary);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }
    .funcircuitzone_nav-list.is-open {
        display: flex;
    }
    .funcircuitzone_burger-btn {
        display: block;
    }
    .funcircuitzone_auth-area {
        display: none;
    }
    .funcircuitzone_sidebar-terminal {
        position: static;
        width: 100%;
        height: auto;
        border-left: none;
        border-top: 1px solid var(--fc-secondary);
        display: block;
        padding: 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;
}
