.embed-tabs {
    max-width: 650px;
    width:100%;
    border-radius: 12px;
    overflow: hidden;
    font-family: var(--font-main)
}

.tab-buttons {
    position: relative;
    display: flex;
    border-bottom: 1px solid #27272a;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    color: #a1a1aa;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1;
}

.tab-btn:hover {
    color: #fafafa;
    text-shadow: 0px 0px 12px white;
}

.tab-btn.active {
    color: #fafafa;
}

/* Sliding active indicator */
.tab-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background-color: white;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.tab-panels {
    padding: 1rem;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tab-panel {
    display: none;
    width: 100%;
}

.tab-panel.active {
    display: block;
}

.tab-panel iframe {
    width: 100%;
    border: 0;
    border-radius: 8px;
    display: block;
}

/* 16:9 aspect ratio for video embeds like YouTube */
#youtube iframe {
    aspect-ratio: 16 / 9;
    height: auto;
    min-width: 400px;
}

/* Authentic Grunge 2-Click Consent Placeholder */
.embed-consent-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px dashed #27272a;
    border-radius: 4px;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.65rem;
    backdrop-filter: blur(6px);
    transition: border-color 0.25s ease, background 0.25s ease;
}

.embed-consent-card:hover {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(8, 8, 12, 0.85);
}

.consent-track-title {
    font-size: 1.25rem;
    color: #ffffff;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.consent-service-tag {
    font-size: 0.75rem;
    color: #71717a;
    font-family: monospace;
    letter-spacing: 0.08em;
    text-transform: lowercase;
}

.consent-text {
    font-size: 0.78rem;
    color: #71717a;
    line-height: 1.45;
    max-width: 420px;
    margin: 0.2rem 0 0.5rem 0;
}

.consent-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.btn-load-embed {
    background: transparent;
    border: 1px solid var(--accent);
    color: #ffffff;
    padding: 0.5rem 1.4rem;
    border-radius: 4px;
    font-size: 0.88rem;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.btn-load-embed:hover {
    background: #ffffff;
    color: #000000;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 15px var(--accent-glow);
    transform: translateY(-1px);
}

/* Custom styled grunge-minimalist checkbox */
.consent-remember-label {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    color: #71717a;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}

.consent-remember-label:hover {
    color: #d4d4d8;
}

.consent-remember-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background-color: #000000;
    border: 1px solid #3f3f46;
    border-radius: 2px;
    cursor: pointer;
    display: grid;
    place-content: center;
    transition: all 0.2s ease;
    margin: 0;
    position: relative;
}

.consent-remember-label input[type="checkbox"]:hover {
    border-color: #ffffff;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

.consent-remember-label input[type="checkbox"]:focus-visible {
    outline: 1px solid #ffffff;
    outline-offset: 2px;
}

.consent-remember-label input[type="checkbox"]:checked {
    background-color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.consent-remember-label input[type="checkbox"]::before {
    content: "";
    width: 8px;
    height: 8px;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    transform: scale(0);
    transition: transform 0.15s ease-in-out;
    background-color: #000000;
}

.consent-remember-label input[type="checkbox"]:checked::before {
    transform: scale(1);
}

@media screen and (max-width: 600px) {
    #youtube iframe {
        min-width: 100%;
    }
    .embed-consent-card {
        padding: 1.25rem 0.75rem;
    }
}