/* ============================================
   Camera Notice Modal — OyunAI
   ============================================ */

#camera-notice-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 16, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: cn-fade-in 0.4s ease-out;
}

@keyframes cn-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

#camera-notice-card {
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(0, 204, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    max-width: 440px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.6),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        0 0 60px rgba(0, 204, 255, 0.06);
    animation: cn-slide-up 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: 'Outfit', sans-serif;
}

@keyframes cn-slide-up {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0)   scale(1);    }
}

#camera-notice-icon {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    display: inline-block;
    animation: cn-pulse 2.5s ease-in-out infinite;
}

@keyframes cn-pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.1); }
}

#camera-notice-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    background: linear-gradient(135deg, #00ccff, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#camera-notice-subtitle {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 1.2rem;
}

.cn-checks {
    list-style: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cn-checks li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2e8f0;
    font-size: 0.8rem;
}

.cn-checks li::before {
    content: '✅';
    font-size: 0.9rem;
    flex-shrink: 0;
}

#camera-notice-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 50px;
    padding: 0.25rem 0.8rem;
    font-size: 0.72rem;
    color: #60a5fa;
    font-weight: 600;
    margin-bottom: 1.2rem;
    letter-spacing: 0.2px;
}

#camera-notice-btn {
    width: 100%;
    background: linear-gradient(135deg, #00ccff, #8b5cf6);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.9rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 204, 255, 0.25);
    letter-spacing: 0.3px;
}

#camera-notice-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(0, 204, 255, 0.45);
}

#camera-notice-btn:active:not(:disabled) {
    transform: translateY(0);
}

#camera-notice-btn:disabled {
    background: rgba(100, 116, 139, 0.3);
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.5;
}

/* ── Yaş Beyanı Checkbox ── */
#cn-age-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    cursor: pointer;
    margin-bottom: 1.2rem;
    padding: 0.85rem 1rem;
    background: rgba(0, 204, 255, 0.05);
    border: 1px solid rgba(0, 204, 255, 0.15);
    border-radius: 10px;
    transition: border-color 0.25s, background 0.25s;
}

#cn-age-label:has(input:checked) {
    border-color: rgba(0, 204, 255, 0.4);
    background: rgba(0, 204, 255, 0.08);
}

#cn-age-check {
    appearance: none;
    -webkit-appearance: none;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 204, 255, 0.4);
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    margin-top: 2px;
    transition: all 0.2s ease;
    position: relative;
}

#cn-age-check:checked {
    background: linear-gradient(135deg, #00ccff, #8b5cf6);
    border-color: transparent;
}

#cn-age-check:checked::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

#cn-age-text {
    color: #cbd5e1;
    font-size: 0.88rem;
    line-height: 1.5;
}

#cn-age-text strong {
    color: #e2e8f0;
}

/* ── Modal Alt Notu ─────────────────────────────────────────────────── */
.cn-footnote {
    margin-top: 1rem;
    font-size: 0.72rem;
    color: #475569;
    line-height: 1.5;
    text-align: center;
}

.cn-footnote a {
    color: #60a5fa;
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.cn-footnote a:hover { opacity: 1; }

/* ── Kamera Aktif Badge ──────────────────────────────────────────────── */
#cn-active-badge {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 9998;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(10, 14, 30, 0.88);
    border: 1px solid rgba(0, 204, 255, 0.25);
    border-radius: 50px;
    padding: 0.35rem 0.6rem 0.35rem 0.75rem;
    backdrop-filter: blur(12px);
    font-family: 'Outfit', sans-serif;
    font-size: 0.78rem;
    color: #e2e8f0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    animation: cn-badge-in 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes cn-badge-in {
    from { opacity: 0; transform: translateY(-12px) scale(0.9); }
    to   { opacity: 1; transform: translateY(0)     scale(1);   }
}

#cn-active-badge.cn-badge-hide {
    animation: cn-badge-out 0.35s ease-in forwards;
}

@keyframes cn-badge-out {
    from { opacity: 1; transform: translateY(0)     scale(1);   }
    to   { opacity: 0; transform: translateY(-12px) scale(0.9); }
}

#cn-active-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
    animation: cn-dot-pulse 1.8s ease-in-out infinite;
}

@keyframes cn-dot-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.5); }
    50%       { opacity: 0.7; box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

#cn-active-label {
    font-weight: 600;
    letter-spacing: 0.2px;
}

#cn-active-stop {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    border-radius: 50px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 0.2rem;
    font-family: inherit;
}

#cn-active-stop:hover {
    background: rgba(239, 68, 68, 0.35);
    border-color: rgba(239, 68, 68, 0.6);
    color: #fff;
}
