body {
    font-family: 'Poppins', sans-serif;
    background: #0f172a;
    color: #fff;
}

/* Cards */
.post-card {
    background: #1e293b;
    border-radius: 16px;
    transition: 0.3s;
    overflow: hidden;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-img-top {
    height: 180px;
    object-fit: cover;
}

/* Buttons */
.btn-dark {
    background: linear-gradient(45deg, #ffcc00, #ff9900);
    border: none;
    color: #000;
    font-weight: 600;
}

/* Badge */
.reward-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: gold;
    color: black;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
}

/* Hero */
.hero {
    background: linear-gradient(45deg, #111, #1e293b);
    padding: 50px 20px;
    border-radius: 20px;
    text-align: center;
}

/* 🔥 Footer */
.footer {
    background: #020617;
    color: #fff;
}

.footer a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer a:hover {
    color: #ffcc00;
}

/* Social icons */
.social-icons a {
    display: inline-block;
    margin-right: 10px;
    font-size: 20px;
    color: #fff;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #ffcc00;
    transform: scale(1.2);
}

/* 📱 Mobile bottom menu */
.mobile-menu {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #000;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.mobile-menu a {
    color: #fff;
    font-size: 22px;
}

.post-card {
    background: #1e293b;
    border-radius: 16px;
    transition: 0.3s;
    color: #fff;
}

.post-card:hover {
    transform: translateY(-5px);
}

.register-box {
    max-width: 400px;
    margin: auto;
    background: #1e293b;
    padding: 30px;
    border-radius: 20px;
}

.register-box {
    max-width: 400px;
    margin: auto;
    background: #1e293b;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.register-box input {
    background: #020617;
    border: none;
    color: #fff;
}

.register-box input:focus {
    background: #020617;
    color: #fff;
    box-shadow: none;
}

.login-box {
    max-width: 400px;
    margin: auto;
    background: #1e293b;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.login-box input {
    background: #020617;
    border: none;
    color: #fff;
}

.login-box input:focus {
    background: #020617;
    color: #fff;
    box-shadow: none;
}

.register-box {
    max-width: 400px;
    margin: auto;
    background: #1e293b;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.register-box input {
    background: #020617;
    border: none;
    color: #fff;
}

.register-box input:focus {
    background: #020617;
    color: #fff;
    box-shadow: none;
}

.reward-badge {
    background: rgb(0, 0, 0);
    color: white;
    font-weight: bold;
}

.review {
    color: gold;
    font-weight: bold;
}

.btn-outline-light {
    border: 1px solid #fff;
}

.stars span {
    font-size: 24px;
    cursor: pointer;
    transition: 0.3s;
}

.stars span:hover {
    transform: scale(1.2);
}

.review {
    color: gold;
    font-weight: bold;
}

.trending-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: red;
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 20px;
}


.post-card {
    background: #1e293b;
    border-radius: 15px;
    color: #fff;
}

.review {
    color: gold;
    font-weight: bold;
}

.btn-outline-danger {
    border-radius: 20px;
}

.post-description {
    background: #1e293b;
    padding: 25px;
    border-radius: 15px;
    color: #fff;
    min-height: 300px;
    font-size: 16px;
    line-height: 1.6;
}

.post-description {
    max-height: 400px;
    overflow-y: auto;
}


.rating-box {
    color: gold;
    font-weight: bold;
    font-size: 16px;
}

.rating-box span {
    color: #ccc;
    font-weight: normal;
    margin-left: 5px;
}

.featured-row {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.featured-card {
    min-width: 250px;
    flex: 0 0 auto;
}

.featured-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
}

.featured-card {
    min-width: 260px;
    flex: 0 0 auto;
}

/* Hide scrollbar */
.featured-slider::-webkit-scrollbar {
    display: none;
}

.featured-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.featured-card {
    min-width: 260px;
}

.slider-wrapper {
    position: relative;
}

.featured-slider {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 40px;
}

.slider-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: #000;
    color: #fff;
    border: none;
    font-size: 24px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
}

.slider-btn.left {
    left: 0;
}

.slider-btn.right {
    right: 0;
}


/* 🎬 SLIDER BASE */
.featured-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 20px 50px;
}

.featured-card {
    opacity: 1;
}

.featured-card.active {
    transform: scale(1.08);
}

/* 🎯 ACTIVE CARD */
.featured-card.active {
    transform: scale(1.08);
    opacity: 1;
    z-index: 2;
}

/* ✨ HOVER EFFECT */
.featured-card:hover {
    transform: scale(1.05);
}

/* 🔘 DOTS */
.slider-dots {
    text-align: center;
    margin-top: 10px;
}

.slider-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #555;
    border-radius: 50%;
    margin: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.slider-dots span.active {
    background: #ffcc00;
    transform: scale(1.3);
}



footer {
    background: #020617 !important;
    color: #fff !important;
}

footer p,
footer small,
footer a,
footer span {
    color: #fff !important;
}

footer .text-muted {
    color: #fff !important;
}

footer {
    margin-top: auto;
}



/* 🔥 STICKY FOOTER FIX */
html, body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}


/* 🔥 ADMIN LOGIN UI */

.admin-login-body {
    margin: 0;
    height: 100vh;
    background: linear-gradient(135deg, #020617, #1e293b);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CENTER WRAPPER */
.login-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* GLASS CARD */
.login-card {
    width: 350px;
    padding: 30px;
    border-radius: 15px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    text-align: center;
    color: #fff;
}

/* TITLE */
.login-card h2 {
    margin-bottom: 20px;
    color: #ffcc00;
}

/* INPUTS */
.login-card input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: none;
    outline: none;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* INPUT FOCUS */
.login-card input:focus {
    border: 1px solid #ffcc00;
}

/* BUTTON */
.login-card button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: #ffcc00;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

/* BUTTON HOVER */
.login-card button:hover {
    background: #ffaa00;
    transform: scale(1.05);
}

/* ERROR BOX */
.alert-box {
    background: rgba(255,0,0,0.2);
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: #ff4d4d;
}