/* app/assets/css/telegram-app.css */

:root {
    --tg-bg: var(--tg-theme-bg-color, #0d1117);
    --tg-text: var(--tg-theme-text-color, #f0f6fc);
    --tg-hint: var(--tg-theme-hint-color, #8b949e);
    --tg-link: var(--tg-theme-link-color, #58a6ff);
    --tg-button: var(--tg-theme-button-color, #238636);
    --tg-button-text: var(--tg-theme-button-text-color, #ffffff);
    --tg-secondary-bg: var(--tg-theme-secondary-bg-color, #161b22);
    --tg-header-bg: var(--tg-theme-header-bg-color, #0d1117);
    --tg-accent-text: var(--tg-theme-accent-text-color, #58a6ff);
    --tg-section-bg: var(--tg-theme-section-bg-color, #161b22);
    --tg-border: rgba(255, 255, 255, 0.1);
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-family);
    background-color: var(--tg-bg);
    color: var(--tg-text);
    min-height: 100vh;
    padding: env(safe-area-inset-top, 0) env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0) env(safe-area-inset-left, 0);
    overflow-x: hidden;
    user-select: none;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================
   SPLASH SCREEN (6 Saniye Animasyonlu)
   ========================================================== */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, var(--tg-secondary-bg) 0%, var(--tg-bg) 100%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 40px 24px 30px;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#splash-screen.fade-out {
    opacity: 0;
    transform: scale(1.06);
    pointer-events: none;
}

.splash-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--tg-border);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    color: var(--tg-hint);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 340px;
    width: 100%;
    margin: auto 0;
}

.splash-logo-container {
    position: relative;
    width: 110px;
    height: 110px;
    margin-bottom: 24px;
}

.splash-logo-glow {
    position: absolute;
    inset: -10px;
    background: var(--app-primary, #2481cc);
    filter: blur(25px);
    opacity: 0.45;
    border-radius: 50%;
    animation: pulseGlow 3s ease-in-out infinite;
}

.splash-logo-img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: var(--tg-secondary-bg);
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(0.92); opacity: 0.35; }
    50% { transform: scale(1.15); opacity: 0.65; }
}

.splash-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--tg-text);
    line-height: 1.3;
}

.splash-desc {
    font-size: 14px;
    color: var(--tg-hint);
    line-height: 1.5;
}

.splash-footer {
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.progress-track {
    width: 100%;
    height: 5px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #38bdf8, var(--app-primary, #2481cc));
    border-radius: 999px;
    transition: width 0.1s linear;
}

/* ==========================================================
   ANA SAYFA & KULLANICI HEADER (User Profile Card)
   ========================================================== */
.app-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 0 0 calc(78px + env(safe-area-inset-bottom, 0px)) 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
    position: relative;
}

/* ==========================================================
   MINIMALLEŞEN STICKY HEADER
   ========================================================== */
.sticky-profile-header {
    position: sticky;
    top: 0;
    z-index: 890;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: padding 0.25s cubic-bezier(0.16, 1, 0.3, 1), background 0.25s ease, box-shadow 0.25s ease;
}

/* Sayfa aşağı kaydırıldığında minimalleşen / kompakt header */
.sticky-profile-header.is-compact {
    padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 8px;
    background: rgba(11, 15, 25, 0.98);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.header-user-side {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.user-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), height 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-profile-header.is-compact .user-avatar-wrapper {
    width: 36px;
    height: 36px;
}

.user-avatar-img, .user-avatar-initials {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    transition: border-radius 0.25s ease, font-size 0.25s ease;
}

.sticky-profile-header.is-compact .user-avatar-img,
.sticky-profile-header.is-compact .user-avatar-initials {
    border-radius: 11px;
    font-size: 13px;
}

.online-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    background: #10b981;
    border: 2px solid var(--tg-bg, #0b0f17);
    border-radius: 50%;
    box-shadow: 0 0 6px #10b981;
}

/* Avatar Çerçevesine İliştirilmiş Minimal Rozet */
.avatar-premium-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border: 1.5px solid var(--tg-bg, #0b0f17);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.7);
    z-index: 3;
    animation: starPulse 2.5s infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(245, 158, 11, 0.6)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 6px rgba(245, 158, 11, 0.9)); }
}

.header-user-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-fullname {
    font-size: 15px;
    font-weight: 800;
    color: var(--tg-text, #fff);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
    transition: font-size 0.25s ease;
}

.sticky-profile-header.is-compact .user-fullname {
    font-size: 13.5px;
}

.user-username-row {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11.5px;
    color: var(--tg-link, #38bdf8);
    cursor: pointer;
    font-family: inherit;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.user-username-row:hover {
    opacity: 1;
}

.copy-icon {
    opacity: 0.6;
}

/* ==========================================================
   COIN ROZETLERİ VE [+] BUTONU
   ========================================================== */
.header-coins-side {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.coin-pill {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 9px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 700;
    font-family: monospace;
    letter-spacing: -0.2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    transition: padding 0.25s ease;
}

.sticky-profile-header.is-compact .coin-pill {
    padding: 4px 7px;
    font-size: 11px;
}

.coin-stars {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.25);
    color: #fde047;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.15);
}

.coin-gems {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.25);
    color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.15);
}

.coin-icon {
    font-size: 12px;
    line-height: 1;
}

.coin-add-btn {
    width: 28px;
    height: 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--app-primary, #3b82f6), #1d4ed8);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.4);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.coin-add-btn:active {
    transform: scale(0.92);
    box-shadow: 0 1px 4px rgba(59, 130, 246, 0.6);
}

/* ==========================================================
   ALTTAN AÇILAN MENÜ (COIN BOTTOM SHEET)
   ========================================================== */
.tg-bottom-sheet-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.tg-bottom-sheet-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: fadeIn 0.25s ease;
}

.tg-bottom-sheet-card {
    position: relative;
    z-index: 1;
    background: var(--tg-secondary-bg, #161f2e);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px 24px 0 0;
    padding: 12px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6);
    animation: slideUpSheet 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 80vh;
    overflow-y: auto;
}

@keyframes slideUpSheet {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.sheet-handle {
    width: 38px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    margin: 0 auto 14px;
}

.sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.sheet-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--tg-text, #fff);
}

.sheet-close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: var(--tg-hint, #94a3b8);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sheet-coin-balances {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.sheet-balance-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.sheet-balance-box.box-stars {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.06);
}

.sheet-balance-box.box-gems {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(56, 189, 248, 0.06);
}

.sbb-icon {
    font-size: 24px;
}

.sbb-info {
    display: flex;
    flex-direction: column;
}

.sbb-label {
    font-size: 10px;
    color: var(--tg-hint, #94a3b8);
    font-weight: 600;
    text-transform: uppercase;
}

.sbb-val {
    font-size: 16px;
    font-weight: 800;
    color: var(--tg-text, #fff);
    font-family: monospace;
}

.sheet-placeholder-notice {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
}

.sheet-placeholder-notice h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--tg-text, #fff);
    margin-bottom: 6px;
}

.sheet-placeholder-notice p {
    font-size: 11.5px;
    color: var(--tg-hint, #94a3b8);
    line-height: 1.45;
}

/* ==========================================================
   4 SEKMELİ ALT NAVİGASYON BARI
   ========================================================== */
.tg-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 850;
    background: rgba(10, 14, 23, 0.88);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 6px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
}

.nav-tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    color: var(--tg-hint, #94a3b8);
    cursor: pointer;
    padding: 5px 4px 4px;
    border-radius: 12px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    position: relative;
}

.nav-tab-item .nav-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.2s ease, filter 0.2s ease;
}

.nav-tab-item .nav-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: -0.2px;
    transition: color 0.2s ease;
}

.nav-tab-item.active {
    color: var(--app-primary, #38bdf8);
}

.nav-tab-item.active .nav-icon {
    stroke: var(--app-primary, #38bdf8);
    transform: translateY(-2px);
    filter: drop-shadow(0 0 8px var(--app-primary, #38bdf8));
}

.nav-tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    width: 16px;
    height: 3px;
    border-radius: 999px;
    background: var(--app-primary, #38bdf8);
    box-shadow: 0 0 8px var(--app-primary, #38bdf8);
    animation: tabIndicatorPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes tabIndicatorPop {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}

.nav-tab-item:active {
    transform: scale(0.92);
}

/* ==========================================================
   SEKME SAYFA İÇERİKLERİ
   ========================================================== */
.tab-views-container {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tab-view-pane {
    animation: fadeInTab 0.25s ease-out;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Boş Durum Kartı (Analiz & Geçmiş) */
.empty-state-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 36px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.empty-state-icon {
    font-size: 42px;
    margin-bottom: 4px;
}

.empty-state-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--tg-text, #fff);
}

.empty-state-desc {
    font-size: 12.5px;
    color: var(--tg-hint, #94a3b8);
    line-height: 1.5;
    max-width: 320px;
}

.coming-soon-pill {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

/* Bilgi Sekmesi & Diğer Uygulamalar */
.app-info-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 22px;
    padding: 20px;
    margin-bottom: 18px;
}

.app-info-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.app-info-logo {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.app-info-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--tg-text, #fff);
}

.app-info-username {
    font-size: 12px;
    color: var(--tg-link, #38bdf8);
    display: block;
    margin-bottom: 4px;
}

.app-info-badges {
    display: flex;
    gap: 6px;
}

.app-tag-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--tg-hint, #94a3b8);
}

.app-info-desc {
    font-size: 12.5px;
    color: var(--tg-hint, #94a3b8);
    line-height: 1.5;
}

/* Diğer Uygulamalar Grid'i (Kare Kutular) */
.other-apps-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--tg-text, #fff);
    margin-bottom: 2px;
}

.section-subtitle {
    font-size: 11.5px;
    color: var(--tg-hint, #94a3b8);
}

.other-apps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.other-app-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.other-app-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.other-app-img {
    width: 44px;
    height: 44px;
    border-radius: 13px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.other-app-title {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--tg-text, #fff);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

.other-app-user {
    font-size: 10px;
    color: var(--tg-hint, #94a3b8);
    display: block;
}

.other-app-btn {
    width: 100%;
    margin-top: 4px;
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.other-app-btn:hover {
    background: #2563eb;
    color: #fff;
}

/* Profil Düzenle Butonu */
.vpc-actions-row {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-edit-profile {
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(99, 102, 241, 0.15));
    border: 1.5px solid rgba(99, 102, 241, 0.35);
    color: #93c5fd;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.btn-edit-profile:hover {
    background: linear-gradient(135deg, #3b82f6, #4f46e5);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.4);
}

.btn-edit-profile:active {
    transform: scale(0.98);
}

/* Profil Sekmesindeki Dil Seçici Kartı */
.profile-lang-card {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    padding: 18px;
    margin-top: 14px;
}

.profile-lang-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--tg-text, #fff);
    margin-bottom: 12px;
}

.lang-chips-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.lang-chip-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--tg-text, #fff);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.lang-chip-btn:hover {
    background: rgba(255, 255, 255, 0.09);
}

.lang-chip-btn.active {
    background: rgba(59, 130, 246, 0.18);
    border-color: #3b82f6;
    color: #fff;
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.25);
}

.lang-chip-btn .chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #3b82f6;
    margin-left: auto;
    box-shadow: 0 0 6px #3b82f6;
}

/* Durum Bildirim Çubuğu */
.sync-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 8px 14px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
}

.sync-status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pulse-circle {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulseCircle 1.8s infinite;
}

@keyframes pulseCircle {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

/* ==========================================================
   BEYAN EDİLEN PROFİL KARTI (TELEGRAM NATIVE UI)
   ========================================================== */
.verified-profile-card {
    background: var(--tg-secondary-bg);
    border: 1px solid var(--tg-border);
    border-radius: 20px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.vpc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vpc-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--tg-text);
    margin: 0;
    letter-spacing: -0.2px;
}

.vpc-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.2px;
}

.vpc-badge.completed {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.vpc-badge.incomplete {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.vpc-banner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.vpc-banner-text {
    font-size: 12px;
    color: var(--tg-text);
    font-weight: 500;
}

.vpc-banner-btn {
    background: var(--app-primary, #3b82f6);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 7px 12px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.15s ease;
}

.vpc-banner-btn:active {
    transform: scale(0.96);
}

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

.vpc-item {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.vpc-item.vpc-col-2 {
    grid-column: span 2;
}

.vpc-item-label {
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--tg-hint, #94a3b8);
    letter-spacing: 0.3px;
}

.vpc-item-val {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--tg-text, #fff);
    word-break: break-word;
}

.vpc-item-box {
    font-size: 12px;
    color: var(--tg-text, #fff);
    line-height: 1.4;
    word-break: break-word;
    margin-top: 2px;
}

/* İçerik Kartı (Geliştirmeye Hazır Alan) */
.workspace-card {
    background: var(--tg-secondary-bg);
    border: 1px dashed var(--tg-border);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.workspace-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--tg-accent-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.workspace-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--tg-text);
}

.workspace-desc {
    font-size: 13px;
    color: var(--tg-hint);
    max-width: 280px;
    line-height: 1.4;
}

/* ==========================================================
   SIMULATOR TEST ARAÇ ÇUBUĞU (Dev Mode)
   ========================================================== */
.dev-simulator-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #1e1b4b;
    border-bottom: 1px solid #4338ca;
    color: #e0e7ff;
    padding: 8px 12px;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.simulator-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sim-select, .sim-btn {
    background: #312e81;
    color: #fff;
    border: 1px solid #6366f1;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
}

/* ==========================================================
   TELEGRAM ONBOARDING SİHİRBAZI - TAM EKRAN NATIVE UI
   ========================================================== */
.onboarding-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 9999;
    background: radial-gradient(circle at 50% 12%, var(--tg-secondary-bg, #161f2e) 0%, var(--tg-bg, #0b0f17) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    animation: fadeInModal 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Arka Plan Ambient Glow Işıkları */
.onboarding-bg-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.glow-orb-top {
    position: absolute;
    width: 380px;
    height: 380px;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: radial-gradient(circle, var(--app-primary, #3b82f6) 0%, transparent 68%);
    opacity: 0.24;
    filter: blur(80px);
    animation: pulseGlow 6s ease-in-out infinite alternate;
}

.glow-orb-bottom {
    position: absolute;
    width: 320px;
    height: 320px;
    bottom: -60px;
    right: -60px;
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    opacity: 0.16;
    filter: blur(90px);
}

/* Ana İçerik Taşıyıcı Kart (Tam Ekran Esnek) */
.onboarding-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    min-height: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: calc(28px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px));
    background: transparent;
    border: none;
    box-shadow: none;
}

.onboarding-header {
    text-align: center;
    margin-bottom: 12px;
}

.onboarding-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    color: var(--tg-hint, #94a3b8);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 14px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.onboarding-top-badge .badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--app-primary, #3b82f6);
    box-shadow: 0 0 8px var(--app-primary, #3b82f6);
}

.onboarding-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--tg-text, #fff);
    margin-bottom: 8px;
    letter-spacing: -0.4px;
    line-height: 1.25;
}

.onboarding-subtitle {
    font-size: 13px;
    color: var(--tg-hint, #94a3b8);
    line-height: 1.5;
    padding: 0 10px;
    max-width: 360px;
    margin: 0 auto;
}

.onboarding-step-panel {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 22px 18px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    margin: 16px 0;
    animation: fadeInStep 0.3s ease-out;
}

@keyframes fadeInStep {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.onboarding-lang-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px 0;
}

.lang-select-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--tg-text, #fff);
    position: relative;
}

.lang-select-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
}

.lang-select-card.active {
    background: rgba(59, 130, 246, 0.15);
    border-color: #3b82f6;
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.3);
}

.lang-flag {
    font-size: 26px;
}

.lang-label {
    font-size: 12px;
    font-weight: 700;
}

.lang-check {
    display: none;
    position: absolute;
    top: 8px;
    right: 10px;
    font-size: 11px;
    color: #3b82f6;
    font-weight: 900;
}

.lang-select-card.active .lang-check {
    display: block;
}

.form-group-wrap {
    margin-bottom: 16px;
}

.ob-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--tg-hint, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.ob-input, .ob-textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(10, 15, 26, 0.65);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    color: var(--tg-text, #fff);
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.ob-input:focus, .ob-textarea:focus {
    border-color: var(--app-primary, #3b82f6);
    background: rgba(10, 15, 26, 0.9);
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.25);
}

.emoji-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.chip-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--tg-text, #fff);
    padding: 10px 15px;
    border-radius: 14px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chip-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.chip-btn.active {
    background: var(--app-primary, #3b82f6);
    border-color: var(--app-primary, #3b82f6);
    color: #fff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
    transform: scale(1.02);
}

.onboarding-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
}

.ob-btn-primary {
    flex: 2;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    border-radius: 16px;
    padding: 15px 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.2s ease;
    text-align: center;
}

.ob-btn-primary:active {
    transform: scale(0.98);
}

.ob-btn-secondary {
    flex: 1;
    max-width: 110px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 15px 16px;
    color: var(--tg-hint, #94a3b8);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.ob-btn-secondary:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

/* Uyarı ve Hata Vurgulama */
.ob-warning-box {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 12px;
    padding: 10px 14px;
    margin-top: 12px;
    color: #fca5a5;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: obShake 0.4s ease-in-out;
}

@keyframes obShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.ob-input.input-error, .ob-textarea.input-error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1) !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.4) !important;
}

.chip-group-error {
    outline: 2px dashed rgba(239, 68, 68, 0.7);
    outline-offset: 4px;
    border-radius: 14px;
    padding: 4px;
}

/* ==========================================================
   TELEGRAM NATIVE POPUP FALLBACK DIALOG
   ========================================================== */
.tg-native-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInPopupOverlay 0.2s ease-out;
}

@keyframes fadeInPopupOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

.tg-native-popup-card {
    width: 100%;
    max-width: 320px;
    background: var(--tg-secondary-bg, #1e293b);
    border: 1px solid var(--tg-border, rgba(255, 255, 255, 0.14));
    border-radius: 20px;
    padding: 22px 18px 16px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
    animation: scaleInPopupCard 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--tg-text, #fff);
}

@keyframes scaleInPopupCard {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

.tg-popup-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--tg-text, #fff);
}

.tg-popup-message {
    font-size: 13px;
    line-height: 1.5;
    color: var(--tg-hint, #94a3b8);
    margin-bottom: 20px;
    white-space: pre-wrap;
    word-break: break-word;
}

.tg-popup-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.tg-popup-actions.vertical {
    flex-direction: column;
}

.tg-popup-btn {
    flex: 1;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    color: var(--tg-text, #fff);
    transition: all 0.2s ease;
    font-family: inherit;
}

.tg-popup-btn:hover {
    background: rgba(255, 255, 255, 0.14);
}

.tg-popup-btn.primary {
    background: var(--app-primary, #3b82f6);
    border-color: var(--app-primary, #3b82f6);
    color: #fff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.tg-popup-btn.destructive {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

/* ==========================================================
   🤝 REFERANS & DAVET ET KAZAN KARTI STİLLERİ
   ========================================================== */
.referral-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.85));
    border: 1.5px solid rgba(59, 130, 246, 0.25);
    border-radius: 22px;
    padding: 16px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.ref-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ref-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ref-card-icon {
    font-size: 18px;
}

.ref-card-title {
    font-size: 13.5px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.ref-badge-live {
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.15);
    color: #fde047;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.ref-card-desc {
    font-size: 11.5px;
    color: var(--tg-hint, #94a3b8);
    line-height: 1.45;
    margin: 0;
}

.ref-reward-pill {
    padding: 7px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    font-size: 11.5px;
    color: #e2e8f0;
}

.ref-link-box {
    display: flex;
    gap: 6px;
    align-items: center;
}

.ref-link-input {
    flex: 1;
    padding: 9px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #38bdf8;
    font-size: 11px;
    font-family: monospace;
    outline: none;
}

.ref-copy-btn {
    padding: 9px 13px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    color: #60a5fa;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.ref-copy-btn:active {
    transform: scale(0.96);
}

.ref-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 2px;
}

.ref-share-btn {
    flex: 1;
    padding: 10px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border: none;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
    transition: all 0.2s ease;
}

.ref-share-btn:active {
    transform: scale(0.97);
}

.ref-stats-pill {
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 11px;
    color: var(--tg-hint, #94a3b8);
    display: flex;
    align-items: center;
    gap: 5px;
}

.ref-stats-pill strong {
    color: #fff;
    font-size: 13px;
}

/* ==========================================================
   ⭐ COIN BOTTOM SHEET & ZENGİN PAKETLER STİLLERİ
   ========================================================== */
.btn-claim-free-coin {
    width: 100%;
    padding: 10px 14px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.2));
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

.btn-claim-free-coin:active {
    transform: scale(0.97);
}

.sheet-packages-section {
    margin-bottom: 12px;
}

.sheet-sec-title {
    font-size: 11px;
    font-weight: 800;
    color: var(--tg-hint, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0 0 6px 2px;
}

.sheet-packages-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sheet-pkg-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sheet-pkg-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(250, 204, 21, 0.3);
}

.sheet-pkg-item:active {
    transform: scale(0.98);
}

.sheet-pkg-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sheet-pkg-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #fff;
}

.sheet-pkg-coins {
    font-size: 11px;
    color: #fde047;
    font-family: monospace;
    font-weight: 700;
}

.sheet-pkg-price {
    font-size: 12px;
    font-weight: 800;
    color: #fde047;
}

.pkg-badge {
    font-size: 9px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 4px;
    background: rgba(236, 72, 153, 0.2);
    color: #f472b6;
    border: 0.5px solid rgba(236, 72, 153, 0.4);
}

.sheet-store-link-row {
    margin-top: 10px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sheet-all-store-btn {
    display: block;
    width: 100%;
    padding: 11px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
    transition: all 0.2s ease;
}

.sheet-all-store-btn:active {
    transform: scale(0.98);
}

/* ==========================================================
   🔍 RESİM ANALİZİ & GEÇMİŞ SAYFASI STİLLERİ
   ========================================================== */

/* 1. Yükleme Alanı (Dropzone Card) */
.analysis-upload-card {
    background: linear-gradient(145deg, rgba(26, 34, 53, 0.8), rgba(15, 23, 42, 0.9));
    border: 2px dashed rgba(168, 85, 247, 0.4);
    border-radius: 20px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.analysis-upload-card:hover, .analysis-upload-card:active {
    border-color: rgba(192, 132, 252, 0.8);
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(168, 85, 247, 0.25);
}

.analysis-upload-card.has-image {
    border-style: solid;
    border-color: rgba(168, 85, 247, 0.6);
    padding: 14px;
}

.upload-icon-pulse {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.25) 0%, rgba(168, 85, 247, 0) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 32px;
    animation: uploadGlow 2.5s infinite ease-in-out;
}

@keyframes uploadGlow {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.1); opacity: 1; filter: drop-shadow(0 0 12px rgba(168, 85, 247, 0.6)); }
}

.upload-title-text {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.upload-hint-text {
    font-size: 12px;
    color: #94a3b8;
}

/* Görsel Seçildiğindeki Önizleme */
.upload-preview-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    max-height: 260px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.upload-preview-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    border-radius: 14px;
}

.upload-preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.btn-change-photo {
    padding: 6px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.btn-remove-photo {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* 2. Özel Not / Soru Metin Alanı */
.analysis-note-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 14px;
    margin-top: 14px;
}

.analysis-note-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.analysis-note-textarea {
    width: 100%;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 12px;
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    resize: none;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.analysis-note-textarea:focus {
    border-color: rgba(168, 85, 247, 0.6);
    background: rgba(30, 41, 59, 0.8);
}

/* 3. Çift Coinli Aksiyon Butonları */
.analysis-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 16px;
}

.btn-start-analysis {
    padding: 14px 10px;
    border-radius: 16px;
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.btn-start-analysis:active {
    transform: scale(0.97);
}

.btn-start-analysis:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-pay-app {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
}

.btn-pay-global {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.btn-coin-cost-badge {
    font-size: 14px;
    font-weight: 900;
}

.btn-coin-subtext {
    font-size: 10px;
    opacity: 0.9;
    font-weight: 600;
}

/* 4. Canlı Analiz Yükleme UI (Loading Animation) */
.analysis-loading-card {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-top: 16px;
}

.loading-radar-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
}

.loading-radar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #a855f7;
    border-right-color: #38bdf8;
    animation: radarSpin 1.2s linear infinite;
}

.loading-radar-ring.inner {
    inset: 10px;
    border-top-color: #f59e0b;
    border-right-color: transparent;
    animation: radarSpin 0.8s linear infinite reverse;
}

.loading-radar-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    animation: floatIcon 2s ease-in-out infinite;
}

@keyframes radarSpin {
    to { transform: rotate(360deg); }
}

@keyframes floatIcon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.12); }
}

.loading-step-title {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
}

.loading-step-desc {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
}

/* 5. Son Yapılan Analiz Özet Kartı */
.latest-analysis-container {
    margin-top: 24px;
}

.latest-sec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.latest-sec-title {
    font-size: 13px;
    font-weight: 800;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.latest-analysis-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.latest-analysis-card:hover, .latest-analysis-card:active {
    background: linear-gradient(135deg, rgba(51, 65, 85, 0.8), rgba(30, 41, 59, 0.9));
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
}

.lac-thumb {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.lac-content {
    flex: 1;
    min-width: 0;
}

.lac-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.lac-date-badge {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
}

.lac-coin-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 6px;
}

.lac-coin-badge.app {
    background: rgba(14, 165, 233, 0.15);
    color: #38bdf8;
    border: 0.5px solid rgba(14, 165, 233, 0.3);
}

.lac-coin-badge.global {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 0.5px solid rgba(245, 158, 11, 0.3);
}

.lac-summary-text {
    font-size: 12px;
    color: #e2e8f0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lac-arrow {
    font-size: 16px;
    color: #a855f7;
    margin-left: 4px;
    flex-shrink: 0;
}

/* 6. Geçmiş Sekmesi Kartları */
.history-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 20px;
}

/* 7. Detaylı Analiz Modalı (Popup) */
.analysis-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.analysis-modal-card {
    background: #0a0e1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px 28px 0 0;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideUpSpring 0.36s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.7);
}

@keyframes slideUpSpring {
    0% { transform: translateY(100%); opacity: 0; }
    65% { transform: translateY(-4px); opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}

.modal-header-bar {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    border: none;
    cursor: pointer;
}

.modal-scrollable-body {
    flex: 1;
    overflow-y: auto;
    padding: 18px 16px;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Modal Görsel Hero Alanı */
.modal-hero-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-image-preview {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    display: block;
}

.modal-hero-badges {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.modal-badge-chip {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 10.5px;
    font-weight: 800;
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.modal-badge-chip.completed {
    background: rgba(16, 185, 129, 0.25);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.4);
}

/* Kullanıcının Özel Not Kutusu */
.modal-note-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(15, 23, 42, 0.6));
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-left: 3px solid #f59e0b;
    border-radius: 12px;
    padding: 10px 14px;
}

.mnc-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.mnc-text {
    font-size: 12.5px;
    color: #fef3c7;
    line-height: 1.45;
    font-style: italic;
}

/* Yapay Zeka Rapor Bölüm Kartları */
.report-section-card {
    border-radius: 16px;
    background: rgba(30, 41, 59, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.report-section-card.theme-purple {
    border-color: rgba(168, 85, 247, 0.25);
    background: linear-gradient(145deg, rgba(168, 85, 247, 0.06), rgba(15, 23, 42, 0.7));
}

.report-section-card.theme-purple .rsc-header {
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.18), transparent);
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
    color: #c084fc;
}

.report-section-card.theme-blue {
    border-color: rgba(56, 189, 248, 0.25);
    background: linear-gradient(145deg, rgba(56, 189, 248, 0.06), rgba(15, 23, 42, 0.7));
}

.report-section-card.theme-blue .rsc-header {
    background: linear-gradient(90deg, rgba(56, 189, 248, 0.18), transparent);
    border-bottom: 1px solid rgba(56, 189, 248, 0.15);
    color: #38bdf8;
}

.report-section-card.theme-emerald {
    border-color: rgba(52, 211, 153, 0.25);
    background: linear-gradient(145deg, rgba(52, 211, 153, 0.06), rgba(15, 23, 42, 0.7));
}

.report-section-card.theme-emerald .rsc-header {
    background: linear-gradient(90deg, rgba(52, 211, 153, 0.18), transparent);
    border-bottom: 1px solid rgba(52, 211, 153, 0.15);
    color: #34d399;
}

.report-section-card.theme-amber {
    border-color: rgba(251, 191, 36, 0.25);
    background: linear-gradient(145deg, rgba(251, 191, 36, 0.08), rgba(15, 23, 42, 0.7));
}

.report-section-card.theme-amber .rsc-header {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.2), transparent);
    border-bottom: 1px solid rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.rsc-header {
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.2px;
}

.rsc-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.report-p {
    font-size: 13px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
}

.report-p strong {
    color: #fff;
    font-weight: 700;
}

.report-callout-box {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 12.5px;
    line-height: 1.5;
    color: #fef3c7;
    margin: 6px 0;
}

.report-bullet-list {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.report-bullet-list li {
    font-size: 13px;
    line-height: 1.55;
    color: #cbd5e1;
}

.report-bullet-list li strong {
    color: #fff;
}

/* Modal Alt Buton Barı */
.modal-footer-row {
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    gap: 8px;
    background: rgba(15, 23, 42, 0.95);
}

.btn-modal-action {
    flex: 1;
    padding: 12px 8px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.btn-modal-action:active {
    transform: scale(0.97);
}

.btn-modal-share {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}

.btn-modal-new {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #fff;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35);
}

.btn-modal-close-small {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* 8. Geçmiş Sekmesi Altındaki Yeni Analiz CTA Kartı */
.history-new-cta-card {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(14, 165, 233, 0.08));
    border: 1px dashed rgba(168, 85, 247, 0.4);
    border-radius: 18px;
    padding: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hnc-content {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    width: 100%;
}

.hnc-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.hnc-text strong {
    display: block;
    font-size: 13.5px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 2px;
}

.hnc-text span {
    display: block;
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.4;
}

.btn-hnc-action {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #a855f7, #3b82f6);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(168, 85, 247, 0.35);
    transition: all 0.2s ease;
}

.btn-hnc-action:active {
    transform: scale(0.98);
}

/* ==========================================================
   MINIMAL UI, MİKRO-ANİMASYONLAR VE MOBİL RESPONSIVE OPTİMİZASYONU
   ========================================================== */

/* 1. Global Buton & Tıklanabilir Elemanlar Yaylanma Efekti */
button, 
.btn-start-analysis, 
.btn-modal-action, 
.btn-change-photo, 
.btn-remove-photo, 
.coin-add-btn,
.nav-tab-item,
.latest-analysis-card,
.store-pkg-card {
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s ease, opacity 0.2s ease, border-color 0.2s ease;
}

button:active, 
.btn-start-analysis:active, 
.btn-modal-action:active,
.btn-change-photo:active,
.btn-remove-photo:active,
.coin-add-btn:active {
    transform: scale(0.96) !important;
}

/* 2. Zarif Kartlar ve İnce Kenarlık Parlaması */
.latest-analysis-card,
.analysis-upload-card,
.analysis-note-card,
.app-info-card,
.referral-card {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.latest-analysis-card:hover,
.latest-analysis-card:active {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(56, 189, 248, 0.3);
}

/* 3. Küçük Ekranlar (iPhone SE, 360px-380px) için Kusursuz Mobil Uyumluluk */
@media (max-width: 380px) {
    .sticky-profile-header {
        padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px;
    }

    .user-avatar-wrapper {
        width: 40px;
        height: 40px;
    }

    .user-fullname {
        font-size: 13.5px;
        max-width: 110px;
    }

    .user-username-row {
        font-size: 10.5px;
    }

    .header-coins-side {
        gap: 4px;
    }

    .coin-pill {
        padding: 4px 7px;
        font-size: 10.5px;
        border-radius: 10px;
    }

    .coin-add-btn {
        width: 26px;
        height: 26px;
    }

    .analysis-actions-grid {
        gap: 8px;
    }

    .btn-start-analysis {
        padding: 12px 8px;
        font-size: 11.5px;
    }

    .btn-coin-cost-badge {
        font-size: 13px;
    }

    .nav-tab-item .nav-icon {
        width: 19px;
        height: 19px;
    }

    .nav-tab-item .nav-label {
        font-size: 9.5px;
    }

    .modal-footer-row {
        gap: 6px;
        padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .btn-modal-action {
        padding: 10px 6px;
        font-size: 11px;
    }
}

/* 4. Pürüzsüz Scroll & Seçim Temizliği */
html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(56, 189, 248, 0.25);
    color: #fff;
}

/* ==========================================================================
   5. Web Gateway & SEO Landing Sayfası Stilleri (Telegram Dışı Girişler)
   ========================================================================== */
.web-gateway-wrap {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 18px;
    background: radial-gradient(circle at 50% 10%, rgba(36, 129, 204, 0.15) 0%, rgba(10, 14, 23, 0.98) 70%), #0a0e17;
    position: relative;
    z-index: 1000;
}

.web-gateway-container {
    max-width: 520px;
    width: 100%;
    text-align: center;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border-radius: 28px;
    padding: 36px 24px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    animation: gwFadeIn 0.5s ease-out;
}

@keyframes gwFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.wg-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(36, 129, 204, 0.15);
    border: 1px solid rgba(36, 129, 204, 0.35);
    color: #38bdf8;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 22px;
}

.wg-tg-icon {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.wg-logo-card {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 18px;
}

.wg-logo-glow {
    position: absolute;
    inset: -6px;
    border-radius: 26px;
    background: linear-gradient(135deg, var(--app-primary, #2481cc), #38bdf8);
    opacity: 0.45;
    filter: blur(12px);
    animation: wgPulseGlow 3s infinite alternate;
}

@keyframes wgPulseGlow {
    from { transform: scale(0.96); opacity: 0.35; }
    to { transform: scale(1.06); opacity: 0.65; }
}

.wg-logo-img {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 24px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.wg-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.wg-desc {
    font-size: 12.5px;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0 0 24px;
}

.wg-features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 26px;
    text-align: left;
}

.wg-feature-item {
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wg-fi-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.wg-fi-title {
    font-size: 12px;
    font-weight: 700;
    color: #f1f5f9;
}

.wg-fi-desc {
    font-size: 10.5px;
    color: #64748b;
    margin-top: 2px;
}

.wg-actions-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.btn-wg-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 20px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--app-primary, #2481cc), #0284c7);
    color: #fff;
    font-size: 13.5px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(36, 129, 204, 0.4);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-wg-primary:active {
    transform: scale(0.96);
    box-shadow: 0 4px 12px rgba(36, 129, 204, 0.3);
}

.btn-wg-primary .btn-tg-svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.btn-wg-qr-toggle {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 700;
    border-radius: 14px;
    padding: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-wg-qr-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.wg-footer-hint {
    font-size: 11px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.wg-dl-link {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 700;
}

.wg-dl-link:hover {
    text-decoration: underline;
}

/* QR Kod Modalı */
.wg-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: fadeInStep 0.2s ease-out;
}

.wg-modal-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 24px;
    max-width: 320px;
    width: 100%;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.wg-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.wg-modal-title {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.wg-modal-close {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    cursor: pointer;
    line-height: 1;
}

.wg-modal-desc {
    font-size: 11px;
    color: #94a3b8;
    margin: 0 0 16px;
    line-height: 1.5;
}

.wg-qr-box {
    background: #fff;
    padding: 12px;
    border-radius: 16px;
    display: inline-block;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.wg-qr-img {
    width: 180px;
    height: 180px;
    display: block;
}

.wg-qr-hint {
    margin-top: 10px;
    font-size: 11.5px;
    font-weight: 700;
    color: #38bdf8;
}



