body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.2);
    border-color: var(--primary-color);
}

.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color), #a29bfe);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary-custom:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
    color: white;
}

.navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-main) !important;
}

.nav-link {
    color: var(--text-muted) !important;
    transition: color 0.3s;
}

.text-muted {
    color: var(--text-muted) !important;
    word-break: break-word;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

footer {
    background: var(--footer-bg);
    padding-top: 60px;
    padding-bottom: 30px;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.footer-heading {
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-link {
    color: var(--text-muted);
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--secondary-color);
}

/* Left Sidebar */
.sidebar-fixed {
    position: sticky;
    top: 80px;
    height: calc(100vh - 100px);
    overflow-y: auto;
}

.store-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 15px;
}

.store-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.rating-stars {
    color: #FDCB6E;
}

/* Accordion */
.accordion-item {
    background-color: transparent;
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    border-radius: 8px !important;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--accordion-bg);
    color: var(--text-main);
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--accordion-active-bg);
    color: var(--primary-color);
}

.accordion-body {
    color: var(--text-muted);
}

/* Review Card */
.review-card {
    background: var(--review-card-bg);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

/* Admin Panel Styles */
.table-dark {
    color: var(--text-color);
}

.table-dark th {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color);
    padding: 12px;
    font-weight: 600;
}

.table-dark td {
    border-color: var(--border-color);
    padding: 12px;
    vertical-align: middle;
}

.table-hover tbody tr:hover {
    background: rgba(108, 92, 231, 0.1);
}

.btn-group .btn {
    margin: 0;
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.pagination {
    margin-top: 20px;
}

.pagination .page-link {
    background: var(--glass-bg);
    border-color: var(--border-color);
    color: var(--text-color);
}

.pagination .page-link:hover {
    background: rgba(108, 92, 231, 0.2);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination .active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Store Review Card */
.store-review-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.store-review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(108, 92, 231, 0.15);
    border-color: var(--primary-color);
}

.store-logo-small {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: white;
    padding: 0;
}

.badge-custom {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.rating-stars-yellow i {
    color: #FDCB6E;
    font-size: 14px;
}

.rating-stars-yellow i.empty {
    color: var(--text-muted);
    opacity: 0.3;
}

.card-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.pros-cons-section {
    margin: 20px 0;
    flex-grow: 1;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.feature-list li i {
    margin-top: 2px;
    font-size: 12px;
}

.card-footer-custom {
    margin-top: 20px;
}

.btn-primary-gradient {
    background: linear-gradient(135deg, #4169E1, #6C5CE7);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary-gradient:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(65, 105, 225, 0.3);
    color: white;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #4169E1 0%, #6C5CE7 50%, #FF6B6B 100%);
    border-radius: 24px;
    padding: 60px 40px;
    margin: 80px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.newsletter-content {
    position: relative;
    z-index: 1;
}

.newsletter-icon {
    margin-bottom: 20px;
}

.input-group-newsletter {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.form-control-newsletter {
    flex: 1;
    min-width: 250px;
    padding: 14px 20px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
}

.form-control-newsletter:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.btn-subscribe {
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    border: none;
    color: white;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-subscribe:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.4);
}

@media (max-width: 768px) {
    .input-group-newsletter {
        flex-direction: column;
    }

    .form-control-newsletter,
    .btn-subscribe {
        width: 100%;
    }

    .banner-card {
        flex-direction: column;
        min-height: auto;
    }

    .banner-image-wrapper {
        width: 100%;
        height: 250px;
    }

    .banner-content {
        padding: 30px 20px;
    }

    .banner-heading {
        font-size: 1.75rem;
    }
}

/* Banner Section Styles - Background Image with Centered Text */
.banner-wrapper {
    margin-top: 0;
    margin-bottom: 40px;
}

.banner-slide {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Full Width Layout */
.banner-slide.full-width {
    min-height: 600px;
}

/* Contained Layout */
.banner-slide.contained {
    margin: 0 auto;
    max-width: 1320px;
    border-radius: 24px;
    overflow: hidden;
}

/* Background Image */
.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
    z-index: 1;
}

.banner-slide:hover .banner-background {
    transform: scale(1.05);
}

/* Background Gradient (when no image) */
.banner-background-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4169E1 0%, #6C5CE7 50%, #FF6B6B 100%);
    z-index: 1;
}

/* Dark Overlay */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

/* Clickable Overlay Link */
.banner-link-overlay {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

/* Centered Content Container */
.banner-content-centered {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 60px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.banner-text-wrapper {
    max-width: 800px;
}

/* Category Badge */
.banner-category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
    animation: fadeInDown 0.8s ease;
}

/* Centered Heading */
.banner-heading-center {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}

/* Centered Description */
.banner-description-center {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

/* CTA Button */
.btn-banner-cta {
    display: inline-flex;
    align-items: center;
    background: white;
    color: #4169E1;
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1.2s ease;
    position: relative;
    z-index: 10;
}

.btn-banner-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    background: #4169E1;
    color: white;
}

.btn-banner-cta i {
    transition: transform 0.3s ease;
}

.btn-banner-cta:hover i {
    transform: translateX(5px);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Carousel Controls for Banners */
#bannersCarousel .carousel-control-prev,
#bannersCarousel .carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    opacity: 0.9;
    transition: all 0.3s ease;
    z-index: 10;
}

#bannersCarousel .carousel-control-prev {
    left: 30px;
}

#bannersCarousel .carousel-control-next {
    right: 30px;
}

#bannersCarousel .carousel-control-prev:hover,
#bannersCarousel .carousel-control-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Carousel Indicators */
#bannersCarousel .carousel-indicators {
    bottom: 30px;
    z-index: 10;
}

#bannersCarousel .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.3s ease;
}

#bannersCarousel .carousel-indicators .active {
    background-color: white;
    width: 35px;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .banner-heading-center {
        font-size: 2.5rem;
    }

    .banner-description-center {
        font-size: 1.1rem;
    }

    .banner-slide {
        min-height: 450px;
    }

    .banner-slide.full-width {
        min-height: 500px;
    }
}

@media (max-width: 768px) {

    .banner-slide,
    .banner-slide.full-width {
        min-height: 400px;
    }

    .banner-slide.contained {
        border-radius: 16px;
    }

    .banner-content-centered {
        padding: 40px 20px;
    }

    .banner-heading-center {
        font-size: 2rem;
    }

    .banner-description-center {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .btn-banner-cta {
        padding: 14px 30px;
        font-size: 1rem;
    }

    #bannersCarousel .carousel-control-prev {
        left: 15px;
    }

    #bannersCarousel .carousel-control-next {
        right: 15px;
    }

    #bannersCarousel .carousel-control-prev,
    #bannersCarousel .carousel-control-next {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 576px) {
    .banner-heading-center {
        font-size: 1.75rem;
    }

    .banner-category-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }

    .banner-slide,
    .banner-slide.full-width {
        min-height: 350px;
    }
}