@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@700;900&family=Padauk:wght@400;700&display=swap');

/* 🖥️ PC/TABLET BACKGROUND (BLACK THEME) */
body {
    font-family: 'Padauk', sans-serif;
    background-color: #000000;
    background-image:
        radial-gradient(circle at 50% 0%, #333333 0%, #000000 100%),
        url('https://www.transparenttextures.com/patterns/cubes.png');
    background-attachment: fixed;
    background-size: cover;
    color: white;
    -webkit-tap-highlight-color: transparent;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.font-eng {
    font-family: 'Exo 2', sans-serif;
}

/* 📱 MOBILE APP FRAME (BLACK THEME) */
#app-frame {
    width: 100%;
    max-width: 480px;
    min-height: 100vh;
    background-color: #000000;
    background-image: radial-gradient(circle at 50% 0%, #2a2a2a 0%, #000000 80%);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow-x: hidden;
}

/* 💎 GLASSMORPHISM (DARK) */
.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

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

.animate-slide-up {
    animation: slideUp 0.4s ease-out forwards;
}

@keyframes marquee {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.animate-marquee {
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.ad-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 10px 0;
    overflow: hidden;
}

/* SHINY BUTTON */
.btn-shine {
    position: relative;
    overflow: hidden;
}

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

.btn-shine:active::after {
    left: 100%;
    transition: 0s;
}

/* ============================
   ✅ FULL SCREEN CHAT CSS
   ============================ */

.chat-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* မျက်နှာပြင်အပြည့် */
    background: #000000; /* နောက်ခံအမည်းရောင် အပြည့် */
    z-index: 9999; /* အပေါ်ဆုံးမှာနေမယ် */
    display: flex;
    flex-direction: column;
    
    /* ညာဘက်မှ ဘယ်ဘက်သို့ ဝင်လာမည့် Effect */
    transform: translateX(100%); 
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chat-modal.active {
    transform: translateX(0); /* Active ဖြစ်ရင် နေရာမှန်ရောက်မယ် */
}

.chat-header {
    background: #111;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background-image: 
        linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
        url('https://www.transparenttextures.com/patterns/cubes.png');
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* စာရိုက်ကွက် ဒီဇိုင်း */
.chat-input-area {
    padding: 15px;
    background: #111;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    gap: 10px;
    padding-bottom: 20px; /* iPhone တို့အတွက် အောက်ခြေနည်းနည်းခွာ */
}

/* စာသား Box များ */
.msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.5;
    word-wrap: break-word;
    position: relative;
}
.msg.user {
    align-self: flex-end;
    background: linear-gradient(135deg, #eab308, #ca8a04); /* Yellow Theme */
    color: black;
    font-weight: bold;
    border-bottom-right-radius: 4px;
}
.msg.bot {
    align-self: flex-start;
    background: #1e293b;
    color: #e2e8f0;
    border: 1px solid #334155;
    border-bottom-left-radius: 4px;
}

/* Typing Animation */
.typing-dots span {
    display: inline-block; width: 6px; height: 6px; background: #fbbf24;
    border-radius: 50%; margin: 0 2px; animation: blink 1.4s infinite both;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0% { opacity: 0.2; } 20% { opacity: 1; } 100% { opacity: 0.2; } }
