* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;

    background:
        radial-gradient(circle at center, rgba(70, 0, 0, 0.18), transparent 45%),
        linear-gradient(180deg, #050505 0%, #090303 100%);
    color: #ff2a2a;
    font-family: monospace;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
    z-index: 0;
    pointer-events: none;
}

.main-panel {
    position: relative;
    z-index: 1;
    width: 760px;
    max-width: calc(100vw - 32px);
    min-height: 520px;
    padding: 48px 40px 42px;
    overflow: hidden;
    text-align: center;

    border: 1px solid rgba(255, 50, 50, 0.4);
    background: rgba(20, 0, 0, 0.28);
    box-shadow:
        0 0 30px rgba(255, 0, 0, 0.18),
        inset 0 0 30px rgba(255, 0, 0, 0.06);
    backdrop-filter: blur(4px);
}

.main-panel::before,
.main-panel::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(255, 70, 70, 0.8),
        transparent
    );
    z-index: 5;
}

.main-panel::before {
    top: 14px;
}

.main-panel::after {
    bottom: 14px;
}

#panel-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
}

.panel-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(10, 0, 0, 0.2) 0%,
            rgba(20, 0, 0, 0.45) 100%
        );
    pointer-events: none;
}

.scanlines {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 0, 0, 0.04) 0px,
        rgba(255, 0, 0, 0.04) 1px,
        transparent 2px,
        transparent 4px
    );
    opacity: 0.5;
}

.content {
    position: relative;
    z-index: 4;
}

.symbol {
    margin-bottom: 10px;
    font-size: 42px;
    color: #ff1e1e;
    text-shadow:
        0 0 8px rgba(255, 0, 0, 0.8),
        0 0 18px rgba(255, 0, 0, 0.35);
}

h1 {
    margin: 8px 0 12px;
    font-size: 54px;
    letter-spacing: 6px;
    font-weight: 700;
    color: #ff1a1a;
    text-shadow:
        0 0 8px rgba(255, 0, 0, 0.8),
        0 0 22px rgba(255, 0, 0, 0.35);
}

.subtitle {
    margin: 0 0 34px;
    font-size: 15px;
    letter-spacing: 1px;
    color: #ff7b7b;
}

.status-box {
    width: 340px;
    max-width: 100%;
    margin: 0 auto 42px;
    padding: 14px 20px;
    border: 1px solid rgba(255, 50, 50, 0.8);
    background: rgba(255, 0, 0, 0.05);
    color: #ff3a3a;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow:
        0 0 14px rgba(255, 0, 0, 0.2),
        inset 0 0 8px rgba(255, 0, 0, 0.06);
}

.features {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.card {
    min-width: 140px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 60, 60, 0.75);
    background: rgba(255, 0, 0, 0.04);
    color: #ff4a4a;
    letter-spacing: 1px;
    box-shadow:
        0 0 12px rgba(255, 0, 0, 0.14),
        inset 0 0 6px rgba(255, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.card:hover {
    transform: translateY(-4px);
    background: rgba(255, 0, 0, 0.08);
    box-shadow:
        0 0 18px rgba(255, 0, 0, 0.3),
        inset 0 0 8px rgba(255, 0, 0, 0.06);
}

@media (max-width: 700px) {
    .main-panel {
        min-height: 480px;
        padding: 38px 20px 34px;
    }

    h1 {
        font-size: 40px;
        letter-spacing: 4px;
    }

    .symbol {
        font-size: 34px;
    }

    .subtitle {
        font-size: 13px;
    }

    .status-box {
        width: 100%;
        margin-bottom: 28px;
    }

    .card {
        min-width: 120px;
        font-size: 14px;
    }
}