:root {
    --bg-color: #0a0a0c;
    --card-bg: #15151a;
    --accent: #d4af37; /* Gold */
    --danger: #8b0000; /* Dark Red */
    --text-main: #e0e0e0;
    --text-muted: #8a8a8f;
    --bg-image: url('hero-bg.jpg');
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    overflow-x: hidden;
}

h1, h2, h3, .font-cinzel {
    font-family: 'Cinzel', serif;
}

/* Hero background with the provided image and overlay */
.hero-bg {
    background:
        linear-gradient(to bottom, rgba(10, 10, 12, 0.75) 0%, rgba(10, 10, 12, 0.9) 60%, #0a0a0c 100%),
        radial-gradient(circle at 50% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 60%),
        var(--bg-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* Glitch effect for title */
.glitch-text {
    text-shadow: 0px 0px 8px rgba(212, 175, 55, 0.4);
}

/* Card styles */
.glass-card {
    background: rgba(21, 21, 26, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
    background: rgba(21, 21, 26, 0.85);
}

/* Call to action button */
.cta-btn {
    background: linear-gradient(90deg, #d4af37 0%, #b8860b 100%);
    color: #0a0a0c;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-btn:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    transform: scale(1.02);
}

.cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.cta-btn:hover::after {
    left: 100%;
}

/* Divider lines */
.divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
    width: 100%;
}

/* Pulse animation for indicators */
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(139, 0, 0, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(139, 0, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(139, 0, 0, 0); }
}

.pulse-red {
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot-gold {
    0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}
.pulse-gold {
    animation: pulse-dot-gold 2s infinite;
}

/* Hidden scrollbar for chat */
.chat-scroll::-webkit-scrollbar {
    width: 4px;
}
.chat-scroll::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 2px;
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Footer background */
.footer-bg {
    background:
        linear-gradient(to bottom, rgba(10, 10, 12, 0.95) 0%, rgba(0, 0, 0, 1) 100%),
        var(--bg-image);
    background-size: cover;
    background-position: center 20%; /* Focus on the upper part of the street */
    background-repeat: no-repeat;
    background-attachment: fixed; /* Subtle parallax effect */
}

/* Simple sub-page header (Rules/Privacy) — smaller than the full hero, still on-brand */
.page-header {
    background:
        linear-gradient(to bottom, rgba(10, 10, 12, 0.8) 0%, #0a0a0c 100%),
        var(--bg-image);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.prose-content h2 {
    font-size: 1.75rem;
    color: #fff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.prose-content h2:first-child {
    margin-top: 0;
}

.prose-content h3 {
    font-size: 1.15rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.prose-content p, .prose-content li {
    color: #c4c4c9;
    line-height: 1.75;
}

.prose-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.prose-content li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.prose-content li::before {
    content: '◆';
    color: var(--accent);
    font-size: 0.6rem;
    position: absolute;
    left: 0;
    top: 0.4rem;
}

.prose-content p {
    margin-bottom: 1rem;
}

.prose-content strong {
    color: #fff;
    font-weight: 600;
}

/* Language switcher (EN / RU) — fixed top-right on every page */
.lang-switch {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 50;
    display: flex;
    gap: 0.25rem;
}

.lang-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-btn:hover {
    color: var(--text-main);
}

.lang-btn-active {
    color: var(--accent);
    border-color: rgba(212, 175, 55, 0.5);
}

/* Contact form status + captcha */
.form-status {
    display: none;
}

.form-status.is-visible {
    display: block;
}

.captcha-row {
    display: flex;
    gap: 0.75rem;
    align-items: flex-end;
}

.captcha-question {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-bottom: 0.85rem;
}

/* Honeypot: off-screen rather than display:none/visibility:hidden, which some bots detect and
   skip. aria-hidden + tabindex="-1" keep it invisible and unreachable for real visitors,
   including screen-reader and keyboard users. */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
