@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Space+Grotesk:wght@400;700&display=swap');

:root {
    --ehc-bg: #0B0F19;
    --ehc-surface: #1A233A;
    --ehc-surface-hover: #263354;
    --ehc-primary: #00FFA3;
    --ehc-primary-dark: #00CC82;
    --ehc-accent: #00E5FF;
    --ehc-text: #E2E8F0;
    --ehc-text-muted: #94A3B8;
    --ehc-font-head: 'Space Grotesk', sans-serif;
    --ehc-font-body: 'Outfit', sans-serif;
    --ehc-radius: 12px;
    --ehc-transition: all 0.3s ease;
}

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

body {
    font-family: var(--ehc-font-body);
    background-color: var(--ehc-bg);
    color: var(--ehc-text);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { color: var(--ehc-accent); text-decoration: none; transition: var(--ehc-transition); }
a:hover { color: var(--ehc-primary); }

.ehc-main-content {
    flex: 1;
    padding-top: 80px; 
}

/* Header */
.ehc-masthead {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 255, 163, 0.2);
}
.ehc-masthead-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 2rem;
}
.ehc-brand {
    font-family: var(--ehc-font-head);
    font-size: 1.5rem; font-weight: 700;
    display: flex; align-items: center; gap: 0.5rem;
    color: #fff;
}
.ehc-brand-icon { color: var(--ehc-primary); }
.ehc-highlight { color: var(--ehc-accent); }
.ehc-nav-list { display: flex; gap: 2rem; list-style: none; }
.ehc-nav-link { color: var(--ehc-text); font-weight: 600; font-family: var(--ehc-font-head); }
.ehc-nav-link:hover { color: var(--ehc-primary); }
.ehc-balance-display {
    background: var(--ehc-surface);
    padding: 0.5rem 1rem; border-radius: 20px;
    border: 1px solid var(--ehc-primary); font-weight: 700;
    display: flex; align-items: center; gap: 0.5rem;
    color: var(--ehc-primary);
}
.ehc-nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
}
.ehc-nav-toggle span {
    display: block; width: 25px; height: 3px;
    background: var(--ehc-primary); margin: 4px 0; transition: 0.3s;
}

/* Footer */
.ehc-foot {
    background: var(--ehc-surface);
    border-top: 1px solid rgba(0, 255, 163, 0.2);
    padding: 4rem 2rem 1rem; margin-top: 4rem;
}
.ehc-foot-top {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem;
}
.ehc-foot-title {
    font-family: var(--ehc-font-head);
    color: var(--ehc-primary); margin-bottom: 1rem;
}
.ehc-foot-menu { list-style: none; }
.ehc-foot-menu li { margin-bottom: 0.5rem; }
.ehc-foot-menu a { color: var(--ehc-text-muted); }
.ehc-foot-menu a:hover { color: var(--ehc-accent); }
.ehc-foot-contact p { color: var(--ehc-text-muted); margin-bottom: 0.5rem; font-size: 0.9rem; }

/* Compliance Block */
.ehc-compliance-block {
    max-width: 800px; margin: 0 auto 3rem;
    text-align: center; padding: 2rem;
    background: rgba(11, 15, 25, 0.5);
    border-radius: var(--ehc-radius);
    border: 1px dashed rgba(255, 255, 255, 0.1);
}
.ehc-badge-19 {
    width: 44px; height: 44px;
    border: 2px solid var(--ehc-primary); color: var(--ehc-primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: bold; margin: 0 auto 1rem; font-family: var(--ehc-font-head);
    font-size: 1.1rem;
}
.ehc-compliance-text {
    font-weight: bold; color: var(--ehc-primary); margin-bottom: 2rem; font-size: 0.9rem;
}
.ehc-compliance-logos {
    display: flex; justify-content: center; align-items: center; gap: 56px; flex-wrap: wrap;
}
.ehc-compliance-logos img {
    height: 36px; opacity: 0.8; transition: var(--ehc-transition); filter: brightness(0) invert(1);
}
.ehc-compliance-logos a:hover img { opacity: 1; }
.ehc-foot-bottom {
    text-align: center; color: var(--ehc-text-muted); font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1rem;
    max-width: 1200px; margin: 0 auto;
}

/* Buttons */
.ehc-btn {
    display: inline-block; padding: 0.75rem 1.5rem; border-radius: 30px;
    font-family: var(--ehc-font-head); font-weight: 700; cursor: pointer;
    text-transform: uppercase; letter-spacing: 1px; border: none;
    transition: var(--ehc-transition); text-align: center;
}
.ehc-btn-primary { background: var(--ehc-primary); color: var(--ehc-bg); }
.ehc-btn-primary:hover:not(:disabled) {
    background: var(--ehc-accent); box-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}
.ehc-btn-outline { background: transparent; border: 2px solid var(--ehc-primary); color: var(--ehc-primary); }
.ehc-btn-outline:hover { background: rgba(0, 255, 163, 0.1); }
.ehc-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Overlays */
.ehc-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); backdrop-filter: blur(5px);
    z-index: 9999; display: none; align-items: center; justify-content: center;
}
.ehc-cookie-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 9998; display: none;
}
.ehc-cookie-box {
    position: absolute; bottom: 2rem; right: 2rem; max-width: 400px;
    background: var(--ehc-surface); padding: 1.5rem;
    border-radius: var(--ehc-radius); border: 1px solid var(--ehc-accent);
    pointer-events: auto; display: block;
}
.ehc-cookie-box h4 { margin-bottom: 0.5rem; color: var(--ehc-accent); }
.ehc-cookie-box p { font-size: 0.9rem; margin-bottom: 1rem; color: var(--ehc-text-muted); }
.ehc-cookie-actions { display: flex; gap: 1rem; }

