/* ============================================
   VIBEBUY — Premium P2P File Transfer & Chat
   Dark Mode Design System
   ============================================ */

:root {
    --bg-primary: #050505;
    --bg-secondary: #0a0a0f;
    --bg-tertiary: #111118;
    --bg-card: #13131f;
    --bg-card-hover: #1a1a28;
    --bg-input: #0d0d14;

    --accent-purple: #a855f7;
    --accent-purple-glow: #c084fc;
    --accent-blue: #3b82f6;
    --accent-blue-glow: #60a5fa;
    --accent-gradient: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
    --accent-gradient-glow: linear-gradient(135deg, var(--accent-purple-glow) 0%, var(--accent-blue-glow) 100%);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dim: #475569;

    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(168, 85, 247, 0.3);
    --border-blue-glow: rgba(59, 130, 246, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(168, 85, 247, 0.15);
    --shadow-blue-glow: 0 0 40px rgba(59, 130, 246, 0.15);

    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

.app-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.debug-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
    margin-bottom: 20px;
    color: #fca5a5;
    font-size: 0.85rem;
    line-height: 1.5;
    animation: fadeInUp 0.3s ease-out;
}

.debug-box pre {
    white-space: pre-wrap;
    word-break: break-all;
    margin-top: 8px;
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 0.8rem;
    color: #fecaca;
}

.btn-debug-close {
    margin-top: 10px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    padding: 6px 14px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.btn-debug-close:hover {
    background: rgba(239, 68, 68, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--accent-gradient);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1rem;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.4); }
    50% { box-shadow: 0 0 30px rgba(168, 85, 247, 0.7); }
}

.logo-text { color: var(--text-primary); }
.logo-accent {
    background: var(--accent-gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.privacy-badge {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-blue-glow);
    background: rgba(59, 130, 246, 0.1);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-blue-glow);
}

.premium-indicator {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-purple-glow);
    background: rgba(168, 85, 247, 0.1);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-glow);
    display: flex;
    align-items: center;
    gap: 4px;
    animation: fadeInUp 0.4s ease-out;
}

.app-main {
    flex: 1;
    padding: 40px 0;
}

.panel { 
    animation: fadeInUp 0.6s ease-out; 
}

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

.hidden { display: none !important; }

.lang-notice {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    opacity: 0.7;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.mode-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.mode-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.mode-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.mode-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--accent-purple);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.mode-card:hover::before {
    opacity: 1;
}

.mode-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.mode-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.mode-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.back-nav {
    margin-bottom: 24px;
}

.btn-back {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    transition: all var(--transition-fast);
}

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

.panel-header {
    text-align: center;
    margin-bottom: 40px;
}

.main-title {
    font-size: clamp(1.8rem, 5vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 12px;
    background: var(--accent-gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto;
}

.drop-zone {
    position: relative;
    background: var(--bg-card);
    border: 2px dashed var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-base);
    max-width: 700px;
    margin: 0 auto;
}

.drop-zone:hover, .drop-zone.dragover {
    border-color: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.drop-icon {
    color: var(--accent-purple);
    margin-bottom: 16px;
}

.drop-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.chat-panel {
    max-width: 700px;
    margin: 0 auto;
}

.chat-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    height: 520px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.chat-header-bar {
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-room-badge {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-purple-glow);
}

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

.chat-system-msg {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    align-self: center;
    max-width: 80%;
}

.chat-msg {
    max-width: 75%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    word-break: break-word;
    animation: messageSlide 0.3s ease-out;
}

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

.chat-msg.incoming {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.chat-msg.outgoing {
    background: var(--accent-gradient);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-input-area {
    padding: 16px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.chat-input-area input:focus {
    border-color: var(--accent-purple);
}

.chat-input-area button {
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 0 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chat-input-area button:hover {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    transform: translateY(-1px);
}

.wait-panel {
    max-width: 600px;
    margin: 0 auto;
}

.wait-content { text-align: center; }

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    margin-bottom: 32px;
}

.status-badge.waiting {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-purple-glow);
    border: 1px solid var(--border-glow);
}

.status-badge.connected {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-purple);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.room-info {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
    margin-bottom: 24px;
    transition: all var(--transition-base);
}

.qr-container { margin-bottom: 24px; }
#qrcode {
    display: inline-block;
    padding: 16px;
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.qr-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.link-section {
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
}

.link-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.link-box {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.room-url-input {
    flex: 1;
    min-width: 200px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
}

.btn-copy {
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

.btn-copy:hover {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    transform: translateY(-1px);
}

.transfer-panel { max-width: 600px; margin: 0 auto; }
.transfer-content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.transfer-header { text-align: center; margin-bottom: 32px; }
.transfer-direction {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--accent-blue-glow);
    background: rgba(59, 130, 246, 0.1);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    margin-bottom: 12px;
}

.transfer-filename {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    word-break: break-all;
    margin-bottom: 4px;
}

.transfer-size {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.progress-track {
    width: 100%;
    height: 10px;
    background: var(--bg-input);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid var(--border-subtle);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent-gradient);
    border-radius: var(--radius-full);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
}

.progress-percent { color: var(--accent-purple-glow); }
.transfer-status { text-align: center; font-size: 0.9rem; color: var(--text-secondary); margin-top: 12px; }

.complete-panel { max-width: 500px; margin: 0 auto; }
.complete-content {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.success-icon {
    width: 72px;
    height: 72px;
    background: rgba(34, 197, 94, 0.1);
    border: 2px solid rgba(34, 197, 94, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #4ade80;
    margin: 0 auto 24px;
    animation: successPop 0.5s ease-out;
}

@keyframes successPop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.btn-download {
    display: block;
    width: 100%;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 12px;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-download:hover {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
}

.btn-new {
    display: block;
    width: 100%;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-new:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-glow);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 24px;
    animation: fadeIn 0.3s ease-out;
}

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

.modal {
    position: relative;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    max-width: 480px;
    width: 100%;
    overflow: hidden;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
}

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

.modal-content {
    position: relative;
    z-index: 1;
    padding: 40px 32px;
    text-align: center;
}

.modal-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.paywall-icon { font-size: 3rem; margin-bottom: 16px; animation: bounce 2s infinite; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.paywall-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.paywall-features {
    text-align: left;
    background: var(--bg-tertiary);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
    border: 1px solid var(--border-subtle);
}

.paywall-feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}
.paywall-feature:last-child { margin-bottom: 0; }
.paywall-feature .check { color: #4ade80; font-weight: 700; flex-shrink: 0; }

.paywall-price {
    margin-bottom: 24px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 4px;
}

.price-regular {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.7;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--accent-gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-note {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.btn-premium {
    display: block;
    width: 100%;
    background: var(--accent-gradient);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    margin-bottom: 12px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-premium:hover::after {
    left: 100%;
}

.btn-premium:hover {
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.5);
    transform: translateY(-2px);
}

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-glow);
    font-size: 0.9rem;
    z-index: 2000;
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
    box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--text-dim); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

@media (max-width: 640px) {
    .app-container { padding: 0 16px; }
    .mode-selection-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .transfer-content { padding: 24px; }
    .complete-content { padding: 32px 24px; }
    .modal-content { padding: 32px 20px; }
    .chat-wrapper { height: 450px; }
    .link-box { flex-direction: column; }
    .room-url-input { width: 100%; }
    .btn-copy { width: 100%; }
}

.btn-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.btn-modal-close:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--border-glow);
}

.modal.paywall-modal {
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-content {
    padding-bottom: 60px !important;
}