/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== BASE ===== */
body {
    min-height: 100vh;
    background: #1f1f1f;
    overflow: hidden;
}

/* ===== MOVING HAZARD BACKGROUND ===== */
.site-background {
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        #2b2b2b,
        #2b2b2b 20px,
        #1f1f1f 20px,
        #1f1f1f 40px
    );
    z-index: -3;
}

/* Subtle lighting variation */
.site-background::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255,255,255,0.05), transparent 40%),
        radial-gradient(circle at 70% 70%, rgba(255,255,255,0.03), transparent 40%);
}



/* ===== HAZARD LIGHTS ===== */
.hazard-light {
    position: fixed;
    top: 20px;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #ffeb99 0%, #ffae00 40%, #b36b00 70%);
    border-radius: 50%;
    box-shadow:
        0 0 20px rgba(255, 174, 0, 0.6),
        0 0 40px rgba(255, 174, 0, 0.4);
    animation: blink 2.4s infinite;
    z-index: 2;
}

.hazard-light.left {
    left: 20px;
}

.hazard-light.right {
    right: 20px;
    animation-delay: 1.2s;
}

@keyframes blink {
    0%, 20% {
        opacity: 0.2;
        box-shadow: none;
    }
    30%, 60% {
        opacity: 1;
        box-shadow:
            0 0 25px rgba(255, 174, 0, 0.9),
            0 0 60px rgba(255, 174, 0, 0.6);
    }
    100% {
        opacity: 0.2;
        box-shadow: none;
    }
}

/* ===== LAYOUT ===== */
.site-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* ===== WARNING SIGN ===== */
.warning-sign {
    background: #f4c430;
    border: 6px solid #111;
    border-radius: 12px;
    padding: 3rem 3.5rem;
    max-width: 720px;
    text-align: center;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        inset 0 -6px 0 rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Striped tape frame */
.warning-sign::before {
    content: "";
    position: absolute;
    inset: -18px;
    background: repeating-linear-gradient(
        -45deg,
        #000,
        #000 14px,
        #f4c430 14px,
        #f4c430 28px
    );
    z-index: -1;
    border-radius: 16px;
}

/* Title */
.warning-sign h1 {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    color: #111;
}

/* Subtext */
.subtext {
    font-size: 1rem;
    font-style: italic;
    opacity: 0.85;
    color: #111;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
    .warning-sign {
        padding: 2.2rem 1.8rem;
    }

    .warning-sign h1 {
        font-size: 1.6rem;
    }

    .hazard-light {
        width: 40px;
        height: 40px;
    }
}
/* Striped tape frame (vibrating) */
.warning-sign::before {
    content: "";
    position: absolute;
    inset: -18px;
    background: repeating-linear-gradient(
        -45deg,
        #000,
        #000 14px,
        #f4c430 14px,
        #f4c430 28px
    );
    z-index: -1;
    border-radius: 16px;
    animation: tapeVibrate 0.15s infinite;
}
@keyframes tapeVibrate {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(1px, -1px); }
    50%  { transform: translate(-1px, 1px); }
    75%  { transform: translate(1px, 1px); }
    100% { transform: translate(0, 0); }
}
