* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #000000;
    color: #00FAB3;
    font-family: 'Courier New', monospace;
    overflow-x: hidden;
    line-height: 1.4;
}

/* CRT Container */
.crt-container {
    position: relative;
    min-height: 100vh;
    background: #000000;
    /* Add your background image here */
    background-image: url('your-background-image.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 20px;
}

/* Dark Overlay for Background */
.crt-container::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 0;
}

/* CRT Scanlines */
.scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 250, 179, 0.03) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 1;
    animation: scanline 0.1s linear infinite;
}

@keyframes scanline {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* CRT Flicker */
.flicker {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
    z-index: 1;
    animation: flicker 8s infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 0.98; }
    1% { opacity: 0.9; }
    2% { opacity: 0.95; }
    50% { opacity: 1; }
    51% { opacity: 0.97; }
}

/* CRT Glow */
.glow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at center,
        transparent 0%,
        rgba(0, 250, 179, 0.05) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Security Header */
.security-header {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px;
    border: 1px solid #00FAB3;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 20px rgba(0, 250, 179, 0.3);
}

.security-status {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.status-active {
    color: #00FAB3;
    text-shadow: 0 0 10px #00FAB3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.status-time {
    color: #00FAB3;
}

.security-header h1 {
    font-size: 28px;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-shadow: 0 0 15px #00FAB3;
    text-transform: uppercase;
}

.clearance-level {
    font-size: 14px;
    opacity: 0.8;
    color: #00FAB3;
}

/* Image Database */
.image-database {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-bottom: 40px;
}

/* Image Entry */
.image-entry {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid #00FAB3;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 250, 179, 0.2);
    transition: all 0.3s ease;
}

.image-entry:hover {
    box-shadow: 0 0 25px rgba(0, 250, 179, 0.4);
    transform: translateY(-2px);
}

.image-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #00FAB3;
    font-size: 14px;
    opacity: 0.9;
}

.file-id {
    color: #00FAB3;
    font-weight: bold;
}

.timestamp {
    color: #00FAB3;
    opacity: 0.8;
}

/* Image Container */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.security-image {
    max-width: 100%;
    height: auto;
    border: 2px solid #00FAB3;
    box-shadow: 0 0 20px rgba(0, 250, 179, 0.3);
    transition: all 0.3s ease;
}

.security-image:hover {
    box-shadow: 0 0 30px rgba(0, 250, 179, 0.6);
    transform: scale(1.02);
}

/* Image Info */
.image-info {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #00FAB3;
    font-size: 14px;
}

.coordinates, .classification {
    color: #00FAB3;
}

.classification {
    font-weight: bold;
    text-shadow: 0 0 5px #00FAB3;
}

/* Security Footer */
.security-footer {
    position: relative;
    z-index: 2;
    border: 1px solid #00FAB3;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    margin-top: 40px;
    box-shadow: 0 0 20px rgba(0, 250, 179, 0.3);
}

.footer-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.access-log {
    text-align: center;
    font-size: 14px;
    opacity: 0.8;
    color: #00FAB3;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .crt-container {
        padding: 10px;
    }

    .security-header h1 {
        font-size: 20px;
        letter-spacing: 2px;
    }

    .security-status {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .image-meta {
        flex-direction: column;
        gap: 5px;
    }

    .image-info {
        flex-direction: column;
        gap: 5px;
    }

    .footer-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .security-image {
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .security-header h1 {
        font-size: 18px;
    }

    .image-entry {
        padding: 15px;
    }

    .security-footer {
        padding: 15px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: #00FAB3;
    border-radius: 6px;
    border: 2px solid #000000;
}

::-webkit-scrollbar-thumb:hover {
    background: #00FAB3;
    box-shadow: 0 0 10px #00FAB3;
}