/* Universal Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

:root {
    --primary: #10b981; 
    --primary-dark: #047857;
    --primary-light: #d1fae5;
    --bg-main: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
}

a { text-decoration: none; color: var(--primary-dark); transition: 0.3s; }
a:hover { color: var(--primary); }

/* --- PERFECT HEADER (Logo Left, Buttons Right) --- */
.top-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between; 
    align-items: center;
    padding: 15px 5%;
    background-color: var(--white);
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-area {
    flex: 1;
    display: flex;
    justify-content: flex-start; 
}

.photo-logo { 
    width: 150px; 
    height: auto; 
    max-height: 50px; 
    object-fit: contain; 
}

.center-menu {
    flex: 2;
    display: flex;
    justify-content: center; 
}

.center-menu a {
    margin: 0 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.header-auth { 
    flex: 1;
    display: flex; 
    gap: 10px; 
    justify-content: flex-end; 
}

/* --- HEADER BUTTONS --- */
.btn-sm { 
    display: inline-block;
    padding: 8px 16px; 
    font-size: 0.95rem; 
    font-weight: 700;
    border-radius: 6px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}
.btn-outline-green {
    border: 2px solid var(--primary); 
    color: var(--primary-dark) !important; 
    background-color: transparent;
}
.btn-outline-green:hover { 
    background-color: var(--primary-light); 
}
.btn-solid-green { 
    background-color: var(--primary); 
    color: var(--white) !important; 
    border: 2px solid var(--primary);
}
.btn-solid-green:hover { 
    background-color: var(--primary-dark); 
}

/* --- MAIN BUTTONS --- */
.btn { 
    display: inline-block;
    padding: 16px 35px; 
    font-size: 1.1rem; 
    font-weight: 700;
    border-radius: 8px;
    margin: 10px 5px; 
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2); 
    cursor: pointer;
}
.btn-primary { background-color: var(--primary); color: var(--white) !important; border: 2px solid var(--primary); }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-3px); }
.btn-outline { background-color: transparent; border: 2px solid var(--primary-dark); color: var(--primary-dark) !important; box-shadow: none; }
.btn-outline:hover { background-color: var(--primary-dark); color: var(--white) !important; }
.btn-telegram { background: linear-gradient(90deg, #3b82f6, #4f46e5); color: #fff !important; }

/* --- IMAGES & PHOTOS (FIXED CROPPING ISSUE) --- */
.photo-box {
    border-radius: 12px;
    margin: 15px auto;
    display: block;
    width: 100%;
    height: auto; /* Fix: Height auto se puri photo dikhegi */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.photo-logo { box-shadow: none; margin: 0; }
.photo-hero { margin-top: 30px; }
.photo-gift { max-width: 400px; }
/* Hata di baaki sabhi fixed heights taki kuch bhi na kate */

/* --- LAYOUT & SECTIONS --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.content-section { padding: 60px 0; border-bottom: 1px solid #e2e8f0; }
.bg-light { background-color: var(--white); margin: 0 -20px; padding: 60px 20px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }

.hero-section { text-align: center; padding: 60px 0; }
.page-title { font-size: 3rem; color: var(--text-main); margin-bottom: 20px; line-height: 1.2; }
.hero-content p { font-size: 1.25rem; color: var(--text-muted); max-width: 800px; margin: 0 auto 30px; }

.section-header { text-align: center; margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.2rem; color: var(--primary-dark); margin-bottom: 15px; }

/* --- GRIDS & CARDS --- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; }
.align-center { align-items: center; }
.card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(16, 185, 129, 0.1); }
.card h3 { font-size: 1.5rem; margin-bottom: 15px; color: var(--primary-dark); }
.card p { color: var(--text-muted); margin-bottom: 15px; }
.text-link { font-weight: 700; color: var(--primary); }

.feature-list { margin-left: 20px; margin-bottom: 25px; }
.feature-list li { margin-bottom: 10px; font-size: 1.1rem; }

/* --- GIFT CODE --- */
.center-align { text-align: center; }
.giftcode-wrapper { display: flex; flex-direction: column; align-items: center; margin-top: 30px; }
.giftcode-box {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.15);
    max-width: 500px;
    width: 100%;
    border: 2px solid var(--primary-light);
    margin-top: -30px;
    position: relative;
    z-index: 2;
}
.giftcode-title { font-size: 1.5rem; margin-bottom: 15px; color: var(--text-main); }
.giftcode-value {
    background: var(--bg-main);
    color: var(--primary-dark);
    font-size: 1.6rem;
    font-weight: 800;
    padding: 15px;
    border: 2px dashed var(--primary);
    border-radius: 8px;
    letter-spacing: 2px;
    word-break: break-all;
}
.small-text { font-size: 0.9rem; color: var(--text-muted); margin-top: 10px; }

/* --- FAQ --- */
.faq-section h2 { text-align: center; font-size: 2.2rem; margin-bottom: 40px; color: var(--primary-dark); }
.faq-item {
    background: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}
.faq-item h4 { font-size: 1.2rem; margin-bottom: 10px; color: var(--text-main); }

/* --- FOOTER --- */
.bottom-footer {
    background-color: var(--primary-dark);
    color: var(--primary-light);
    padding: 60px 5% 20px;
    margin-top: 60px;
}
.footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; max-width: 1200px; margin: 0 auto 40px; }
.footer-col h4 { color: var(--white); font-size: 1.3rem; margin-bottom: 20px; }
.footer-col a { display: block; color: var(--primary-light); margin-bottom: 10px; }
.footer-col a:hover { color: var(--white); padding-left: 5px; }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

/* Mobile Responsive */
@media(max-width: 768px) {
    .top-header { 
        padding: 12px 15px; 
    }
    .center-menu {
        display: none; 
    }
    .photo-logo { 
        width: 120px; 
    }
    .header-auth {
        gap: 8px;
    }
    .btn-sm {
        padding: 8px 12px;
        font-size: 0.85rem; 
    }
    .page-title { font-size: 2.2rem; }
    .grid-2 { grid-template-columns: 1fr; }
    .btn { width: 100%; margin: 10px 0; }
}