:root {
    --primary-color: #28a745; /* Green for Yes */
    --secondary-color: #555555; /* Gray for No */
    --text-light: #fff;
    --text-dark: #333;
    --overlay-dark: rgba(0, 0, 0, 0.85);
    --modal-bg: #f5f5f5;
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    overflow: hidden;
    background: #000;
    height: 100%;
}

html {
    height: 100%;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
}

.background-embed {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
    filter: brightness(1.1) contrast(1.05) saturate(1.1);
    transition: filter .8s ease-in-out;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .2) 50%, rgba(0, 0, 0, .3) 100%);
    z-index: 2;
    transition: background .8s ease-in-out;
}

.loading-indicator {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    opacity: 1;
    visibility: visible;
    transition: var(--transition);
    text-align: center;
    color: var(--text-light);
}

.loading-indicator.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, .3);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.age-gate-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.85); /* Proper dark overlay */
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.age-gate-modal:not(.hidden) {
    opacity: 1;
    visibility: visible;
}

.age-gate-modal:not(.hidden) .background-embed {
    filter: brightness(.3) contrast(.5) saturate(.5) blur(5px); /* Stronger blur */
}

.modal-content {
    background: #f0f0f0; /* Light gray bg */
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transform: scale(.9);
    transition: var(--transition);
}

.age-gate-modal:not(.hidden) .modal-content {
    transform: scale(1);
}

.modal-title {
    color: #333;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.modal-text {
    color: #e74c3c; /* Red warning text */
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.modal-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons */
    gap: 15px;
    align-items: center;
    width: 100%;
}

.btn {
    padding: 14px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    max-width: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* YES BUTTON (Green) */
.btn-primary {
    background: #4caf50;
    color: white;
    box-shadow: 0 4px 6px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    background: #43a047;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(76, 175, 80, 0.4);
}

/* NO BUTTON (Gray) */
.btn-secondary {
    background: #757575; /* Gray */
    color: white;
}

.btn-secondary:hover {
    background: #616161;
    transform: translateY(-2px);
}

.hidden {
    display: none !important;
}
