/* Dino Egg Styles */

.dino-egg-cam-wrapper {
    width: 100%;
    margin: 0 auto;
    background: #111;
    /* Slightly lighter than pure black for contrast with video frame */
    color: #fff;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* The Monitor Frame */
.dino-monitor-frame {
    width: 100%;
    max-width: 700px;
    background: #000;
    padding: 6px;
    /* Bezel */
    border: 3px solid #444;
    border-radius: 6px;
    box-shadow:
        0 0 20px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(68, 68, 68, 0.15);
    margin-bottom: 2rem;
}

.dino-egg-cam-container {
    position: relative;
    width: 100%;
    /* 1:1 Aspect Ratio (square) */
    padding-top: 100%;
    background: #000;
    overflow: hidden;
    border-radius: 3px;
}

.dino-egg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Scanlines Effect - Optional, kept subtle */
.dino-egg-cam-container::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
    background-size: 100% 4px;
    z-index: 2;
    pointer-events: none;
}

/* Cam Overlay UI - Strictly inside the frame */
.cam-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    padding: 20px;
    box-sizing: border-box;
    font-family: 'Courier New', Courier, monospace;
    color: #fff;
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cam-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.cam-live-indicator {
    color: #ff0000;
    /* Red text for LIVE */
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 8px;
    border-radius: 4px;
}

.cam-rec-dot {
    width: 10px;
    height: 10px;
    background-color: #ff0000;
    border-radius: 50%;
    display: inline-block;
    animation: blink 1.5s infinite;
}

.cam-footer {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    font-size: 1rem;
}

#cam-timestamp {
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 8px;
    border-radius: 4px;
}

/* Info Panel (Below the video) */
.egg-interaction-layer {
    text-align: center;
    max-width: 700px;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.egg-title {
    font-size: 2rem;
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.egg-subtitle {
    font-size: 1.2rem;
    color: #aaa;
    margin-bottom: 20px;
    font-style: italic;
}

.countdown-container {
    background: #222;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    border: 1px solid #333;
}

.countdown-label {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
    letter-spacing: 1px;
}

.egg-countdown {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: monospace;
    color: #ffcc00;
    line-height: 1.2;
}

.egg-notify-btn {
    background: #4CAF50;
    /* Green for action */
    border: none;
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.egg-notify-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.email-capture-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.egg-email-input {
    padding: 15px;
    border-radius: 30px;
    border: 1px solid #444;
    background: #222;
    color: #fff;
    width: 100%;
    max-width: 350px;
    text-align: center;
    margin-bottom: 15px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.egg-email-input:focus {
    border-color: #4CAF50;
}

.egg-note {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #888;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/* Mobile: smaller text */
@media (max-width: 768px) {
    .egg-title {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }

    .egg-subtitle {
        font-size: 0.95rem;
    }

    .egg-countdown {
        font-size: 1.3rem;
    }

    .countdown-label {
        font-size: 0.7rem;
    }

    .egg-note {
        font-size: 0.75rem;
    }

    .egg-notify-btn {
        font-size: 0.9rem;
        padding: 12px 30px;
    }

    .egg-email-input {
        font-size: 0.85rem;
        padding: 12px;
    }

    .cam-header {
        font-size: 0.75rem;
    }

    .cam-footer {
        font-size: 0.75rem;
    }

    .cam-overlay {
        padding: 12px;
    }

    .cam-rec-dot {
        width: 7px;
        height: 7px;
    }

    .dino-monitor-frame {
        border-width: 2px;
        padding: 4px;
    }
}