.ehc-age-box {
    background: var(--ehc-surface); padding: 3rem; border-radius: var(--ehc-radius);
    text-align: center; max-width: 450px; border: 1px solid var(--ehc-primary);
}
.ehc-age-icon { font-size: 3rem; margin-bottom: 1rem; }
.ehc-age-box h4 { margin-bottom: 1rem; font-family: var(--ehc-font-head); font-size: 1.5rem; }
.ehc-age-box p { color: var(--ehc-text-muted); margin-bottom: 1.5rem; }
.ehc-age-label { display: block; margin-bottom: 1.5rem; cursor: pointer; color: var(--ehc-text); }
.ehc-age-label input { margin-right: 0.5rem; }

/* General Sections */
.ehc-section { padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
.ehc-hero {
    text-align: center; padding: 6rem 2rem 4rem;
    background: radial-gradient(circle at center, var(--ehc-surface) 0%, var(--ehc-bg) 100%);
}
.ehc-title-xl {
    font-size: 3.5rem; font-family: var(--ehc-font-head); margin-bottom: 1rem; line-height: 1.2;
    background: linear-gradient(to right, var(--ehc-primary), var(--ehc-accent));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.ehc-subtitle { font-size: 1.25rem; color: var(--ehc-text-muted); max-width: 600px; margin: 0 auto 2rem; }

.ehc-game-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.ehc-game-card {
    background: var(--ehc-surface); border-radius: var(--ehc-radius);
    padding: 2rem; text-align: center; border: 1px solid rgba(0, 229, 255, 0.2);
    transition: var(--ehc-transition);
}
.ehc-game-card:hover {
    transform: translateY(-5px); border-color: var(--ehc-primary);
    box-shadow: 0 10px 30px rgba(0, 255, 163, 0.1);
}
.ehc-game-icon { font-size: 4rem; margin-bottom: 1rem; }
.ehc-game-card h3 { font-family: var(--ehc-font-head); color: #fff; margin-bottom: 0.5rem; font-size: 1.5rem; }
.ehc-game-card p { color: var(--ehc-text-muted); margin-bottom: 1.5rem; }

.ehc-page-header { text-align: center; padding: 4rem 2rem 2rem; }
.ehc-prose { max-width: 800px; margin: 0 auto; }
.ehc-prose h2 { color: var(--ehc-primary); margin: 2rem 0 1rem; font-family: var(--ehc-font-head); }
.ehc-prose p { margin-bottom: 1rem; color: var(--ehc-text-muted); }
.ehc-prose ul { margin-bottom: 1rem; padding-left: 2rem; color: var(--ehc-text-muted); }

/* Form styles for Contact */
.ehc-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.ehc-input, .ehc-textarea {
    width: 100%; padding: 1rem; border-radius: 8px;
    background: var(--ehc-bg); border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--ehc-text); font-family: var(--ehc-font-body);
}
.ehc-textarea { resize: vertical; min-height: 150px; }
.ehc-input:focus, .ehc-textarea:focus { outline: none; border-color: var(--ehc-primary); }

/* Game Interfaces */
.ehc-game-stage {
    max-width: 800px; margin: 2rem auto; background: var(--ehc-surface);
    border-radius: var(--ehc-radius); padding: 2rem;
    border: 1px solid var(--ehc-primary); text-align: center;
}
.ehc-game-display {
    font-size: 3rem; margin: 2rem 0; padding: 2rem;
    background: var(--ehc-bg); border-radius: var(--ehc-radius);
    border: 2px solid var(--ehc-surface-hover); letter-spacing: 0.5rem;
    font-family: var(--ehc-font-head);
}
.ehc-game-controls {
    display: flex; gap: 1rem; justify-content: center; align-items: center; margin-top: 2rem;
}
.ehc-bet-input {
    background: var(--ehc-bg); border: 1px solid var(--ehc-accent); color: #fff;
    padding: 0.75rem; border-radius: 8px; width: 100px; text-align: center; font-family: var(--ehc-font-head);
}
.ehc-message { margin-top: 1.5rem; font-weight: bold; height: 1.5rem; }

/* Responsive */
@media (max-width: 768px) {
    .ehc-nav-list {
        display: none; flex-direction: column; position: absolute;
        top: 100%; left: 0; width: 100%; background: var(--ehc-surface);
        padding: 2rem; border-bottom: 1px solid var(--ehc-primary);
    }
    .ehc-nav-active { display: flex; }
    .ehc-nav-toggle { display: block; }
    .ehc-foot-top { grid-template-columns: 1fr; }
    .ehc-title-xl { font-size: 2.5rem; }
    .ehc-compliance-logos { gap: 20px; }
}
