
      @import url('https://fonts.googleapis.com/css2?family=Bree+Serif&family=Poppins:wght@300;400;600&display=swap');

:root {
    --mud: #3d2b1f;
    --ochre: #d35400;
    --turmeric: #f1c40f;
    --paper: #f9f3e6;
    --charcoal: #1a1a1a;
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    background-color: var(--paper);
    background-image: url("https://www.transparenttextures.com/patterns/handmade-paper.png");
    font-family: 'Poppins', sans-serif;
    color: var(--mud);
    padding-bottom: 100px; /* Space for floating footer */
}

/* --- App Header with Tribal Border --- */
.app-header {
    background: var(--mud);
    color: var(--paper);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.tribal-border-top {
    height: 8px;
    background-image: radial-gradient(var(--turmeric) 20%, transparent 20%);
    background-size: 15px 15px;
    background-position: 0 0;
    margin-bottom: 10px;
}

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

.logo { font-family: 'Bree Serif', serif; font-size: 1.4rem; letter-spacing: 2px; }
.logo span { color: var(--turmeric); }

.menu-pill, .profile-pill {
    background: rgba(255,255,255,0.1);
    width: 40px; height: 40px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
}
.profile-pill img { width: 100%; border-radius: 10px; border: 1px solid var(--turmeric); }

/* --- Featured Banner --- */
.featured-banner {
    background: var(--ochre);
    margin: 20px;
    padding: 25px;
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}
.featured-banner::after {
    content: "◈◈◈";
    position: absolute; right: -10px; bottom: 0;
    font-size: 5rem; opacity: 0.1;
}

/* --- Tribal Card Design --- */
.content-wrapper { padding: 0 10px; }

.tribal-card {
    background: white;
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    color: inherit;
    border: 3px solid var(--mud);
    box-shadow: 8px 8px 0px var(--mud); /* Neubrutalism style */
    transition: 0.3s;
}

.card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.date-badge {
    position: absolute; top: 10px; right: 10px;
    background: var(--turmeric);
    padding: 5px 10px; border-radius: 8px;
    font-size: 0.7rem; font-weight: bold; color: var(--mud);
}

.card-details { padding: 20px; }
.cat-tag { color: var(--ochre); font-weight: 600; font-size: 0.8rem; }
.card-details h3 { margin: 10px 0; font-family: 'Bree Serif', serif; font-size: 1.3rem; }
.card-details p { font-size: 0.9rem; color: #666; line-height: 1.5; }

.card-footer {
    margin-top: 15px; border-top: 1px dashed #ccc; padding-top: 10px;
    display: flex; justify-content: space-between; font-weight: bold; font-size: 0.85rem;
}

.card-pattern-bottom {
    height: 10px;
    background: repeating-linear-gradient(45deg, var(--mud), var(--mud) 10px, var(--turmeric) 10px, var(--turmeric) 20px);
}

/* --- Floating App Footer --- */
.app-footer {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--mud);
    height: 65px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 2000;
}

.nav-container { display: flex; width: 100%; justify-content: space-around; align-items: center; }

.nav-link {
    text-decoration: none;
    color: #a18e82;
    display: flex; flex-direction: column; align-items: center;
    font-size: 0.65rem;
}

.nav-link.active { color: var(--turmeric); }
.nav-link i { font-size: 1.2rem; margin-bottom: 2px; }

.nav-center-btn {
    background: var(--turmeric);
    width: 50px; height: 50px;
    border-radius: 50%;
    margin-top: -35px; /* Floating center button */
    display: flex; align-items: center; justify-content: center;
    color: var(--mud); font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.4);
    border: 4px solid var(--paper);
}
/* --- Final Navigation Center Button --- */
.nav-center-btn {
    background: var(--turmeric);
    width: 50px; 
    height: 50px;
    border-radius: 50%;
    margin-top: -35px; /* Floating look */
    display: flex; 
    align-items: center; 
    justify-content: center;
    box-shadow: 0 5px 15px rgba(241, 196, 15, 0.4);
    border: 4px solid var(--paper);
    transition: transform 0.2s ease;
    z-index: 3000;
}

/* Romove underline */
.nav-center-btn a {
    color: var(--mud) !important; /* Blue color override */
    text-decoration: none !important; /* Underline remove */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 50%; /* clickable */
}

/* Icon Size aur Center Alignment */
.nav-center-btn a i {
    font-size: 1.5rem;
    color: var(--mud) !important; /* Icon color fix */
}

/* Click/Press Effect (Optional but looks professional) */
.nav-center-btn:active {
    transform: scale(0.9); /* Dabne par thoda chhota hoga */
    box-shadow: 0 2px 8px rgba(241, 196, 15, 0.6);
}


