/* ==========================================================================
   Ziro YKS OS — Apple iOS 18 & macOS Sequoia OLED Design System
   Proje Sahibi ve Yazar: eyupxrd
   ========================================================================== */

:root {
    --bg-oled: #000000;
    --surface-glass: rgba(28, 28, 30, 0.72);
    --surface-elevated: rgba(44, 44, 46, 0.78);
    --border-glass: rgba(255, 255, 255, 0.12);
    --border-highlight: rgba(255, 255, 255, 0.24);

    --text-primary: #F5F5F7;
    --text-secondary: #86868B;
    --text-muted: #636366;

    --apple-blue: #0A84FF;
    --apple-blue-glow: rgba(10, 132, 255, 0.38);
    --apple-indigo: #5E5CE6;
    --apple-green: #30D158;
    --apple-orange: #FF9F0A;
    --apple-red: #FF453A;
    --apple-purple: #BF5AF2;
    --apple-cyan: #64D2FF;
    --apple-yellow: #FFD60A;

    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-pill: 9999px;

    --transition-smooth: all 0.28s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-spring: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    --font-apple: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    background-color: var(--bg-oled);
    color: var(--text-primary);
    font-family: var(--font-apple);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* OLED Arka Plan Ambiyans Işıkları */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(135px);
    opacity: 0.13;
    pointer-events: none;
    z-index: 0;
}

.ambient-glow.glow-1 {
    width: 440px;
    height: 440px;
    background: var(--apple-blue);
    top: -150px;
    left: -120px;
}

.ambient-glow.glow-2 {
    width: 400px;
    height: 400px;
    background: var(--apple-indigo);
    bottom: -140px;
    right: -100px;
}

/* Ortak Glassmorphism Kart Yapısı */
.glass-card {
    background: var(--surface-glass);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-lg);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.72), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
}

/* ==========================================================================
   1. iOS DYNAMIC ISLAND (ÜST CANLI ADA & BİLDİRİM SİSTEMİ)
   ========================================================================== */
.dynamic-island-wrapper {
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    z-index: 4500;
    display: flex;
    justify-content: center;
    pointer-events: none;
    padding: 0 14px;
}

.dynamic-island {
    pointer-events: auto;
    background: rgba(14, 14, 16, 0.94);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 36px;
    padding: 8px 18px;
    min-width: 220px;
    max-width: 440px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
    transition: var(--transition-spring);
    overflow: hidden;
}

.island-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.island-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--apple-green);
    box-shadow: 0 0 10px var(--apple-green);
    flex-shrink: 0;
}

.island-expanded {
    display: none;
    align-items: center;
    gap: 13px;
    padding: 6px 2px;
}

.dynamic-island.expanded {
    padding: 14px 18px;
    border-radius: 26px;
    width: 100%;
    max-width: 430px;
    border-color: rgba(255, 255, 255, 0.28);
}

.dynamic-island.expanded .island-compact {
    display: none;
}

.dynamic-island.expanded .island-expanded {
    display: flex;
}

.island-notif-icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--apple-yellow), var(--apple-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.island-notif-body {
    flex: 1;
    min-width: 0;
}

.island-notif-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 2px;
}

.island-notif-header strong {
    font-size: 0.9rem;
    color: var(--text-primary);
}

.island-notif-header span {
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.island-notif-body p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

.island-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-secondary);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
}

/* ==========================================================================
   2. iOS KİLİT EKRANI (YETKİLENDİRME)
   ========================================================================== */
.auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.94);
    backdrop-filter: blur(26px);
    -webkit-backdrop-filter: blur(26px);
    z-index: 3500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.auth-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.auth-container {
    width: 100%;
    max-width: 460px;
    padding: 36px 28px;
    text-align: center;
}

