:root {
    /* Color Palette matching the image */
    --bg-base: #06040B;
    --bg-card: #110E1A;
    --bg-card-hover: #1A1625;
    
    --primary-pink: #FF2A75;
    --primary-pink-hover: #FF4D8C;
    --accent-purple: #8B5CF6;
    --accent-gold: #F5C76B;
    
    --text-white: #FFFFFF;
    --text-muted: #9CA3AF;
    --text-dark: #6B7280;
    
    --border-light: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(255, 42, 117, 0.3);
    
    --glow-pink: 0 0 20px rgba(255, 42, 117, 0.4);
    --glow-purple: 0 0 30px rgba(139, 92, 246, 0.2);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
}

body {
    margin: 0;
    font-family: 'Poppins', -apple-system, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.hindi-text {
    font-family: 'Noto Sans Devanagari', 'Poppins', sans-serif;
}

a {
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================
   Header
   ========================================= */
.site-header {
    background: rgba(6, 4, 11, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.site-branding .logo-link {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-pink);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 11px;
    color: var(--text-muted);
    font-family: 'Noto Sans Devanagari', sans-serif;
}

.logo-tagline .heart {
    color: var(--primary-pink);
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--text-white);
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.header-actions .icon-btn {
    background: transparent;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background 0.3s;
}

.header-actions .icon-btn:hover {
    background: rgba(255,255,255,0.1);
}

.login-btn {
    background: var(--primary-pink);
    color: white !important;
    padding: 8px 24px !important;
    border-radius: var(--radius-pill);
    font-weight: 600 !important;
    box-shadow: var(--glow-pink);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    padding: 60px 0 80px;
    position: relative;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.welcome-text {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
    display: block;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    margin: 0 0 16px;
    background: linear-gradient(180deg, #FFFFFF 0%, #A5B4FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title-hindi {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 20px;
    color: white;
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: var(--primary-pink);
    color: white;
    box-shadow: var(--glow-pink);
}

.btn-primary:hover {
    background: var(--primary-pink-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Search Bar in Hero */
.hero-search {
    display: flex;
    align-items: center;
    background: rgba(17, 14, 26, 0.8);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    padding: 6px 6px 6px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.hero-search input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 15px;
    outline: none;
    padding-right: 15px;
}

.hero-search input::placeholder {
    color: var(--text-dark);
}

.hero-search-btn {
    background: var(--primary-pink);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    cursor: pointer;
}

/* Hero Image */
.hero-visual {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    border: 1px solid var(--border-light);
    box-shadow: var(--glow-pink);
}

.hero-visual img, .hero-fallback {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   Stats Section
   ========================================= */
.stats-section {
    padding: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 42, 117, 0.1);
    color: var(--primary-pink);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info h3 {
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 700;
}

.stat-info p {
    margin: 0;
    font-size: 13px;
    color: var(--text-muted);
}

/* =========================================
   Section Headers
   ========================================= */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    margin-top: 60px;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.view-all {
    color: var(--primary-pink);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* =========================================
   Popular Categories
   ========================================= */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cat-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/9;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s;
}

.cat-card:hover {
    border-color: var(--primary-pink);
    transform: scale(1.02);
    box-shadow: var(--glow-pink);
}

.cat-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(17,14,26,0.2) 0%, rgba(6,4,11,0.9) 100%);
    z-index: 1;
}

.cat-content {
    position: relative;
    z-index: 2;
    padding: 20px;
}

.cat-icon {
    width: 40px; height: 40px;
    margin: 0 auto 12px;
    color: var(--primary-pink);
}

.cat-title {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
}

.cat-count {
    font-size: 12px;
    color: var(--text-muted);
}

/* =========================================
   Trending Shayari (Wide Cards)
   ========================================= */
.trending-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.trending-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.trending-card:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.trending-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.trending-text {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.trending-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.trending-badge {
    background: rgba(255, 42, 117, 0.1);
    color: var(--primary-pink);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 500;
}

.meta-item { display: flex; align-items: center; gap: 4px; }

/* =========================================
   Latest Shayari & App Promo
   ========================================= */
.latest-app-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

/* Latest List */
.latest-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.latest-card {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    gap: 20px;
    align-items: center;
    transition: all 0.3s;
}

.latest-card:hover {
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.latest-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: #1A1625;
}

.latest-info {
    flex-grow: 1;
}

.latest-title {
    font-size: 16px;
    margin: 0 0 8px;
    font-weight: 500;
}

.latest-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

.latest-actions {
    display: flex;
    gap: 12px;
}

.latest-actions button {
    background: none; border: none; color: var(--text-muted); cursor: pointer; display: flex; align-items: center; gap: 4px;
}
.latest-actions button:hover { color: var(--primary-pink); }

/* App Promo Card */
.app-promo-card {
    background: linear-gradient(180deg, #1A1125 0%, #2D1B3D 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.app-promo-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 12px;
}

.app-promo-subtitle {
    font-size: 16px;
    margin: 0 0 30px;
    color: rgba(255,255,255,0.8);
}

.app-mockup {
    width: 200px;
    height: 350px;
    background: #000;
    border-radius: 30px 30px 0 0;
    border: 8px solid #333;
    border-bottom: none;
    margin-bottom: -40px;
    position: relative;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.5);
    background-image: linear-gradient(135deg, #FF2A75 0%, #8B5CF6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.app-mockup .mockup-logo {
    font-size: 20px; font-weight: bold; margin-bottom: 20px; text-align: center;
}

.play-btn {
    position: absolute;
    bottom: 60px;
    background: #000;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    display: flex; align-items: center; gap: 10px;
    font-size: 12px;
    text-align: left;
    z-index: 10;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background: #040308;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border-light);
    margin-top: 80px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 24px; font-weight: 700; color: var(--primary-pink);
    margin-bottom: 16px; display: block;
}

.footer-desc {
    color: var(--text-muted); font-size: 14px; margin-bottom: 24px; max-width: 280px;
}

.social-links {
    display: flex; gap: 12px;
}

.social-links a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary-pink);
}

.footer-col h4 {
    font-size: 16px; font-weight: 600; margin: 0 0 24px; color: white;
}

.footer-col ul {
    list-style: none; padding: 0; margin: 0;
}

.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-muted); font-size: 14px; }
.footer-col ul li a:hover { color: var(--primary-pink); }

.site-info {
    text-align: center; border-top: 1px solid var(--border-light); padding-top: 24px; color: var(--text-dark); font-size: 13px;
}

/* =========================================
   Mobile Navigation (Bottom)
   ========================================= */
.mobile-bottom-nav {
    display: none;
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content { max-width: 100%; margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .hero-search { max-width: 500px; margin: 0 auto; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .trending-grid { grid-template-columns: repeat(2, 1fr); }
    .latest-app-layout { grid-template-columns: 1fr; }
    .footer-widgets { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .main-navigation, .header-actions { display: none; }
    .mobile-menu-toggle { display: block; }
    
    .hero-title { font-size: 40px; }
    .hero-title-hindi { font-size: 28px; }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .trending-grid { grid-template-columns: 1fr; }
    
    .latest-card { flex-direction: column; align-items: flex-start; }
    .latest-img { width: 100%; height: 200px; }
    
    .footer-widgets { grid-template-columns: 1fr; text-align: center; }
    .footer-desc { margin: 0 auto 24px; }
    .social-links { justify-content: center; }
    
    /* Mobile Bottom Nav */
    .site-footer { padding-bottom: 100px; }
    .mobile-bottom-nav {
        display: block;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        background: rgba(11, 9, 20, 0.95);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border-light);
        z-index: 2000;
    }
    
    .mobile-nav-inner {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 10px 10px 20px;
    }
    
    .mobile-nav-item {
        display: flex; flex-direction: column; align-items: center; gap: 4px;
        color: var(--text-muted); font-size: 10px; font-weight: 500;
    }
    
    .mobile-nav-item.active { color: var(--primary-pink); }
    
    .mobile-nav-item.ai-center {
        transform: translateY(-20px);
    }
    
    .ai-circle {
        width: 48px; height: 48px;
        background: var(--primary-pink);
        border-radius: 50%;
        display: flex; align-items: center; justify-content: center;
        color: white;
        border: 4px solid var(--bg-base);
        box-shadow: var(--glow-pink);
    }
}
