
:root {
    --bg-color: #0b0f19; /* Dark Slate Background */
    --accent-gold: #eab308; /* Gamblers Gold */
    --text-color: #cbd5e1; /* Slate Text */
    --white: #ffffff;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
}


.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

.neon-text {
    text-shadow: 0 0 10px rgba(250, 204, 21, 0.6);
}


.game-wrapper {
    width: 100%;
    height: 85vh;
    background: #000;
    position: relative;
    border-bottom: 2px solid #334155;
    box-shadow: 0 20px 50px rgba(0,0,0,0.9);
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}


#orientation-lock {
    display: none;
}

@media only screen and (max-width: 768px) and (orientation: portrait) {
    #orientation-lock {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #020617;
        z-index: 9999;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 2rem;
    }
}


body.privacy-page h1, 
body.privacy-page h2, 
body.privacy-page h3 {
    color: #facc15; /* Yellow-400 */
}

body.privacy-page a {
    color: #facc15;
    text-decoration: underline;
}

body.privacy-page a:hover {
    color: #ffffff;
}


body.privacy-page nav a,
body.privacy-page footer a,
body.privacy-page .font-mono a {
    text-decoration: none;
    color: inherit; /* Fallback to Tailwind classes */
}
body.privacy-page nav a:hover,
body.privacy-page footer a:hover {
    color: #ffffff;
}


body.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    text-align: center;
    padding: 20px;
    overflow: hidden;
}

.error-page h1 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 5rem;
    font-weight: 900;
    color: var(--accent-gold);
    margin: 0;
    letter-spacing: -2px;
    text-shadow: 0 0 20px rgba(234, 179, 8, 0.4);
    position: relative;
}

.error-page h2 {
    font-size: 1.5rem;
    color: var(--white);
    margin-top: 10px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.error-page p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

/* 404 Button */
.home-btn {
    padding: 15px 35px;
    background-color: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.home-btn:hover {
    background-color: var(--accent-gold);
    color: #000;
    box-shadow: 0 0 30px rgba(234, 179, 8, 0.6);
    transform: translateY(-2px);
}

/* Glitch Animation (Casino Style) */
.glitch {
    position: relative;
}
.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
}
.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ff0000;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #00ff00;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(12px, 9999px, 56px, 0); }
    20% { clip: rect(98px, 9999px, 12px, 0); }
    40% { clip: rect(33px, 9999px, 87px, 0); }
    60% { clip: rect(65px, 9999px, 19px, 0); }
    80% { clip: rect(3px, 9999px, 64px, 0); }
    100% { clip: rect(82px, 9999px, 4px, 0); }
}
@keyframes glitch-anim-2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    20% { clip: rect(20px, 9999px, 15px, 0); }
    40% { clip: rect(90px, 9999px, 6px, 0); }
    60% { clip: rect(10px, 9999px, 58px, 0); }
    80% { clip: rect(45px, 9999px, 32px, 0); }
    100% { clip: rect(23px, 9999px, 76px, 0); }
}