.ios-lock-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.auth-brand-badge {
    display: inline-block;
    padding: 5px 13px;
    border-radius: var(--radius-pill);
    background: rgba(10, 132, 255, 0.14);
    border: 1px solid rgba(10, 132, 255, 0.35);
    color: var(--apple-blue);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.auth-title {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.auth-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.profile-card {
    padding: 18px 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.profile-card.selected {
    background: rgba(10, 132, 255, 0.15);
    border-color: var(--apple-blue);
    box-shadow: 0 0 24px rgba(10, 132, 255, 0.22);
}

.profile-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0A84FF, #5E5CE6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.profile-card[data-username="arda"] .profile-avatar {
    background: linear-gradient(135deg, #30D158, #0A84FF);
}

.profile-name {
    font-size: 1rem;
    font-weight: 600;
}

.profile-goal {
    font-size: 0.74rem;
    color: var(--text-secondary);
}

.pin-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pin-input-wrapper {
    width: 100%;
    max-width: 260px;
}

.pin-input {
    width: 100%;
    padding: 14px;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.4em;
    text-align: center;
    outline: none;
}

.pin-input:focus {
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.22);
}

.auth-error {
    color: var(--apple-red);
    font-size: 0.82rem;
    min-height: 18px;
}

/* ==========================================================================
   3. macOS / iPadOS ÜST SİSTEM ÇUBUĞU (TOPBAR & SEKMELER)
   ========================================================================== */
.os-topbar {
    position: sticky;
    top: 52px;
    z-index: 100;
    max-width: 1120px;
    margin: 54px auto 0;
    padding: 10px 18px;
    background: rgba(24, 24, 26, 0.75);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.os-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.os-traffic-lights {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-right: 4px;
}

.os-traffic-lights .tl {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.tl.red { background: #FF5F56; }
.tl.yellow { background: #FFBD2E; }
.tl.green { background: #27C93F; }

.os-app-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--apple-blue), var(--apple-indigo));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
}

.os-app-title h1 {
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.1;
}

.os-app-title span {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* Masaüstü Segmented Tabs */
.os-desktop-tabs {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.45);
    padding: 4px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.os-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-apple);
    font-size: 0.84rem;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: var(--transition-smooth);
}

.os-tab-btn:hover {
    color: var(--text-primary);
}

.os-tab-btn.active {
    background: rgba(255, 255, 255, 0.13);
    color: var(--text-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 6px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.user-chip:hover {
    background: rgba(255, 255, 255, 0.12);
}

.user-chip-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--apple-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
}

/* ==========================================================================
   4. UYGULAMA SAHNESİ VE SEKMELER (OS-TAB-PANE)
   ========================================================================== */
.os-app-stage {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 22px auto 110px;
    padding: 0 16px;
}

.os-tab-pane {
    display: none;
    animation: iosPaneIn 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.os-tab-pane.active {
    display: block;
}

@keyframes iosPaneIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Rozet ve Butonlar */
.ios-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
}

.ios-pill-badge.green {
    background: rgba(48, 209, 88, 0.14);
    border: 1px solid rgba(48, 209, 88, 0.35);
    color: var(--apple-green);
}

.ios-pill-badge.blue {
    background: rgba(10, 132, 255, 0.14);
    border: 1px solid rgba(10, 132, 255, 0.35);
    color: var(--apple-cyan);
}

.btn-ios {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: var(--radius-pill);
    font-family: var(--font-apple);
    font-size: 0.92rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-large {
    padding: 15px 30px;
    font-size: 1rem;
}

.btn-primary {
    background: var(--apple-blue);
    color: #fff;
    box-shadow: 0 8px 24px var(--apple-blue-glow);
}

.btn-primary:hover {
    background: #2090ff;
    transform: translateY(-1px);
}

.btn-warning {
    background: linear-gradient(135deg, #FFD60A, #FF9F0A);
    color: #000;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(255, 159, 10, 0.32);
}

.btn-warning:hover {
    transform: translateY(-1px) scale(1.02);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid var(--border-highlight);
}

.btn-success {
    background: var(--apple-green);
    color: #000;
    font-weight: 700;
}

.btn-danger {
    background: rgba(255, 69, 58, 0.2);
    color: var(--apple-red);
    border: 1px solid rgba(255, 69, 58, 0.4);
}

.ios-select,
.ios-input {
    width: 100%;
    padding: 13px 16px;
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    font-family: var(--font-apple);
    font-size: 0.94rem;
    outline: none;
    transition: var(--transition-smooth);
}

.ios-select:focus,
.ios-input:focus {
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.2);
}

.ios-select option {
    background: #161618;
    color: var(--text-primary);
}

/* ==========================================================================
   SEKME 1: ODAK & POMODORO LAUNCHPAD
   ========================================================================== */
.focus-launchpad {
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 26px;
}

.launchpad-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.ios-segmented {
    display: inline-flex;
    background: rgba(0, 0, 0, 0.55);
    padding: 4px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-glass);
}

.seg-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-apple);
    font-size: 0.83rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.seg-btn.active {
    background: var(--apple-blue);
    color: #fff;
    box-shadow: 0 4px 14px rgba(10, 132, 255, 0.35);
}

.launchpad-clock-preview {
    padding: 14px 0;
}

.preview-mode-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--apple-cyan);
    margin-bottom: 6px;
}

.preview-digits {
    font-size: clamp(4.2rem, 12vw, 7.2rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: var(--text-primary);
}

.preview-subtext {
    margin-top: 12px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 500px;
}

.launchpad-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 560px;
}

.launchpad-controls .ios-select {
    max-width: 240px;
}

.ios-widget-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-glass);
}