/* Responsive Grid for Tablets/Desktop */
@media (min-width: 600px) {
    .post-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 20px;
    }
    .app-footer { width: 400px; left: 50%; transform: translateX(-50%); }
}
/* Sidebar CSS */
.sidebar {
    position: fixed; top: 0; left: -280px;
    width: 280px; height: 100%;
    background: var(--mud); color: white;
    z-index: 3000; transition: 0.4s ease;
    padding: 20px; box-shadow: 5px 0 15px rgba(0,0,0,0.5);
}
.sidebar.active { left: 0; }
.sidebar-overlay {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: none; z-index: 2999;
}
.sidebar-overlay.active { display: block; }
.sidebar-links a {
    display: block; color: white; text-decoration: none;
    padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* Login & Service CSS */
.tribal-input {
    width: 100%; padding: 12px; margin-bottom: 15px;
    border: 2px solid var(--mud); border-radius: 8px;
}
.tribal-btn-full {
    width: 100%; padding: 12px; background: var(--ochre);
    color: white; border: none; font-weight: bold; cursor: pointer;
}
.services-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 20px;
}
.service-card { text-align: center; padding: 20px; }
.service-card i { font-size: 2rem; color: var(--ochre); margin-bottom: 10px; }
.buy-btn {
    background: var(--turmeric); border: 2px solid var(--mud);
    padding: 5px 10px; font-weight: bold; margin-top: 10px;
}
    /* Reels Snap Scrolling Setup */
.reels-body {
    background: black; /* Reels hamesha dark background par achhi lagti hain */
    overflow: hidden;
}

.reels-container {
    height: 100vh;
    width: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory; /* Isse video screen par chipak jayegi */
}

.reel-video {
    position: relative;
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
    background: #000;
}

.reel-video video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Video poori screen cover karegi */
}

/* Reels Sidebar Actions */
.reel-overlay {
    position: absolute;
    bottom: 80px; /* Footer ke upar */
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
}

.reel-sidebar {
    position: absolute;
    right: 15px;
    bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.5rem;
}

.action-btn span {
    font-size: 0.75rem;
    margin-top: 5px;
}

.reel-bottom-info {
    max-width: 80%;
}

.reel-bottom-info strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}      









:root {
    --mud: #2c1e14;
    --ochre: #d35400;
    --paper: #fdf6f0;
}

body { font-family: 'Segoe UI', sans-serif; background: var(--paper); margin: 0; }

/* Auth Card Fix */
.premium-auth-card {
    background: white; border: 3px solid var(--mud);
    border-radius: 25px; box-shadow: 10px 10px 0px var(--mud);
    margin: 30px 15px; overflow: hidden;
    position: relative; z-index: 100;
}

.auth-tabs { display: flex; cursor: pointer; }
.auth-tabs button {
    flex: 1; padding: 15px; border: none; font-weight: bold;
    background: #eee; cursor: pointer; transition: 0.3s;
    pointer-events: auto; /* Click fix */
}
.auth-tabs button.active { background: var(--mud); color: var(--ochre); }

.form-content { padding: 25px; }
.t-input {
    width: 100%; padding: 12px; margin-bottom: 12px;
    border: 2px solid #eee; border-radius: 10px; box-sizing: border-box;
}

.t-btn-gold {
    width: 100%; padding: 15px; background: var(--mud);
    color: var(--ochre); border: none; border-radius: 10px;
    font-weight: bold; cursor: pointer; pointer-events: auto;
}

/* Dashboard Elements */
.status-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.status-tile { background: white; padding: 15px; border-radius: 15px; border: 1.5px solid #eee; }
.val.pending { color: #e74c3c; font-weight: bold; }
.val.approved { color: #27ae60; font-weight: bold; }

.req-card { background: white; padding: 15px; border-radius: 15px; margin-bottom: 15px; border: 1px solid #ddd; }
.req-card label { display: block; font-size: 0.8rem; margin-bottom: 5px; color: #666; }
.req-card input { width: 100%; padding: 8px; margin-bottom: 8px; border: 1px solid #eee; }
.req-card button { background: var(--ochre); border: none; padding: 8px 15px; border-radius: 5px; font-weight: bold; }

/* Admin Items */
.admin-req-item { background: white; border: 2px solid var(--mud); padding: 15px; margin-bottom: 10px; border-radius: 10px; }






/* Header ko sabse upar rakhne ke liye */
.app-header {
    position: relative;
    z-index: 2000; /* Login card se kaafi upar */
    background: var(--mud); /* Background ensures visibility */
}

/* Burger Pill specifically clickable banane ke liye */
.menu-pill {
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 2100;
}

/* Desktop View Layout Fix */
@media (min-width: 768px) {
    .premium-auth-card {
        max-width: 450px;
        margin: 80px auto; /* Header se thoda niche */
        position: relative;
        z-index: 1; /* Iska z-index kam rakhein taaki menu iske upar khul sake */
    }

    .header-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 40px;
    }
}

/* Sidebar behavior */
.sidebar-menu {
    z-index: 3000; /* Sabse upar */
}
.sidebar-overlay {
    z-index: 2500;
}












