/* AI Helper Chat Landing - Premium Design */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.chat-container {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    min-height: 600px;
    display: flex;
    flex-direction: column;
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
}

.ai-avatar {
    position: relative;
    width: 50px;
    height: 50px;
}

.avatar-img {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background: #00ff00;
    border-radius: 50%;
    border: 2px solid white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(0, 255, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0); }
}

.ai-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 2px;
}

.ai-status {
    font-size: 14px;
    opacity: 0.9;
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #f8f9fa;
    max-height: calc(100vh - 200px);
    scroll-behavior: smooth;
}

.message {
    display: flex;
    flex-direction: column;
    animation: slideIn 0.5s ease-out;
}

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

.ai-message {
    align-items: flex-start;
}

.user-message {
    align-items: flex-end;
}

.message-bubble {
    max-width: 80%;
    padding: 15px 18px;
    border-radius: 20px;
    position: relative;
    word-wrap: break-word;
}

.ai-message .message-bubble {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-bottom-left-radius: 8px;
}

.user-message .message-bubble {
    background: #e3f2fd;
    color: #333;
    border-bottom-right-radius: 8px;
}

.message-bubble p {
    margin: 0;
    line-height: 1.4;
    font-size: 16px;
}

.message-time {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    padding: 0 10px;
}

/* Answer Buttons */
.answer-buttons {
    padding: 20px;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: slideUp 0.5s ease-out;
}

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

.answer-btn {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    text-align: left;
    width: 100%;
}

.answer-btn:hover {
    border-color: #667eea;
    background: #f5f7ff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

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

.answer-icon {
    font-size: 20px;
    width: 30px;
    text-align: center;
}

.answer-content {
    flex: 1;
}

.answer-text {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.answer-desc {
    display: block;
    font-size: 14px;
    color: #666;
}

/* Typing Indicator */
.typing-indicator {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    animation: fadeIn 0.3s ease;
}

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

.typing-bubble {
    background: linear-gradient(135deg, #667eea, #764ba2);
    padding: 12px 16px;
    border-radius: 20px;
    border-bottom-left-radius: 8px;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) { animation-delay: 0s; }
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

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

.typing-text {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Match Results - REDESIGNED BADASS VERSION */
.match-results {
    padding: 0;
    background: #000;
    text-align: center;
    animation: slideIn 0.8s ease-out;
    color: white;
    position: relative;
    overflow: hidden;
}

.final-reveal {
    position: relative;
    overflow: hidden;
}

/* Full-screen girl image background */
.match-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff0040, #ff69b4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-align: center;
    overflow: hidden;
}

.avatar-placeholder img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}

/* Dark overlay for text readability */
.final-reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg, 
        rgba(0,0,0,0.7) 0%, 
        rgba(0,0,0,0.4) 40%, 
        rgba(0,0,0,0.8) 100%
    );
    z-index: 2;
}

/* Content overlay */
.reveal-content {
    position: relative;
    z-index: 3;
    padding: 30px 20px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reveal-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 15px;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8);
    animation: pulse-effect 2s infinite;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.urgency-banner {
    background: rgba(255, 0, 64, 0.9);
    border-radius: 15px;
    padding: 12px 20px;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.urgency-text {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Girl info at bottom */
.girl-info {
    margin-top: auto;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 25px 25px 0 0;
    padding: 25px 20px;
    backdrop-filter: blur(15px);
}

.online-badge {
    display: inline-block;
    background: #00ff00;
    color: #000;
    font-size: 14px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    animation: pulse 2s infinite;
}

.girl-name {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.girl-status {
    font-size: 18px;
    margin-bottom: 8px;
    opacity: 0.95;
    font-weight: 600;
}

.girl-action {
    font-size: 16px;
    opacity: 0.9;
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.3;
}

.final-cta {
    position: relative;
}

.fuck-btn {
    display: block;
    background: linear-gradient(135deg, #ff0040, #ff69b4);
    color: white;
    text-decoration: none;
    padding: 22px 30px;
    border-radius: 50px;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 0, 64, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.fuck-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(255, 0, 64, 0.7);
    background: linear-gradient(135deg, #ff69b4, #ff0040);
}

.cta-urgency {
    display: block;
    font-size: 16px;
    font-weight: 600;
    margin-top: 8px;
    text-transform: none;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.countdown {
    font-weight: 900;
    color: #ffff00;
    text-shadow: 0 0 15px rgba(255, 255, 0, 0.8);
    font-size: 18px;
}

.cta-guarantee {
    font-size: 14px;
    opacity: 0.9;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Pulse Animation */
.pulse {
    animation: pulse-effect 2s infinite;
}

@keyframes pulse-effect {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .chat-container {
        max-width: 100%;
        border-radius: 20px;
        min-height: 100vh;
    }
    
    .chat-header {
        padding: 15px;
    }
    
    .ai-avatar, .avatar-img {
        width: 40px;
        height: 40px;
    }
    
    .ai-info h3 {
        font-size: 16px;
    }
    
    .message-bubble {
        max-width: 85%;
        padding: 12px 15px;
    }
    
    .message-bubble p {
        font-size: 15px;
    }
    
    .answer-btn {
        padding: 12px;
        font-size: 15px;
    }
    
    .match-card {
        padding: 25px 15px;
    }
    
    .match-avatar {
        width: 80px;
        height: 80px;
    }
    
    .match-name {
        font-size: 20px;
    }
    
    .chat-cta-btn {
        padding: 15px 25px;
        font-size: 16px;
    }
}

/* Very small screens */
@media (max-width: 360px) {
    .chat-messages {
        padding: 15px;
    }
    
    .answer-buttons {
        padding: 15px;
    }
    
    .match-results {
        padding: 20px 15px;
    }
}