.ios-mini-widget {
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.w-label {
    font-size: 0.76rem;
    color: var(--text-secondary);
}

.w-val {
    font-size: 1.25rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.w-val.cyan {
    color: var(--apple-cyan);
}

/* ==========================================================================
   SEKME 2: LİDERLİK TABLOSU
   ========================================================================== */
.pane-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.pane-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.pane-header p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.leaderboard-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.competitor-card {
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.competitor-card.leader {
    border-color: rgba(10, 132, 255, 0.5);
}

.competitor-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.competitor-identity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.competitor-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--apple-blue), var(--apple-indigo));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.competitor-avatar.arda {
    background: linear-gradient(135deg, var(--apple-green), var(--apple-blue));
}

.competitor-name {
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.competitor-sub {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.rank-pill {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--apple-blue);
}

.rank-pill.muted {
    color: var(--text-secondary);
}

.live-focus-pill {
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: rgba(48, 209, 88, 0.16);
    border: 1px solid rgba(48, 209, 88, 0.4);
    color: var(--apple-green);
    font-size: 0.7rem;
    font-weight: 600;
}

.metric-block {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.metric-label {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.metric-value {
    font-size: 1.1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.progress-track {
    width: 100%;
    height: 10px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: var(--radius-pill);
    width: 0%;
    transition: width 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-fill.questions-bar {
    background: linear-gradient(90deg, var(--apple-blue), var(--apple-cyan));
}

.progress-fill.time-bar {
    background: linear-gradient(90deg, var(--apple-purple), var(--apple-indigo));
}

.competitor-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--border-glass);
    text-align: center;
}

.mini-stat span {
    display: block;
    font-size: 0.72rem;
    color: var(--text-secondary);
}

.mini-stat strong {
    font-size: 0.95rem;
    font-weight: 700;
}

/* ==========================================================================
   SEKME 3: MANUEL SORU GİRİŞİ & KAYITLAR
   ========================================================================== */
.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 20px;
}

.section-pad {
    padding: 26px;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.dyb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.logs-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 430px;
    overflow-y: auto;
}

.log-item {
    padding: 13px 15px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.log-left {
    display: flex;
    align-items: center;
    gap: 11px;
}

.subject-dot {
    width: 8px;
    height: 34px;
    border-radius: 6px;
    background: var(--apple-blue);
    flex-shrink: 0;
}

.log-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.log-meta {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.source-badge {
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
}

.source-badge.ziro {
    background: rgba(10, 132, 255, 0.2);
    color: var(--apple-cyan);
}

.source-badge.manual {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
}

.log-count-pill {
    text-align: right;
    flex-shrink: 0;
}

.log-count-pill strong {
    font-size: 1.05rem;
    display: block;
}

.log-count-pill span {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   SEKME 4: NAMAZ VAKİTLERİ (KOCAELİ / KÖRFEZ)
   ========================================================================== */
.next-prayer-hero {
    padding: 22px 26px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(10, 132, 255, 0.18), rgba(94, 92, 230, 0.14));
    border: 1px solid rgba(10, 132, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
}

.np-caption {
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--apple-cyan);
}

.next-prayer-hero h3 {
    font-size: 1.65rem;
    font-weight: 700;
    margin-top: 2px;
}

.np-countdown {
    font-size: 2.3rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
}

.prayer-times-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.prayer-slot {
    padding: 18px 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.prayer-slot.active {
    background: rgba(48, 209, 88, 0.15);
    border-color: var(--apple-green);
    box-shadow: 0 0 22px rgba(48, 209, 88, 0.2);
}

.slot-icon {
    font-size: 1.35rem;
}

.slot-name {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.slot-time {
    font-size: 1.15rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

/* ==========================================================================
   SEKME 5: ZİRO YAPAY ZEKA SOHBET SAYFASI
   ========================================================================== */
.ziro-page-card {
    height: 600px;
    max-height: calc(100dvh - 210px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ziro-header {
    padding: 18px 22px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ziro-agent-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ziro-orb {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #64D2FF, #0A84FF, #5E5CE6);
    box-shadow: 0 0 18px rgba(10, 132, 255, 0.65);
}

.ziro-agent-info h3 {
    font-size: 1.02rem;
    font-weight: 700;
}

.ziro-agent-info span {
    font-size: 0.76rem;
    color: var(--text-secondary);
}

.ziro-messages {
    flex: 1;
    padding: 18px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ziro-msg {
    max-width: 82%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.92rem;
    line-height: 1.45;
}

.ziro-msg.bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-glass);
    border-bottom-left-radius: 5px;
}

.ziro-msg.user {
    align-self: flex-end;
    background: var(--apple-blue);
    color: #fff;
    border-bottom-right-radius: 5px;
}

.ziro-parsed-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.ziro-parsed-tag {
    padding: 4px 10px;
    border-radius: 8px;
    background: rgba(48, 209, 88, 0.16);
    border: 1px solid rgba(48, 209, 88, 0.35);
    color: var(--apple-green);
    font-size: 0.76rem;
    font-weight: 600;
}

.ziro-quick-chips {
    padding: 10px 16px;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ziro-quick-chips::-webkit-scrollbar {
    height: 0;
}

.ziro-chip {
    white-space: nowrap;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-size: 0.76rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.ziro-chip:hover {
    background: rgba(10, 132, 255, 0.16);
    color: var(--text-primary);
    border-color: var(--apple-blue);
}

.ziro-input-area {
    padding: 14px 16px;
    border-top: 1px solid var(--border-glass);
    display: flex;
    gap: 10px;
    background: rgba(0, 0, 0, 0.5);
}

.ziro-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-pill);
    padding: 12px 18px;
    color: var(--text-primary);
    font-family: var(--font-apple);
    font-size: 0.92rem;
    outline: none;
}

.ziro-input:focus {
    border-color: var(--apple-blue);
}

.ziro-send-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--apple-blue);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* ==========================================================================
   5. TAM EKRAN ODAK MODU — YAZISIZ SAF SAYAÇ + GİZLİ ALT DOCK
   ========================================================================== */
.focus-fullscreen-overlay {
    position: fixed;
    inset: 0;
    background: #000000;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease-in-out, visibility 0.35s ease-in-out;
    user-select: none;
}

.focus-fullscreen-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.focus-giant-timer {
    font-family: var(--font-apple);
    font-size: clamp(5.2rem, 21vw, 16.5rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    font-variant-numeric: tabular-nums;
    color: var(--text-primary);
    line-height: 1;
    transition: transform 0.35s ease, opacity 0.35s ease, color 0.35s ease;
}

.focus-giant-timer.is-paused {
    opacity: 0.35;
    transform: scale(0.96);
}

.focus-giant-timer.is-break {
    color: var(--apple-green);
}

/* Fare en alta kaydırıldığında (veya telefonda dokunulduğunda) beliren dock */
.focus-bottom-sensor {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: max(26px, env(safe-area-inset-bottom));
}

.focus-control-dock {
    padding: 12px 20px;
    border-radius: var(--radius-pill);
    background: rgba(28, 28, 30, 0.78);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-highlight);
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
    transform: translateY(140%);
    opacity: 0;
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.32s ease;
}

.focus-bottom-sensor:hover .focus-control-dock,
.focus-control-dock.force-visible {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   6. iOS MOBİL ALT SEKME ÇUBUĞU (TELEFON DESTEĞİ)
   ========================================================================== */
.ios-bottom-tabbar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: rgba(18, 18, 20, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
}

.ios-tab-item {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-apple);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 4px 10px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.ios-tab-item.active {
    color: var(--apple-blue);
}

.ios-tab-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.ios-tab-label {
    font-size: 0.68rem;
    font-weight: 600;
}

/* ==========================================================================
   7. TELEFON VE TABLET RESPONSIVE KURALLARI
   ========================================================================== */
@media (max-width: 860px) {
    .os-desktop-tabs,
    .os-traffic-lights {
        display: none;
    }

    .ios-bottom-tabbar {
        display: flex;
    }

    .os-topbar {
        margin: 52px 12px 0;
        padding: 10px 14px;
    }

    .os-app-stage {
        margin-top: 14px;
        margin-bottom: 100px;
        padding: 0 12px;
    }

    .focus-launchpad {
        padding: 22px 16px;
    }

    .launchpad-top {
        flex-direction: column;
        align-items: center;
    }

    .launchpad-controls {
        flex-direction: column;
    }

    .launchpad-controls .ios-select,
    .launchpad-controls .btn-ios {
        width: 100%;
        max-width: 100%;
    }

    .ios-widget-row,
    .leaderboard-grid,
    .dual-grid {
        grid-template-columns: 1fr;
    }

    .prayer-times-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .focus-control-dock {
        padding: 10px 14px;
        gap: 8px;
    }

    .focus-control-dock .btn-ios {
        padding: 11px 14px;
        font-size: 0.82rem;
    }
}
