:root {
    --gold: #D4AF37;
    --gold-glow: rgba(212, 175, 55, 0.5);
    --bg-dark: #050a09; /* Slightly richer black */
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(212, 175, 55, 0.2);
}

body {
    background: radial-gradient(circle at center, #0a1512 0%, #010b09 100%);
    color: #f0f0f0;
    font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- 👁️ THE GOD-EYE VIEW WINDOW --- */
.view-window {
    position: relative;
    width: 340px;
    height: 460px;
    margin-top: 40px;
    background: #000;
    border-radius: 40px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: 0 0 80px rgba(0,0,0,0.8), inset 0 0 20px rgba(212, 175, 55, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Angular Corner Accents */
.view-window::before, .view-window::after {
    content: "";
    position: absolute;
    width: 50px;
    height: 50px;
    border: 3px solid var(--gold);
    z-index: 20;
    pointer-events: none;
}

.view-window::before {
    top: 20px; left: 20px;
    border-right: none; border-bottom: none;
    border-radius: 15px 0 0 0;
}

.view-window::after {
    bottom: 20px; right: 20px;
    border-left: none; border-top: none;
    border-radius: 0 0 15px 0;
}

/* --- ⚡ THE PRECISION LASER --- */
.laser {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--gold);
    box-shadow: 0 0 15px var(--gold), 0 0 30px var(--gold);
    top: 0;
    z-index: 15;
    animation: scanMove 3s infinite cubic-bezier(0.445, 0.05, 0.55, 0.95);
    filter: blur(0.5px);
}

@keyframes scanMove {
    0% { top: 5%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 95%; opacity: 0; }
}

/* --- 🎛️ CONTROL PANEL UPGRADE --- */
.action-panel {
    width: 340px;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 10px;
}

.btn-main {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: #000;
    border: none;
    padding: 20px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 3px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3), 0 0 15px var(--gold-glow);
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-main:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

.btn-sub {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ccc;
    padding: 15px;
    border-radius: 18px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.2s ease;
}

.btn-sub:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gold);
    border-color: var(--gold);
}

/* --- 📱 MOBILE OPTIMIZATION (FLEXIBLE & SMOOTH) --- */
@media (max-width: 480px) {
    .view-window {
        width: 90vw;
        height: 55vh;
        max-height: 480px;
        margin-top: 30px;
        border-radius: 35px;
    }

    .action-panel {
        width: 90vw;
        gap: 12px;
    }

    .btn-main {
        padding: 18px;
        border-radius: 18px;
    }
}

/* Scanning Overlay Pattern */
.view-window::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    z-index: 5;
    opacity: 0.3;
}