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

:root {
    --brand-dark: #2A1028;
    /* Deep Plum/Purple from image */
    --brand-primary: #3E1636;
    /* Slightly lighter for buttons */
    --brand-light: #F9F9F9;
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
    --input-bg: #F5F6FA;
    --gray-muted: #888888;
    --card-radius: 30px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--brand-dark);
    color: var(--text-dark);
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background-color: #FFFFFF !important;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    color: var(--brand-dark) !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    color: var(--brand-dark) !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.btn-nav-action {
    background-color: var(--brand-dark);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    text-decoration: none;
    transition: transform 0.2s;
}

.btn-nav-action:hover {
    color: white;
    transform: scale(1.05);
    background-color: #451b40;
}

/* Hero Section */
.hero-section {
    background-color: var(--brand-dark);
    color: white;
    padding: 6rem 0 8rem;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: #a08da0;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.highlight-purple {
    color: #9d72e3;
    /* A bit lighter to pop on dark, or use gradient text */
    background: linear-gradient(90deg, #c77dff, #e0aaff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Search Box */
.search-wrapper {
    background: #3E2C3E;
    border-radius: 15px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    width: 100%;
    max-width: 600px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-input {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    padding: 10px;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Auth Cards (Login/Register) */
.auth-container {
    background-color: var(--brand-dark);
    min-height: calc(100vh - 80px);
    /* Minus navbar */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: white;
    border-radius: var(--card-radius);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    text-align: center;
    position: relative;
}

.auth-icon {
    width: 60px;
    height: 60px;
    background-color: var(--brand-dark);
    color: white;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
}

.auth-title {
    font-weight: 800;
    font-size: 2rem;
    color: var(--brand-dark);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #ccc;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.form-label-custom {
    text-align: left;
    display: block;
    color: #999;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    margin-left: 0.5rem;
}

.form-control-custom {
    background-color: var(--input-bg);
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    color: #555;
    width: 100%;
    margin-bottom: 1.5rem;
}

.form-control-custom:focus {
    box-shadow: 0 0 0 3px rgba(42, 16, 40, 0.1);
    outline: none;
}

.btn-auth-primary {
    background-color: var(--brand-dark);
    color: white;
    width: 100%;
    padding: 1rem;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    border: none;
    font-size: 1rem;
    margin-top: 1rem;
    transition: transform 0.2s;
}

.btn-auth-primary:hover {
    transform: scale(1.02);
    background-color: #1a0818;
}

.auth-footer {
    margin-top: 2rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-dark);
    text-transform: uppercase;
}

.auth-footer a {
    color: var(--brand-dark);
    text-decoration: none;
}

/* Account Type Selector */
.account-type-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.account-type-option {
    flex: 1;
    padding: 1rem;
    border: 2px solid #EEE;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--brand-dark);
    background: white;
    transition: all 0.2s;
}

.account-type-option.active {
    background-color: var(--brand-dark);
    color: white;
    border-color: var(--brand-dark);
}

/* Store Cards on Dark Background */
.cards-section {
    background-color: white;
    /* Or keep dark if desired, images imply white section below hero */
    padding: 4rem 0;
    border-radius: var(--card-radius) var(--card-radius) 0 0;
    margin-top: -30px;
}

.store-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.store-card:hover {
    transform: translateY(-10px);
}

/* Star Rating system */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    color: #ddd;
    transition: color 0.2s;
    font-size: 2.5rem;
}

.star-rating label:hover,
.star-rating label:hover~label,
.star-rating input:checked~label {
    color: #ffc107;
}

.star-rating label i::before {
    content: "\f588";
    /* bi-star */
}

.star-rating input:checked~label i::before,
.star-rating label:hover~label i::before,
.star-rating label:hover i::before {
    content: "\f586";
    /* bi-star-fill */
}

.review-item {
    transition: background 0.2s;
}

.review-item:hover {
    background: rgba(42, 16, 40, 0.02);
}