/**
 * ╔════════════════════════════════════════════════════════════════════════════╗
 * ║                     AIKEY WALLET - Main Stylesheet                         ║
 * ║                          wallet.aikey.digital                              ║
 * ╠════════════════════════════════════════════════════════════════════════════╣
 * ║  Dosya Yolu      : public/css/app.css                                      ║
 * ║  Son Güncelleme  : 29.12.2024 10:30:00                                     ║
 * ╚════════════════════════════════════════════════════════════════════════════╝
 */

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                            PRELOADER                                       │
   └────────────────────────────────────────────────────────────────────────────┘ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    margin-bottom: 24px;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(212, 175, 55, 0.2);
    border-top-color: #d4af37;
    border-radius: 50%;
    animation: preloaderSpin 0.8s linear infinite;
}

.preloader-text {
    margin-top: 16px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    color: #8a8a9a;
    letter-spacing: 2px;
}

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

@keyframes preloaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(0.95); opacity: 0.8; }
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                            CSS VARIABLES                                   │
   └────────────────────────────────────────────────────────────────────────────┘ */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --bg-elevated: #222230;
    --accent: #d4af37;
    --accent-hover: #e5c349;
    --accent-glow: rgba(212, 175, 55, 0.3);
    --accent-soft: rgba(212, 175, 55, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #8a8a9a;
    --text-muted: #5a5a6a;
    --success: #4ade80;
    --error: #f87171;
    --warning: #fbbf24;
    --border: rgba(255, 255, 255, 0.06);
    --border-accent: rgba(212, 175, 55, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-accent: 0 4px 24px var(--accent-glow);
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                              RESET                                         │
   └────────────────────────────────────────────────────────────────────────────┘ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* iOS tap highlight kaldır */
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    /* iOS double-tap zoom azaltma */
    touch-action: manipulation;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
    /* iOS double-tap zoom azaltma */
    touch-action: manipulation;
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                      PWA MOBILE TOUCH OPTIMIZATION                         │
   └────────────────────────────────────────────────────────────────────────────┘ */
/* Tüm buton ve linkler için minimum dokunma alanı ve touch optimizasyonu */
button, 
a, 
input[type="button"], 
input[type="submit"],
.btn-primary,
.btn-secondary,
.btn-danger,
.sidebar-item,
.token-item,
.action-btn,
.modal-close,
.pwa-close,
.pwa-install-btn,
.pwa-later-btn,
.checkbox-label {
    min-height: 44px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

/* KRITIK: Buton içindeki elementler tıklamayı engelleyebilir */
/* pointer-events: none ile tıklama her zaman butona gider */
button > i,
button > span,
button > svg,
.btn-primary > i,
.btn-primary > span,
.btn-secondary > i,
.btn-secondary > span,
.btn-danger > i,
.btn-danger > span,
.pwa-install-btn > i,
.pwa-install-btn > span,
.sidebar-item > *,
.action-btn > * {
    pointer-events: none;
}

/* iOS Safe Area için fixed elementler */
.fixed-bottom {
    padding-bottom: env(safe-area-inset-bottom, 20px);
}

/* Hover sadece mouse destekleyen cihazlarda */
@media (hover: hover) and (pointer: fine) {
    button:hover,
    a:hover,
    .btn-primary:hover,
    .btn-secondary:hover,
    .sidebar-item:hover,
    .token-item:hover,
    .action-btn:hover {
        /* Hover stilleri sadece desktop'ta */
    }
}

/* Touch cihazlarda hover devre dışı */
@media (hover: none) {
    button:hover,
    a:hover {
        /* Hover efektlerini iptal et */
        background: inherit !important;
        transform: none !important;
    }
    
    /* Active state mobilde daha belirgin */
    button:active,
    a:active,
    .btn-primary:active,
    .btn-secondary:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                           BACKGROUND                                       │
   └────────────────────────────────────────────────────────────────────────────┘ */
.bg-gradient {
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                          APP CONTAINER                                     │
   └────────────────────────────────────────────────────────────────────────────┘ */
.app {
    position: relative;
    z-index: 1;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                             HEADER                                         │
   └────────────────────────────────────────────────────────────────────────────┘ */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.menu-btn:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

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

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-accent);
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-icon.fallback {
    background: linear-gradient(135deg, var(--accent) 0%, #b8962e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--bg-primary);
}

.logo-text {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--accent);
}

.network-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-card);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.network-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                              MAIN                                          │
   └────────────────────────────────────────────────────────────────────────────┘ */
.main {
    flex: 1;
    padding: 24px 0;
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                            SCREENS                                         │
   └────────────────────────────────────────────────────────────────────────────┘ */
.screen {
    animation: fadeIn 0.4s ease;
}

.screen.hidden {
    display: none !important;
}

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

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                         WELCOME SCREEN                                     │
   └────────────────────────────────────────────────────────────────────────────┘ */
.welcome-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    text-align: center;
}

.welcome-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 24px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 40px var(--accent-glow);
}

.welcome-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.welcome-logo.fallback {
    background: linear-gradient(135deg, var(--accent) 0%, #b8962e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--bg-primary);
}

.welcome-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.welcome-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 300px;
    line-height: 1.6;
}

.welcome-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                            BUTTONS                                         │
   └────────────────────────────────────────────────────────────────────────────┘ */
.btn-primary {
    width: 100%;
    min-height: 52px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--accent) 0%, #b8962e 100%);
    border: none;
    border-radius: 14px;
    color: var(--bg-primary);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: var(--shadow-accent);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

/* Hover sadece mouse destekleyen cihazlarda */
@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 32px var(--accent-glow);
    }
}

.btn-primary:active:not(:disabled) {
    transform: scale(0.98);
    background: linear-gradient(135deg, var(--accent) 0%, #b8962e 100%) !important;
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-secondary {
    width: 100%;
    min-height: 52px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s ease, background 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

@media (hover: hover) and (pointer: fine) {
    .btn-secondary:hover {
        background: var(--bg-elevated);
        border-color: var(--border-accent);
    }
}

.btn-secondary:active {
    transform: scale(0.98);
    background: var(--bg-card) !important;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                          SETUP SCREENS                                     │
   └────────────────────────────────────────────────────────────────────────────┘ */
.setup-screen {
    padding-top: 20px;
}

.setup-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.back-btn {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    text-decoration: none;
}

.back-btn:hover {
    background: var(--bg-elevated);
    color: var(--text-primary);
}

.setup-title {
    font-size: 22px;
    font-weight: 600;
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                          SEED PHRASE                                       │
   └────────────────────────────────────────────────────────────────────────────┘ */
.seed-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.seed-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.seed-warning i {
    color: var(--warning);
    font-size: 18px;
    margin-top: 2px;
}

.seed-warning p {
    font-size: 13px;
    color: var(--warning);
    line-height: 1.5;
}

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

.seed-word {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.seed-word .num {
    color: var(--text-muted);
    font-size: 11px;
    min-width: 18px;
}

.seed-word .word {
    color: var(--text-primary);
}

.seed-actions {
    display: flex;
    gap: 10px;
}

.seed-actions button {
    flex: 1;
    padding: 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.seed-actions button:hover {
    background: var(--accent-soft);
    border-color: var(--border-accent);
    color: var(--accent);
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                        VERIFY SEED SCREEN                                  │
   └────────────────────────────────────────────────────────────────────────────┘ */
.verify-container {
    margin-bottom: 24px;
}

.verify-info {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-lg);
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.verify-info i {
    color: #8b5cf6;
    font-size: 20px;
    margin-top: 2px;
}

.verify-info p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.verify-inputs {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.verify-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.verify-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}

.verify-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    outline: none;
    transition: all 0.2s ease;
}

.verify-input:focus {
    border-color: var(--accent);
    background: var(--bg-elevated);
}

.verify-input.error {
    border-color: var(--error);
    background: rgba(248, 113, 113, 0.1);
    animation: shake 0.5s ease;
}

.verify-error {
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    color: var(--error);
    font-size: 14px;
}

.verify-error.hidden {
    display: none;
}

.verify-error i {
    font-size: 18px;
}

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

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                            FORMS                                           │
   └────────────────────────────────────────────────────────────────────────────┘ */

/* iOS ZOOM FIX - ÇOK ÖNEMLİ!
   iOS, 16px altındaki input'larda otomatik zoom yapar.
   Bu kural zoom'un tetiklenmesini engeller. */
input,
textarea,
select,
.form-input,
.form-textarea,
.verify-input {
    font-size: 16px !important;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

.form-textarea {
    resize: none;
    min-height: 120px;
    line-height: 1.6;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

.form-error {
    font-size: 12px;
    color: var(--error);
    margin-top: 6px;
    display: none;
}

.form-error.show {
    display: block;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 8px 0;
    min-height: 44px;
}

.checkbox-input {
    width: 24px;
    height: 24px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.checkbox-label {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
    padding: 2px 0;
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                         BALANCE CARD                                       │
   └────────────────────────────────────────────────────────────────────────────┘ */
.balance-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.balance-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-soft) 0%, transparent 70%);
    pointer-events: none;
}

.balance-label {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.balance-amount {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 4px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.balance-amount .symbol {
    font-size: 18px;
    color: var(--accent);
    font-weight: 600;
}

.balance-usd {
    font-size: 14px;
    color: var(--text-muted);
}

.address-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.address-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--text-secondary);
    flex: 1;
}

.icon-btn {
    width: 36px;
    height: 36px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background: var(--accent-soft);
    border-color: var(--border-accent);
    color: var(--accent);
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                          ACTIONS                                           │
   └────────────────────────────────────────────────────────────────────────────┘ */
.actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.action-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 12px;
    min-height: 90px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    font-family: inherit;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

@media (hover: hover) and (pointer: fine) {
    .action-btn:hover {
        background: var(--bg-elevated);
        border-color: var(--border-accent);
    }
}

.action-btn:active {
    transform: scale(0.96);
    background: var(--bg-elevated);
}

.action-btn .icon {
    width: 44px;
    height: 44px;
    background: var(--accent-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 18px;
}

.action-btn span {
    font-size: 13px;
    font-weight: 500;
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                         TOKEN LIST                                         │
   └────────────────────────────────────────────────────────────────────────────┘ */
.section-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.token-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.token-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.token-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    overflow: hidden;
}

.token-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.token-icon.aikey {
    background: linear-gradient(135deg, var(--accent) 0%, #b8962e 100%);
    color: var(--bg-primary);
}

.token-icon.bnb {
    background: linear-gradient(135deg, #f3ba2f 0%, #d4a422 100%);
    color: var(--bg-primary);
}

.token-icon.usdt {
    background: linear-gradient(135deg, #f3ba2f 0%, #d4a422 100%);
    color: #000;
}

.token-info {
    flex: 1;
}

.token-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}

.token-network {
    font-size: 12px;
    color: var(--text-muted);
}

.token-balance {
    text-align: right;
}

.token-amount {
    font-weight: 600;
    font-size: 15px;
    font-family: 'JetBrains Mono', monospace;
}

.token-value {
    font-size: 12px;
    color: var(--text-muted);
}

/* CTA Load AIKEY Button */
.cta-load-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    margin-top: 10px;
    background: linear-gradient(135deg, #f3ba2f 0%, #d4a422 100%);
    border: none;
    border-radius: 14px;
    color: #000000;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

.cta-load-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(16, 185, 129, 0.4);
}

.cta-load-btn:active {
    transform: translateY(0);
}

.cta-load-btn i {
    font-size: 18px;
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                          SETTINGS                                          │
   └────────────────────────────────────────────────────────────────────────────┘ */
.settings-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 8px;
    text-decoration: none;
    color: inherit;
}

.settings-item:hover {
    background: var(--bg-elevated);
}

.settings-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.settings-item-icon {
    width: 36px;
    height: 36px;
    background: var(--bg-elevated);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
}

.settings-item-text {
    font-size: 14px;
    font-weight: 500;
}

.settings-item-arrow {
    color: var(--text-muted);
}

.settings-item.danger {
    border-color: rgba(248, 113, 113, 0.2);
}

.settings-item.danger .settings-item-icon {
    background: rgba(248, 113, 113, 0.1);
    color: var(--error);
}

.settings-item.danger .settings-item-text {
    color: var(--error);
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                           SIDEBAR                                          │
   └────────────────────────────────────────────────────────────────────────────┘ */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 80vw;
    background: var(--bg-secondary);
    z-index: 101;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sidebar-overlay.active .sidebar {
    transform: translateX(0);
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-close {
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.sidebar-section {
    margin-bottom: 24px;
}

.sidebar-section-title {
    font-size: 12px;
    font-weight: 600;
    color: #c9c9c9;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 12px;
    margin-bottom: 8px;
}

/* Accordion Styles */
.sidebar-section.accordion .sidebar-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    padding: 12px 16px;
    margin: 4px 0;
    background: var(--bg-elevated);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.sidebar-section.accordion .sidebar-section-title:hover {
    background: rgba(212, 175, 55, 0.1);
}

.sidebar-section.accordion .sidebar-section-title span {
    font-size: 11px;
}

.accordion-arrow {
    font-size: 10px;
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.sidebar-section.accordion.active .accordion-arrow {
    transform: rotate(180deg);
    color: var(--accent);
}

.sidebar-section.accordion.active .sidebar-section-title {
    color: var(--accent);
    background: var(--accent-soft);
}

.sidebar-section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sidebar-section.accordion.active .sidebar-section-content {
    max-height: 500px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    min-height: 52px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
    text-decoration: none;
    color: var(--text-primary);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

@media (hover: hover) and (pointer: fine) {
    .sidebar-item:hover {
        background: var(--bg-card);
    }
}

.sidebar-item:active {
    background: var(--bg-card);
    transform: scale(0.98);
}

.sidebar-item.active {
    background: var(--accent-soft);
    color: var(--accent);
}

.sidebar-item-icon {
    width: 36px;
    height: 36px;
    background: var(--bg-elevated);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 16px;
}

.sidebar-item.active .sidebar-item-icon {
    background: var(--accent);
    color: var(--bg-primary);
}

.sidebar-item-text {
    font-size: 14px;
    font-weight: 500;
}

.sidebar-item.danger {
    color: var(--error);
}

.sidebar-item.danger .sidebar-item-icon {
    background: rgba(248, 113, 113, 0.1);
    color: var(--error);
}

.sidebar-item.danger:hover {
    background: rgba(248, 113, 113, 0.1);
}

/* Sidebar CTA Button */
.sidebar-cta {
    padding: 16px;
    margin-top: auto;
}

.sidebar-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--accent) 0%, #b8962e 100%);
    border: none;
    border-radius: 12px;
    color: var(--bg-primary);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px var(--accent-glow);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.sidebar-cta-btn i {
    font-size: 16px;
}

.sidebar-cta-btn:active {
    transform: scale(0.98);
}

@media (hover: hover) and (pointer: fine) {
    .sidebar-cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px var(--accent-glow);
    }
}

.sidebar-footer {
    padding: 16px;
    border-top: 1px solid var(--border);
}

.sidebar-footer-info {
    text-align: center;
    margin-bottom: 12px;
}

.footer-version-text {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-update-text {
    font-size: 10px;
    color: var(--text-muted);
}

.sidebar-footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.sidebar-footer-links a {
    font-size: 11px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.sidebar-footer-links a:hover {
    color: var(--accent);
}

.sidebar-footer-links .divider {
    color: var(--border);
    font-size: 10px;
}

.language-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    outline: none;
}

.language-select:focus {
    border-color: var(--accent);
}

/* Page Footer */
.page-footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    margin-top: 24px;
}

.footer-info {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                            MODAL                                           │
   └────────────────────────────────────────────────────────────────────────────┘ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-secondary);
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-width: 430px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--bg-secondary);
    z-index: 10;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
}

.modal-close {
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .modal-close:hover {
        background: var(--bg-elevated);
        color: var(--text-primary);
    }
}

.modal-close:active {
    transform: scale(0.95);
}

.modal-body {
    padding: 24px;
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                         LOGOUT MODAL                                       │
   └────────────────────────────────────────────────────────────────────────────┘ */
.logout-modal .modal-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding-top: 28px;
}

.logout-warning-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(248, 113, 113, 0.2) 0%, rgba(239, 68, 68, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logout-warning-icon i {
    font-size: 28px;
    color: var(--error);
}

.logout-modal .modal-title {
    color: var(--error);
    font-size: 20px;
}

.logout-modal .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
}

.logout-warnings {
    margin-bottom: 20px;
}

.logout-warning-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 10px;
}

.logout-warning-item i {
    color: var(--warning);
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.logout-warning-item p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.logout-warning-item.danger {
    background: rgba(248, 113, 113, 0.1);
    border-color: rgba(248, 113, 113, 0.3);
}

.logout-warning-item.danger i {
    color: var(--error);
}

.logout-warning-item.danger p {
    color: var(--error);
    font-weight: 500;
}

.logout-copy-btn {
    width: 100%;
    margin-bottom: 20px;
}

.logout-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

/* Logout modal içindeki checkbox'lar için özel stiller */
.logout-checkboxes .checkbox-group {
    margin-bottom: 0;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    min-height: 52px;
}

.logout-checkboxes .checkbox-input {
    width: 24px;
    height: 24px;
}

.logout-checkboxes .checkbox-label {
    font-size: 14px;
    line-height: 1.4;
}

.btn-danger {
    width: 100%;
    min-height: 52px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--error) 0%, #dc2626 100%);
    border: none;
    border-radius: var(--radius-md);
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

.btn-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    .btn-danger:not(:disabled):hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(248, 113, 113, 0.4);
    }
}

.btn-danger:not(:disabled):active {
    transform: scale(0.98);
}

/* QR Code */
.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.qr-wrapper {
    background: white;
    padding: 16px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.qr-wrapper canvas {
    display: block;
}

.qr-address {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--text-secondary);
    word-break: break-all;
    padding: 12px 16px;
    background: var(--bg-card);
    border-radius: 10px;
    width: 100%;
    margin-bottom: 16px;
}

/* Amount Input */
.amount-input-wrapper {
    position: relative;
}

.amount-max {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-soft);
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.amount-max:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                            TOAST                                           │
   └────────────────────────────────────────────────────────────────────────────┘ */
.toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    z-index: 200;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 90%;
    text-align: center;
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success {
    border-color: rgba(74, 222, 128, 0.3);
}

.toast.error {
    border-color: rgba(248, 113, 113, 0.3);
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                           SPINNER                                          │
   └────────────────────────────────────────────────────────────────────────────┘ */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                          PWA INSTALL MODAL                                 │
   └────────────────────────────────────────────────────────────────────────────┘ */

/* Overlay - Farklı renk (mor/mavi gradient) */
.pwa-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(139, 92, 246, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.pwa-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Box */
.pwa-modal-box {
    background: var(--bg-card);
    border-radius: 24px;
    padding: 32px 24px;
    max-width: 340px;
    width: 100%;
    text-align: center;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.pwa-overlay.active .pwa-modal-box {
    transform: scale(1) translateY(0);
}

/* Close Button */
.pwa-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-elevated);
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
    z-index: 10;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
    .pwa-close:hover {
        background: var(--error);
        color: white;
    }
}

.pwa-close:active {
    transform: scale(0.95);
    background: var(--error);
    color: white;
}

/* Icon */
.pwa-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 20px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pwa-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}

.pwa-icon i {
    font-size: 40px;
    color: var(--accent);
}

/* Heading */
.pwa-heading {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

/* Description */
.pwa-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Features Grid */
.pwa-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 28px;
}

.pwa-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.pwa-feature i {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-radius: 12px;
    color: #8b5cf6;
    font-size: 18px;
}

.pwa-feature span {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Install Button */
.pwa-install-btn {
    width: 100%;
    min-height: 52px;
    padding: 16px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

@media (hover: hover) and (pointer: fine) {
    .pwa-install-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
    }
}

.pwa-install-btn:active {
    transform: scale(0.98);
}

/* Later Button */
.pwa-later-btn {
    width: 100%;
    min-height: 48px;
    padding: 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 14px;
    cursor: pointer;
    margin-top: 8px;
    transition: color 0.2s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    -webkit-user-select: none;
}

@media (hover: hover) and (pointer: fine) {
    .pwa-later-btn:hover {
        color: var(--text-primary);
    }
}

.pwa-later-btn:active {
    opacity: 0.7;
}

/* iOS Steps */
.pwa-ios-steps {
    text-align: left;
    margin-bottom: 24px;
    background: var(--bg-elevated);
    border-radius: 16px;
    padding: 16px;
}

.pwa-ios-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.pwa-ios-step:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.pwa-ios-step:first-child {
    padding-top: 0;
}

.pwa-ios-step .step-num {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
}

.pwa-ios-step .step-text {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    line-height: 1.5;
}

.pwa-ios-step .step-text i {
    color: #007AFF;
    font-size: 16px;
}

.pwa-ios-step .step-text strong {
    color: var(--text-primary);
}

/* iOS Share Button Pointer */
.pwa-ios-pointer {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: white;
    animation: bouncePointer 1.5s ease-in-out infinite;
}

.pwa-ios-pointer i {
    font-size: 28px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.pwa-ios-pointer span {
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@keyframes bouncePointer {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* PWA Modal Box - iOS için relative position */
#pwaModalIOS .pwa-modal-box {
    position: relative;
    margin-bottom: 80px;
}

/* ┌────────────────────────────────────────────────────────────────────────────┐
   │                          RESPONSIVE                                        │
   └────────────────────────────────────────────────────────────────────────────┘ */
@media (max-width: 380px) {
    .balance-amount {
        font-size: 28px;
    }
    
    .actions {
        gap: 8px;
    }
    
    .action-btn {
        padding: 12px 8px;
    }
    
    .action-btn .icon {
        width: 40px;
        height: 40px;
    }
    
    .seed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
