/* AI Girlfriend Chat - Premium Styles */
/* Matching BFF Calculator aesthetic */

:root {
    --primary: #ff6b9d;
    --secondary: #c44fff;
    --accent: #ff6b6b;
    --glow: rgba(255, 107, 157, 0.4);
    
    --bg-dark: #0a0a0f;
    --bg-card: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-full: 100px;
    
    --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        #0a0a0f 0%,
        #1a0a1f 25%,
        #0f0a1a 50%,
        #1a0f1f 75%,
        #0a0a0f 100%
    );
    background-size: 400% 400%;
    animation: gradientShift 20s ease infinite;
    z-index: -2;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.bg-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--secondary);
    bottom: -150px;
    left: -150px;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes orbFloat {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% { 
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.5;
    }
    50% { 
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.4;
    }
    75% { 
        transform: translate(20px, 30px) scale(1.05);
        opacity: 0.35;
    }
}

/* ===== APP CONTAINER ===== */
.app {
    position: relative;
    width: 100%;
    height: 100vh;
    max-width: 480px;
    margin: 0 auto;
    overflow: hidden;
}

/* ===== SCREENS ===== */
.screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.5s var(--ease-out-expo);
}

.screen.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.screen-content {
    width: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    max-height: 100%;
    overflow-y: auto;
}

/* ===== INTRO SCREEN ===== */
.logo-container {
    text-align: center;
    animation: slideDown 0.8s var(--ease-out-expo) forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px var(--glow);
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 10px 40px var(--glow);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 15px 60px var(--glow);
    }
}

.logo-emoji {
    font-size: 40px;
    animation: emojiFloat 2s ease-in-out infinite;
}

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

.title {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 400;
}

.intro-card {
    width: 100%;
    padding: 24px;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    animation: slideUp 0.8s var(--ease-out-expo) 0.2s forwards;
    opacity: 0;
}

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

.intro-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    text-align: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
}

.trust-icon {
    font-size: 18px;
}

.trust-text {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.primary-btn {
    width: 100%;
    padding: 20px 32px;
    font-size: 18px;
    font-family: inherit;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 10px 40px var(--glow);
    animation: slideUp 0.8s var(--ease-out-expo) 0.4s forwards;
    opacity: 0;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px var(--glow);
}

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

.btn-text {
    font-weight: 700;
}

.btn-icon {
    font-size: 20px;
}

/* ===== GEO BLOCK ===== */
.geo-block-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.geo-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.geo-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.geo-message {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== GIRL SELECTION ===== */
.selection-header {
    width: 100%;
    margin-bottom: 8px;
}

.selection-title {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.selection-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
}

.girls-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 24px;
}

.girl-card {
    padding: 20px;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 16px;
}

.girl-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
}

.girl-card.locked {
    opacity: 0.5;
    cursor: not-allowed;
}

.girl-card.locked:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.girl-card.locked {
    cursor: pointer;
}

.girl-card.locked::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 107, 157, 0.05);
    border-radius: var(--radius-md);
    pointer-events: none;
}

.girl-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.girl-avatar.locked-avatar {
    opacity: 0.6;
}

.avatar-lock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    backdrop-filter: blur(2px);
}

.girl-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.locked-message {
    font-size: 11px;
    color: var(--primary);
    margin-top: 4px;
    font-weight: 600;
}

.girl-info {
    flex: 1;
}

.girl-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.girl-vibe {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.girl-lock {
    font-size: 20px;
    color: var(--text-muted);
}

/* ===== CHAT SCREEN ===== */
.chat-screen {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    position: relative;
}

.chat-header {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 10;
}

.back-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-header-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.chat-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chat-header-text {
    flex: 1;
}

.chat-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.chat-status {
    font-size: 12px;
    color: var(--text-secondary);
}

.minutes-display {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.buy-time-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px var(--glow);
}

.buy-time-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px var(--glow);
}

.buy-time-btn:active {
    transform: scale(0.95);
}

.minutes-icon {
    font-size: 16px;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px 80px 16px; /* Extra bottom padding for footer */
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start; /* Start from top */
}

.chat-message {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    animation: messageSlideUp 0.4s var(--ease-out-expo) forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes messageSlideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.ai {
    justify-content: flex-start;
}

.chat-message.user {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.5;
    word-wrap: break-word;
}

.chat-message.ai .message-bubble {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.chat-message.user .message-bubble {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-bottom-right-radius: 4px;
}

.typing-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    margin-left: 16px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-secondary);
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chat-input-container {
    padding: 12px 16px 80px 16px; /* Extra bottom padding for footer */
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 10;
}

.chat-input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 15px;
    font-family: inherit;
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s ease;
}

.chat-input::placeholder {
    color: var(--text-muted);
}

.chat-input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.chat-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.send-btn:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 0 5px 20px var(--glow);
}

.send-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ===== CONTACT BUTTON ===== */
.contact-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.contact-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 157, 0.3);
}

.contact-icon {
    font-size: 20px;
}

/* ===== CONTACT MODAL ===== */
.contact-content {
    padding: 32px 24px;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 24px;
}

.contact-icon-large {
    font-size: 48px;
    margin-bottom: 12px;
}

