:root {
    --bg-primary: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-card: #16213e;
    --bg-card-hover: #1a2744;
    --green-primary: #1abc9c;
    --green-dark: #16a085;
    --gold: #f1c40f;
    --gold-light: #f4d03f;
    --text-primary: #ecf0f1;
    --text-secondary: #95a5a6;
    --text-muted: #7f8c8d;
    --border-color: #2c3e50;
    --danger: #e74c3c;
    --success: #27ae60;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-user-select: none;
    user-select: none;
}

.arabic-text {
    font-family: 'Amiri', serif;
    font-size: 1.4rem;
    line-height: 2.2;
    direction: rtl;
    text-align: right;
    color: var(--gold-light);
}

.app-container {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--bg-primary);
}

/* ===== HEADER ===== */
.app-header {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, #0e3d30 100%);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-primary);
    text-align: center;
}

.header-icon {
    color: var(--gold);
    font-size: 1.3rem;
}

.btn-back {
    color: var(--green-primary);
    text-decoration: none;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}

/* ===== MAIN CONTENT ===== */
.app-content {
    flex: 1;
    padding: 16px;
    padding-bottom: 80px;
    overflow-y: auto;
}

/* ===== BOTTOM NAVIGATION ===== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-around;
    padding: 6px 0;
    z-index: 100;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.65rem;
    padding: 4px 8px;
    transition: color 0.2s;
}

.bottom-nav .nav-item i {
    font-size: 1.3rem;
    margin-bottom: 2px;
}

.bottom-nav .nav-item.active,
.bottom-nav .nav-item:hover {
    color: var(--green-primary);
}

/* ===== CARDS ===== */
.feature-card {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 12px;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: background 0.2s, transform 0.15s;
    border: 1px solid transparent;
}

.feature-card:hover,
.feature-card:active {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    transform: scale(0.98);
    border-color: var(--green-primary);
}

.feature-card .icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-card .card-info h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.feature-card .card-info p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0;
}

.icon-green { background: rgba(26,188,156,0.15); color: var(--green-primary); }
.icon-gold { background: rgba(241,196,15,0.15); color: var(--gold); }
.icon-blue { background: rgba(52,152,219,0.15); color: #3498db; }
.icon-purple { background: rgba(155,89,182,0.15); color: #9b59b6; }
.icon-red { background: rgba(231,76,60,0.15); color: var(--danger); }
.icon-teal { background: rgba(22,160,133,0.15); color: var(--green-dark); }

/* ===== DAILY CONTENT BOX ===== */
.daily-box {
    background: linear-gradient(135deg, #0e3d30 0%, var(--bg-card) 100%);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(26,188,156,0.2);
}

.daily-box .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--green-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.daily-box .source {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.daily-box .turkish-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-primary);
}

/* ===== LIST ITEMS ===== */
.list-card {
    background: var(--bg-card);
    border-radius: 12px;
    margin-bottom: 8px;
    overflow: hidden;
}

.list-card a,
.list-card .list-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: background 0.2s;
    gap: 12px;
}

.list-card a:hover,
.list-card a:active {
    background: var(--bg-card-hover);
}

.list-card .item-number {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(26,188,156,0.1);
    color: var(--green-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
    flex-shrink: 0;
}

.list-card .item-content {
    flex: 1;
    min-width: 0;
}

.list-card .item-title {
    font-size: 0.9rem;
    font-weight: 500;
}

.list-card .item-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.list-card .item-arrow {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== SURAH DETAIL ===== */
.ayet-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 10px;
    border-left: 3px solid var(--green-primary);
}

.ayet-card .ayet-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--green-primary);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.ayet-card .meal-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 10px;
}

/* ===== SEARCH BAR ===== */
.search-bar {
    position: relative;
    margin-bottom: 16px;
}

.search-bar input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px 12px 42px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar input:focus {
    border-color: var(--green-primary);
}

.search-bar .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* ===== PRAYER TIMES ===== */
.prayer-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.prayer-card.active-prayer {
    background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
    color: #fff;
}

