* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background: #06080d;
    color: #edf1f7;
}

.waves-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.page-header h1 {
    margin: 0;
    font-size: 30px;
}

.subtitle {
    margin: 8px 0 0;
    color: #93a3bd;
}

.home-link {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 10px;
    color: #d7e8ff;
    border: 1px solid rgba(125, 177, 255, 0.55);
    text-decoration: none;
    white-space: nowrap;
}

.controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.controls label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
    color: #9db0ce;
}

.controls select,
.controls button {
    min-width: 170px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(141, 175, 229, 0.35);
    background: #0f1727;
    color: #edf1f7;
    padding: 0 10px;
}

.controls button {
    cursor: pointer;
    font-weight: 600;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.status-card {
    border: 1px solid rgba(147, 181, 236, 0.22);
    background: #0b1120;
    border-radius: 12px;
    padding: 12px;
}

.status-card span {
    display: block;
    color: #8ea4c5;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.status-card strong {
    font-size: 24px;
}

.clips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 14px;
}

.clip-card {
    border: 1px solid rgba(140, 172, 225, 0.22);
    border-radius: 14px;
    background: #0a1020;
    padding: 10px;
}

.clip-card video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    background: #020409;
}

.clip-header {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.clip-spot {
    font-weight: 700;
}

.clip-time {
    color: #8da0be;
    font-size: 13px;
}

.clip-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-top: 8px;
}

.clip-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.download-btn {
    text-decoration: none;
    color: #d7e8ff;
    border: 1px solid rgba(123, 175, 255, 0.55);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
}

.download-btn.secondary {
    border-color: rgba(149, 204, 255, 0.35);
    color: #b7ddff;
}

.clip-size {
    color: #91a5c4;
    font-size: 12px;
}

.empty-state {
    margin-top: 22px;
    color: #9eb2cf;
}

@media (max-width: 720px) {
    .page-header {
        flex-direction: column;
        align-items: stretch;
    }

    .status-grid {
        grid-template-columns: 1fr;
    }
}

