@font-face {
    font-family: 'ZaygramAppFont';
    src: url('font/zaygram.ttf') format('truetype');
}

/* ==========================================
   ZAYGRAM - FULL SCREEN ROYAL THEME
   ========================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    /* 🚨 BACKGROUND GRADIENT PURI SCREEN PAR */
    background: linear-gradient(180deg, #D3361E 0%, #E65C22 40%, #F07830 100%);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* --- TOP & BOTTOM PATTERNS --- */
.top-pattern, .bottom-pattern {
    position: absolute;
    width: 100%;
    height: 120px;
    object-fit: cover;
    opacity: 0.2; /* Halka sa dikhega */
    z-index: 1;
    pointer-events: none;
}
.top-pattern { top: 0; left: 0; }
.bottom-pattern { bottom: 0; left: 0; transform: rotate(180deg); } /* 180 degree ghuma diya */

/* --- MAIN LAYOUT (Left Content + Right Form) --- */
.main-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    width: 100%;
    margin: auto; /* Center me lane ke liye */
    padding: 0 40px;
    z-index: 5;
    flex-grow: 1;
}

/* --- LEFT SIDE: CONTENT --- */
.left-content {
    flex: 1;
    padding-right: 60px;
}

.left-content h1 {
    font-family: 'ZaygramAppFont', sans-serif; 
    font-size: 5rem;
    margin-bottom: 10px;
    color: #FFFFFF; /* 🚨 बस ये नॉर्मल सफ़ेद रंग लगा दिया है */
    text-shadow: 2px 4px 10px rgba(0,0,0,0.3); /* हल्की सी परछाई ताकि साफ़ दिखे */
}

.left-content h2 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.left-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Download Buttons */
.app-buttons {
    display: flex;
    gap: 15px;
}
.store-btn {
    background: #000000;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
}
.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

/* --- RIGHT SIDE: GLASS LOGIN BOX --- */
.right-column {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
}

.login-box-glass {
    /* Glassmorphism Effect */
    background: rgba(0, 0, 0, 0.4); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 380px;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-icon { width: 100px; margin-bottom: 20px; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); }
.logo-title { 
    font-family: 'ZaygramAppFont', sans-serif; /* 🚨 फॉन्ट यहाँ बदला है */
    font-size: 40px; 
    margin-bottom: 30px; 
}

/* Inputs */
.royal-form { width: 100%; display: flex; flex-direction: column; }
.royal-input {
    width: 100%;
    background-color: #FFF3E0;
    border: none;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    font-size: 15px;
    color: #5D4037;
    outline: none;
}
.royal-input::placeholder { color: #A1887F; }
.royal-input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,0.4); }

.forgot-pass { align-self: flex-end; color: #FFF; font-size: 13px; text-decoration: none; margin-bottom: 25px; opacity: 0.8; }
.forgot-pass:hover { opacity: 1; text-decoration: underline; }

/* Button */
.btn-royal-login {
    background-color: #9B111E;
    color: #FFF;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
.btn-royal-login:hover { background-color: #7A0D18; transform: translateY(-2px); }

.signup-area { margin-top: 25px; font-size: 14px; }
.signup-area a { color: #FFC107; font-weight: bold; text-decoration: none; }

/* --- FOOTER --- */
.site-footer { text-align: center; padding: 20px; color: rgba(255,255,255,0.7); font-size: 13px; z-index: 5; }
.site-footer a { color: #FFF; text-decoration: none; margin: 0 8px; font-weight: 600; }

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
    .main-container { flex-direction: column; text-align: center; padding: 40px 20px; }
    .left-content { padding-right: 0; margin-bottom: 40px; }
    .app-buttons { justify-content: center; }
    .right-column { justify-content: center; width: 100%; }
    .login-box-glass { width: 100%; max-width: 400px; }
    .top-pattern, .bottom-pattern { display: none; } /* Mobile me patterns hata do taki clean lage */
}

/* ==========================================
   📱 MOBILE APP-LIKE EXPERIENCE (FIXED SCROLL)
   ========================================== */
@media (max-width: 900px) {
    /* 🚨 Yahan se overflow: hidden aur height: 100vh hata diya gaya hai taaki feed scroll ho sake */
    body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        background: linear-gradient(180deg, #D3361E 0%, #E65C22 40%, #F07830 100%);
    }

    .main-container { 
        padding: 20px; 
        margin: 0; 
        min-height: 100vh;
        width: 100%;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    
    /* Left side (Desktop Animation) ko mobile me gayab kar do */
    .left-content, .hero-section { 
        display: none !important; 
    }
    
    .right-column { 
        width: 100%; 
        justify-content: center; 
        align-items: center;
    }

    /* Glass Box */
    .login-box-glass { 
        width: 100%; 
        max-width: 400px; 
        border-radius: 20px; 
        border: none;
        box-shadow: none;
        background: transparent; 
        padding: 20px;
    }

    .royal-input { 
        padding: 18px 20px; 
        font-size: 16px; 
        border-radius: 12px;
    }
    .btn-royal-login { 
        padding: 18px; 
        font-size: 18px; 
        border-radius: 30px;
    }

    /* Footer fix */
    .site-footer {
        position: relative;
        bottom: 0;
        width: 100%;
        padding: 20px 10px;
    }
    
    .top-pattern, .bottom-pattern { 
        display: block; 
        opacity: 0.15; 
    } 
}

/* Text select aur tap highlight hatao (Real app feel) */
input, button, a, .touch-layer {
    -webkit-tap-highlight-color: transparent;
}
body {
    -webkit-user-select: none;
    user-select: none;
}
input, textarea {
    -webkit-user-select: auto;
    user-select: auto;
}

/* Text select aur tap highlight hatao (Real app feel) */
input, button, a {
    -webkit-tap-highlight-color: transparent;
}
body {
    -webkit-user-select: none; /* Text copy hone se rokega */
    user-select: none;
}
input {
    -webkit-user-select: auto; /* Sirf input box me type karne dega */
    user-select: auto;
}