.contact-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.contact-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
    font-family: inherit;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--glow);
    margin-top: 8px;
}

.contact-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glow);
}

.contact-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.contact-success {
    text-align: center;
    padding: 32px 16px;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin: 0 auto 16px;
    font-weight: 700;
}

.success-message {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.6;
    margin: 0;
}

/* ===== PAYWALL MODAL ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

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

.modal-content {
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    max-width: 420px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideUp 0.3s var(--ease-out-expo);
}

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

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.paywall-content {
    padding: 32px 24px 24px 24px;
    max-height: 90vh;
    overflow-y: auto;
}

.paywall-header {
    text-align: center;
    margin-bottom: 32px;
}

.paywall-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.paywall-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.paywall-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.pricing-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.pricing-card {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(135deg, 
        rgba(255, 107, 157, 0.15), 
        rgba(196, 79, 255, 0.15)
    );
    position: relative;
}

.pricing-card.popular::before {
    content: 'Most Popular';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.pricing-amount {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.pricing-minutes {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    padding-left: 20px;
    position: relative;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.paywall-footer {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 16px;
    margin-bottom: 16px;
}

/* ===== PAYWALL BOTTOM ACTION ===== */
.paywall-bottom-action {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.paywall-buy-now-btn {
    width: 100%;
    padding: 18px 24px;
    font-size: 18px;
    font-family: inherit;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px var(--glow);
    margin-bottom: 8px;
}

.paywall-buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--glow);
}

.paywall-buy-now-btn:active {
    transform: scale(0.98);
}

.paywall-bottom-hint {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* ===== STORE SCREEN ===== */
.store-content {
    padding: 16px 24px 200px 24px; /* Extra bottom padding for fixed button */
    gap: 24px;
    max-height: 100vh;
    overflow-y: auto;
}

.store-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 8px;
}

.store-title {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    flex: 1;
}

.store-info {
    width: 100%;
}

.store-avatar-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.store-avatar-wrapper {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 4px;
    box-shadow: 0 8px 32px var(--glow);
}

.store-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-dark);
}

.current-minutes-card {
    padding: 24px;
    background: linear-gradient(135deg, 
        rgba(255, 107, 157, 0.15), 
        rgba(196, 79, 255, 0.15)
    );
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    text-align: center;
    margin-bottom: 16px;
}

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

.current-minutes-value {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-variant-numeric: tabular-nums;
}

.store-description {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
    margin: 0;
}

.pricing-options-store {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    margin-bottom: 16px;
}

.pricing-buy-btn {
    width: 100%;
    padding: 14px;
    margin-top: 16px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px var(--glow);
}

.pricing-buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--glow);
}

.pricing-buy-btn:active {
    transform: scale(0.98);
}

.store-footer-text {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
    margin-bottom: 24px;
    line-height: 1.5;
}

/* ===== STORE BOTTOM ACTION ===== */
.store-bottom-action {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    padding: 16px 24px 80px 24px; /* Extra bottom padding for footer */
    background: linear-gradient(to top, 
        rgba(10, 10, 15, 0.95) 0%,
        rgba(10, 10, 15, 0.85) 70%,
        transparent 100%
    );
    backdrop-filter: blur(20px);
    z-index: 100;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.store-buy-now-btn {
    width: 100%;
    padding: 18px 24px;
    font-size: 18px;
    font-family: inherit;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px var(--glow);
    margin-bottom: 8px;
}

.store-buy-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px var(--glow);
}

.store-buy-now-btn:active {
    transform: scale(0.98);
}

.btn-content {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.btn-price {
    font-size: 24px;
    font-weight: 900;
}

.btn-label {
    font-size: 16px;
    font-weight: 700;
    opacity: 0.95;
}

.btn-arrow {
    font-size: 20px;
    opacity: 0.9;
}

.store-bottom-hint {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

.pricing-card.selected {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary);
}

/* ===== PREVIOUS CHATS SECTION ===== */
.previous-chats-section {
    width: 100%;
    margin-bottom: 24px;
}

.previous-chats-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 0 4px;
}

.previous-icon {
    font-size: 18px;
}

.previous-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.previous-chats-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.previous-chat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
}

.previous-chat-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
}

.previous-chat-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.previous-chat-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.previous-chat-info {
    flex: 1;
}

.previous-chat-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.previous-chat-time {
    font-size: 12px;
    color: var(--text-secondary);
}

.previous-chat-arrow {
    font-size: 20px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.previous-chat-card:hover .previous-chat-arrow {
    color: var(--primary);
    transform: translateX(4px);
}

.girls-separator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    width: 100%;
}

.separator-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.separator-text {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ===== FOOTER ===== */
.app-footer {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 10px;
    color: var(--text-muted);
    z-index: 5; /* Below input container */
    pointer-events: none; /* Allow clicks to pass through */
}

/* ===== RESPONSIVE ===== */
@media (max-height: 700px) {
    .screen-content {
        gap: 20px;
        padding: 16px;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .logo-emoji {
        font-size: 30px;
    }
    
    .title {
        font-size: 26px;
    }
}

@media (min-width: 480px) {
    .screen-content {
        padding: 32px;
    }
}

