/* Landing page styles */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 0 20px;
    flex: 1;
}

@media (max-width: 768px) {
    .container {
        padding: 20px 16px 0 16px;
    }
}

h1 {
    margin-bottom: 40px;
    font-size: 32px;
    font-weight: 600;
}

@media (max-width: 768px) {
    h1 {
        font-size: 24px;
        margin-bottom: 24px;
    }
}

.webcam-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 500px), 1fr));
    gap: 24px;
    justify-items: center;
}

@media (max-width: 768px) {
    .webcam-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.webcam-card {
    width: 100%;
    max-width: 700px;
    background: #1e1e1e;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    border: 1px solid #333333;
}

.webcam-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
    border-color: #555555;
}

.webcam-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
    overflow: hidden;
}

.webcam-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.webcam-thumbnail .placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 14px;
    background: #0a0a0a;
}

.webcam-info {
    padding: 20px;
}

.webcam-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #ffffff;
}

.webcam-description {
    color: #999999;
    font-size: 14px;
    line-height: 1.5;
}

.status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    margin-top: 12px;
    font-weight: 500;
}

.status.live {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
    border: 1px solid #00ff88;
}

.status.offline {
    background: rgba(255, 255, 255, 0.04);
    color: #666666;
    border: 1px solid #333333;
}
