/* General styles */
body {
    font-family: 'Lora', serif;
    color: #ececec;
    background: #0d0d0d;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

nav {
    background: #1a1a1a;
    padding: 10px;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}

nav ul li {
    display: inline;
    margin-right: 15px;
}

nav ul li a {
    color: #ececec;
    text-decoration: none;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #ff007f; /* Neon pink on hover */
}

.logs-container {
    padding: 20px;
    text-align: center;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.camera-feed {
    position: relative;
    background: #1a1a1a;
    border: 3px solid #333;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.9);
    overflow: hidden;
}

.camera-feed .dream-log-media {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.camera-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #76ff03;
    font-family: 'Courier New', Courier, monospace;
}

.camera-indicator {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.camera-timestamp {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    color: #76ff03;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
}

.camera-title {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    color: #76ff03;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
    transition: color 0.3s ease;
}

.camera-title:hover {
    color: #ff007f; /* Neon pink on hover */
}

/* Static overlay effect */
.static-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.tortoisemedia.com/wp-content/uploads/sites/3/2020/03/pxGlitch_v4_notext.gif') repeat;
    opacity: 0.1;
    pointer-events: none;
    z-index: 999;
}