.prayer-card .prayer-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.prayer-card .prayer-time {
    font-size: 1.1rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.prayer-countdown {
    text-align: center;
    padding: 24px;
    background: linear-gradient(135deg, #0e3d30 0%, var(--bg-card) 100%);
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(26,188,156,0.2);
}

.prayer-countdown .countdown-label {
    font-size: 0.75rem;
    color: var(--green-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.prayer-countdown .countdown-time {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
    margin: 8px 0;
}

.prayer-countdown .countdown-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ===== TASBIH ===== */
.tasbih-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
}

/* Tespih Türü Grid */
.tasbih-type-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
}

.tasbih-type-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.tasbih-type-card.active {
    border-color: var(--gold);
    background: var(--bg-card-hover);
}

.tasbih-type-card:active {
    transform: scale(0.96);
}

.tasbih-type-name {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-top: 6px;
    font-weight: 500;
}

.tasbih-type-card.active .tasbih-type-name {
    color: var(--gold);
}

/* Tespih önizleme boncukları */
.tasbih-preview {
    display: flex;
    justify-content: center;
    gap: 4px;
    align-items: center;
}

.tasbih-preview .bead {
    width: 16px;
    height: 20px;
    border-radius: 50%;
    display: block;
    position: relative;
}

.tasbih-preview .bead.mid {
    width: 12px;
    height: 14px;
    opacity: 0.7;
}

.kehribar-preview .bead {
    background: radial-gradient(circle at 30% 28%, #ffe08a, #f5c842, #d4920b, #8b5e0b);
    box-shadow: 0 1px 4px rgba(212,146,11,0.5);
}
.agac-preview .bead {
    background: radial-gradient(circle at 30% 28%, #c4a882, #a07850, #6d4c2a, #3e2b15);
    box-shadow: 0 1px 4px rgba(109,76,42,0.5);
}
.sedef-preview .bead {
    background: radial-gradient(circle at 30% 28%, #fff, #fff8f0, #e8ddd0, #b8a898);
    box-shadow: 0 1px 4px rgba(232,221,208,0.5);
}
.firuze-preview .bead {
    background: radial-gradient(circle at 30% 28%, #a8ebe6, #7dd8d2, #40b5ad, #1f7a74);
    box-shadow: 0 1px 4px rgba(64,181,173,0.5);
}
.oltu-preview .bead {
    background: radial-gradient(circle at 30% 28%, #666, #4a4a4a, #2c2c2c, #111);
    box-shadow: 0 1px 4px rgba(44,44,44,0.5);
}
.yakut-preview .bead {
    background: radial-gradient(circle at 30% 28%, #ff6b88, #e63956, #b71c3a, #7a0f26);
    box-shadow: 0 1px 4px rgba(183,28,58,0.5);
}
.zumrut-preview .bead {
    background: radial-gradient(circle at 30% 28%, #7ddf9c, #50c878, #2e8b57, #1a5a35);
    box-shadow: 0 1px 4px rgba(46,139,87,0.5);
}
.akik-preview .bead {
    background: radial-gradient(circle at 30% 28%, #f09080, #e06850, #c44030, #8a2018);
    box-shadow: 0 1px 4px rgba(196,64,48,0.5);
}
.altin-preview .bead {
    background: radial-gradient(circle at 30% 28%, #fff2a0, #ffe066, #d4a017, #8a6a0a);
    box-shadow: 0 1px 4px rgba(212,160,23,0.5);
}
.lapis-preview .bead {
    background: radial-gradient(circle at 30% 28%, #5080d0, #3060b8, #1a3a7a, #0e1e4a);
    box-shadow: 0 1px 4px rgba(26,58,122,0.5);
}
.gumus-preview .bead {
    background: radial-gradient(circle at 30% 28%, #e8ecf0, #d0d4d8, #a0a8b0, #606870);
    box-shadow: 0 1px 4px rgba(160,168,176,0.5);
}
.mercan-preview .bead {
    background: radial-gradient(circle at 30% 28%, #ffa898, #f08070, #e05040, #a02818);
    box-shadow: 0 1px 4px rgba(224,80,64,0.5);
}

/* Premium kartlar */
.premium-card {
    position: relative;
    opacity: 0.85;
}

.premium-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(241,196,15,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.premium-badge i {
    font-size: 0.6rem;
    color: var(--gold);
}

.tasbih-type-tag {
    font-size: 0.58rem;
    margin-top: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tasbih-type-tag.free {
    color: var(--green-primary);
}

.tasbih-type-tag.premium {
    color: var(--gold);
}

.tasbih-type-tag.unlocked {
    color: var(--success);
}

/* Premium Modal */
.premium-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.premium-modal {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 28px 24px;
    max-width: 340px;
    width: 100%;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.premium-preview-large {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 16px 0;
}

.premium-bead-large {
    width: 28px;
    height: 34px;
    border-radius: 50%;
}

.premium-buy-btn {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--gold), #d4a017);
    border: none;
    color: #1a1a2e;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    margin-bottom: 8px;
    transition: transform 0.1s;
}

.premium-buy-btn:active {
    transform: scale(0.97);
}

.premium-close-btn {
    width: 100%;
    padding: 10px;
    border-radius: 12px;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
}

/* İmame detayları */
.imame-tepelik {
    stroke-width: 1;
}

.imame-line {
    stroke-linecap: round;
}

.puskul-tip {
    stroke: none;
}

.tasbih-string.puskul {
    stroke-width: 1.2;
    opacity: 0.5;
}

.durak-bead {
    stroke-width: 1.5;
}

/* SVG Tespih Görseli */
.tasbih-visual {
    position: relative;
    width: 280px;
    height: 290px;
    margin: 0 auto 8px;
}

.tasbih-svg {
    width: 100%;
    height: 100%;
}

.tasbih-string {
    stroke: #8b7355;
    stroke-width: 1.5;
    opacity: 0.6;
}

.tasbih-bead {
    stroke-width: 1.5;
    transition: fill 0.2s, stroke 0.2s, transform 0.15s;
    filter: url(#beadShadow);
}

.tasbih-bead.bead-active {
    animation: beadPulse 0.3s ease-out;
}

@keyframes beadPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.imame-bead {
    stroke-width: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.tasbih-knot {
    fill: #8b7355;
}

.active-bead-glow {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 5;
}

/* Sayaç */
.tasbih-counter {
    font-size: 4rem;
    font-weight: 700;
    color: var(--gold);
    margin: 8px 0;
    font-variant-numeric: tabular-nums;
}

/* Ana Buton */
.tasbih-button {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 3px solid var(--border-color);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s, box-shadow 0.1s, border-color 0.2s;
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
    user-select: none;
    padding: 0;
}

.tasbih-button:hover {
    border-color: var(--gold);
}

.tasbih-button:active {
    transform: scale(0.93);
    box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

.tasbih-btn-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s;
}

.tasbih-btn-inner.bead-pull {
    animation: beadPullAnim 0.3s ease-out;
}

@keyframes beadPullAnim {
    0% { transform: scale(1) translateY(0); }
    30% { transform: scale(0.85) translateY(4px); }
    60% { transform: scale(1.15) translateY(-4px); }
    100% { transform: scale(1) translateY(0); }
}

.btn-bead {
    width: 74px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, #ffe08a, #f5c842 30%, #d4920b 60%, #8b5e0b);
    box-shadow: 0 6px 24px rgba(212,146,11,0.5), inset 0 -3px 6px #8b5e0b, inset 0 3px 6px #ffe08a;
    transition: background 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-bead-shine {
    position: absolute;
    top: 12%;
    left: 18%;
    width: 35%;
    height: 25%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.45) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Hedef */
.tasbih-target {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.tasbih-target .target-btn {
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.78rem;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
}

.tasbih-target .target-btn.active {
    background: var(--green-primary);
    color: #fff;
    border-color: var(--green-primary);
}

/* Kontroller */
.tasbih-controls {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.tasbih-controls button {
    padding: 8px 20px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
}

.tasbih-controls button:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
}

.tasbih-total {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 14px;
}

.tasbih-progress {
    width: 200px;
    height: 6px;
    background: var(--bg-card);
    border-radius: 3px;
    margin-top: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.tasbih-progress .bar {
    height: 100%;
    background: var(--green-primary);
    border-radius: 3px;
    transition: width 0.2s;
}

/* ===== ESMA GRID ===== */
.esma-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.esma-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
    transition: background 0.2s, transform 0.15s;
    border: 1px solid transparent;
}

.esma-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--gold);
    transform: scale(0.98);
}

.esma-card .esma-number {
    font-size: 0.65rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.esma-card .esma-arabic {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    color: var(--gold-light);
    margin-bottom: 4px;
}

.esma-card .esma-latin {
    font-size: 0.8rem;
    color: var(--green-primary);
    font-weight: 500;
    margin-bottom: 2px;
}

.esma-card .esma-meaning {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* ===== HADITH CARD ===== */
.hadith-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 10px;
    border-left: 3px solid var(--gold);
}

.hadith-card .hadith-source {
    font-size: 0.7rem;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.hadith-card .hadith-category {
    display: inline-block;
    background: rgba(26,188,156,0.1);
    color: var(--green-primary);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    margin-bottom: 8px;
}

.hadith-card .hadith-text {
    font-size: 0.88rem;
    line-height: 1.7;
}

/* ===== DUA CARD ===== */
.dua-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 10px;
}

.dua-card .dua-category {
    display: inline-block;
    background: rgba(155,89,182,0.1);
    color: #9b59b6;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    margin-bottom: 8px;
}

.dua-card .dua-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.dua-card .dua-okunusu {
    font-size: 0.82rem;
    color: var(--green-primary);
    font-style: italic;
    margin: 8px 0;
}

.dua-card .dua-anlami {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== CALENDAR ===== */
.calendar-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.calendar-card .cal-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(241,196,15,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.calendar-card .cal-icon i {
    font-size: 1.2rem;
    color: var(--gold);
}

.calendar-card .cal-info .cal-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.calendar-card .cal-info .cal-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-top: 2px;
}

.calendar-card .cal-date {
    font-size: 0.7rem;
    color: var(--gold);
    font-weight: 600;
    margin-left: auto;
    text-align: right;
    flex-shrink: 0;
}

/* ===== FILTER TABS ===== */
.filter-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 4px;
    scrollbar-width: none;
}

.filter-tabs::-webkit-scrollbar {
    display: none;
}

.filter-tabs .tab {
    padding: 6px 16px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.78rem;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
    text-decoration: none;
}

.filter-tabs .tab.active,
.filter-tabs .tab:hover {
    background: var(--green-primary);
    color: #fff;
    border-color: var(--green-primary);
}

/* ===== CITY SELECT ===== */
.city-select {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    margin-bottom: 16px;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2395a5a6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.city-select:focus {
    border-color: var(--green-primary);
}

/* ===== NOTIFICATION BUTTON ===== */
.notif-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.2s;
}

.notif-toggle-btn i {
    font-size: 1.1rem;
}

.notif-toggle-btn.active {
    background: rgba(26,188,156,0.15);
    border-color: var(--green-primary);
    color: var(--green-primary);
}

/* ===== SECTION TITLE ===== */
.section-title {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 600;
}

/* ===== LOADING ===== */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.loading-spinner::after {
    content: '';
    width: 36px;
    height: 36px;
    border: 3px solid var(--border-color);
    border-top-color: var(--green-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 12px;
    display: block;
}

.empty-state p {
    font-size: 0.85rem;
}

/* ===== VIBRATION ANIMATION ===== */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 0.15s ease;
}

/* ===== QIBLA COMPASS ===== */
.qibla-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qibla-container > * {
    width: 100%;
}

.qibla-degree {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.qibla-degree .degree-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
}

.qibla-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 16px 0;
}

.qibla-info-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 14px;
    text-align: center;
}

.qibla-info-card i {
    font-size: 1.2rem;
    margin-bottom: 6px;
    display: block;
}

.qibla-info-card .info-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.qibla-info-card .info-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== STONING (SEYTAN TASLAMA) ===== */
.stoning-container {
    padding-bottom: 16px;
}

.cemre-selector {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.cemre-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Poppins', sans-serif;
}

.cemre-tab.active {
    background: var(--bg-card-hover);
    border-color: var(--green-primary);
    color: var(--text-primary);
}

.cemre-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cemre-name {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.cemre-arabic {
    text-align: center;
    font-family: 'Amiri', serif;
    font-size: 1.3rem;
    color: var(--gold-light);
    margin-bottom: 16px;
}

.stoning-pillar-area {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
}

.stoning-pillar {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    --pillar-color: #e74c3c;
}

.pillar-top {
    width: 40px;
    height: 8px;
    background: var(--pillar-color);
    border-radius: 4px 4px 0 0;
    box-shadow: 0 0 12px rgba(231,76,60,0.3);
}

.pillar-column {
    width: 20px;
    height: 80px;
    background: linear-gradient(180deg, var(--pillar-color), color-mix(in srgb, var(--pillar-color) 60%, #000));
    box-shadow: 0 0 20px rgba(231,76,60,0.2);
}

.pillar-base {
    width: 60px;
    height: 12px;
    background: var(--border-color);
    border-radius: 0 0 6px 6px;
}

.pillar-stones {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.thrown-stone {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle at 30% 30%, #bdc3c7, #7f8c8d);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: stoneDrop 0.3s ease-out forwards;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

@keyframes stoneDrop {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3); }
    60% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.hit-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
}

.hit-effect.hit-anim {
    animation: hitBurst 0.4s ease-out;
}

@keyframes hitBurst {
    0% { box-shadow: 0 0 0 0 rgba(241,196,15,0.6); }
    100% { box-shadow: 0 0 0 40px rgba(241,196,15,0); }
}

.stoning-counter {
    text-align: center;
    margin-bottom: 8px;
}

.stone-count {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
}

.stone-separator {
    font-size: 2rem;
    color: var(--text-muted);
    margin: 0 4px;
}

.stone-total {
    font-size: 2rem;
    color: var(--text-muted);
    font-weight: 600;
}

.stoning-tekbir {
    text-align: center;
    font-family: 'Amiri', serif;
    font-size: 1.4rem;
    color: var(--gold-light);
    margin-bottom: 2px;
    transition: opacity 0.3s;
    min-height: 2rem;
}

.stoning-tekbir-tr {
    text-align: center;
    font-size: 0.8rem;
    color: var(--green-primary);
    margin-bottom: 16px;
    transition: opacity 0.3s;
    min-height: 1.2rem;
}

.tekbir-anim {
    animation: tekbirFade 1.2s ease-out;
}

@keyframes tekbirFade {
    0% { opacity: 0; transform: scale(0.8); }
    20% { opacity: 1; transform: scale(1.05); }
    80% { opacity: 1; transform: scale(1); }
    100% { opacity: 0; transform: scale(1); }
}

.stoning-throw-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 auto 16px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(145deg, #e74c3c, #c0392b);
    border: 4px solid rgba(231,76,60,0.3);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    justify-content: center;
    transition: transform 0.1s, box-shadow 0.1s;
    box-shadow: 0 6px 24px rgba(231,76,60,0.3);
    user-select: none;
}

.stoning-throw-btn:active {
    transform: scale(0.95);
    box-shadow: 0 3px 12px rgba(231,76,60,0.2);
}

.stoning-throw-btn.completed {
    background: linear-gradient(145deg, var(--green-primary), var(--green-dark));
    border-color: rgba(26,188,156,0.3);
    box-shadow: 0 6px 24px rgba(26,188,156,0.3);
    pointer-events: none;
}

.stoning-controls {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 8px;
}

.stoning-controls button {
    padding: 8px 18px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: 0.78rem;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
}

.stoning-controls button:hover {
    border-color: var(--danger);
    color: var(--danger);
}

/* Progress */
.stoning-progress-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stoning-progress-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 12px 16px;
}

.stoning-progress-card .prog-day {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stoning-progress-card .prog-detail {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.stoning-progress-card .prog-cemre {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.stoning-progress-card .prog-cemre b {
    color: var(--green-primary);
}

.prog-bar {
    height: 5px;
    background: var(--bg-primary);
    border-radius: 3px;
    overflow: hidden;
}

.prog-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--green-primary), var(--gold));
    border-radius: 3px;
    transition: width 0.4s ease;
}

/* Info Cards */
.stoning-info-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stoning-info-item {
    display: flex;
    gap: 14px;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 14px 16px;
    align-items: flex-start;
}

.info-step {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(26,188,156,0.1);
    color: var(--green-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .app-content {
        padding: 12px;
        padding-bottom: 76px;
    }

    .esma-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}
