:root {
    --primary: #bb00ff;
    --secondary: #00eeff;
    --dark-bg: #050505;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --font-main: 'Outfit', sans-serif;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: transparent;
    font-family: var(--font-main);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    /* Custom Lightning Cursor */
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="%23ffeb3b" stroke="%23000" stroke-width="1"><path d="M13 2L3 14h9l-1 8 10-12h-9l1-8z"/></svg>') 16 16, auto;
}

/* Force cursor on everything */
* {
    cursor: inherit;
}

/* Full Screen Video Background */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -10;
    overflow: hidden;
    background: #4a0000;
    /* Fallback Dark Red */
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

/* Enter Screen */
#enter-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

#enter-btn {
    padding: 1.5rem 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    transition: transform 0.2s, box-shadow 0.2s;
    animation: pulse-btn 2s infinite;
}

#enter-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

@keyframes pulse-btn {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Card Styling */
.card {
    /* Mobile-first / Instagram Story ratio friendly */
    width: 100%;
    max-width: 400px;
    height: auto;

    /* Transparent card to see video */
    background: rgba(20, 20, 20, 0.65);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;

    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
    z-index: 10;
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0;
    text-align: center;
    line-height: 1.1;
    text-transform: uppercase;
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: white;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #ffe600;
    /* Yellow */
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #ffffff;
    /* White */
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(33px, 9999px, 11px, 0);
    }

    20% {
        clip: rect(89px, 9999px, 86px, 0);
    }

    40% {
        clip: rect(3px, 9999px, 63px, 0);
    }

    60% {
        clip: rect(54px, 9999px, 20px, 0);
    }

    80% {
        clip: rect(21px, 9999px, 95px, 0);
    }

    100% {
        clip: rect(76px, 9999px, 6px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(2px, 9999px, 83px, 0);
    }

    20% {
        clip: rect(56px, 9999px, 12px, 0);
    }

    40% {
        clip: rect(89px, 9999px, 43px, 0);
    }

    60% {
        clip: rect(12px, 9999px, 67px, 0);
    }

    80% {
        clip: rect(45px, 9999px, 2px, 0);
    }

    100% {
        clip: rect(91px, 9999px, 34px, 0);
    }
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 2px;
    margin-top: 0.5rem;
    color: var(--secondary);
    text-shadow: 0 0 10px var(--secondary);
}

.location-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.details {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.detail-item .icon {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.detail-item .text {
    font-weight: 300;
    font-size: 0.9rem;
    opacity: 0.9;
}

.address {
    font-size: 1rem;
    font-style: italic;
    opacity: 0.8;
    margin-bottom: 2rem;
    text-align: center;
}

/* Actions Area */
.actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.name-input {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    text-align: center;
    outline: none;
    box-sizing: border-box;
    /* Important fix */
    transition: border-color 0.3s, background 0.3s;
}

.name-input:focus {
    border-color: var(--secondary);
    background: rgba(0, 0, 0, 0.5);
}

.cta-button {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(45deg, #ff0000, #ff5e00);
    /* Speed Red Gradient */
    color: #fff;
    font-weight: 900;
    letter-spacing: 1px;
    font-style: italic;
    font-size: 1.2rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.2s;
    border-bottom: 4px solid #b30000;
}

.cta-button:hover {
    transform: translateY(-2px) skew(-5deg);
    box-shadow: 0 5px 25px rgba(255, 235, 59, 0.6);
    /* Yellow Glow */
}

.hidden {
    display: none;
}

.choice-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.choice-btn {
    width: 100%;
    /* Full width buttons for ease */
    box-sizing: border-box;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    /* Spacing between options */
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.choice-btn:active {
    transform: scale(0.98);
}

.choice-btn.sms {
    background: #ffffff;
    color: #333;
}

.choice-btn.whatsapp {
    background: #25D366;
    color: white;
}

.response-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 1.2rem;
    font-weight: 500;
}

.footer {
    position: fixed;
    bottom: 1rem;
    font-size: 0.8rem;
    opacity: 0.5;
    z-index: 10;
}