/* --- Fonts --- */
@font-face {
    font-family: 'Michroma';
    src: url('../fonts/Michroma/Michroma-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/Open_Sans/static/OpenSans-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/Open_Sans/static/OpenSans-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans';
    src: url('../fonts/Open_Sans/static/OpenSans-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

/* --- CSS Variables (Gym Pro / Dark Neon Theme) --- */
:root {
    /* Colors */
    --primary: #AECA37; /* Neon Lime */
    --primary-hover: #98b22e;
    --secondary: #ffffff; /* White for contrast elements */
    
    /* Backgrounds */
    --bg-dark: #111111; /* Deep Black */
    --bg-card: #1f1f1f; /* Dark Grey for cards */
    --bg-lighter: #2a2a2a; 

    /* Text */
    --text-main: #ffffff;
    --text-muted: #a1a1a1;
    --text-on-primary: #000000;

    /* Gradients */
    --gradient-hero: transparent;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(174, 202, 55, 0.15);

    /* Spacing */
    --header-height: 70px;
    --container-width: 1400px;
}

/* --- Reset & Global --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: var(--header-height);
}

/* Ensure main content doesn't overlap header */
main, .main-content {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Michroma', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Utilities --- */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: calc(1.55rem + 6px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

/* Decorative line under titles */
.section-title h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto 0;
}

.section-title p {
    color: var(--text-muted);
    margin: 1rem auto 0;
    font-size: 22px;
    font-family: 'Open Sans', sans-serif;
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    font-family: 'Michroma', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    border: none;
    text-transform: uppercase;
    /* Clip path for slanted edges */
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
}

.btn-primary {
    background: var(--primary);
    color: var(--text-on-primary);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-on-primary);
}

.badge {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* --- Header --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: rgba(17, 17, 17, 0.98);
    border-bottom: 1px solid #333;
    transition: all 0.3s ease;
    min-height: var(--header-height);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

header.scrolled {
    padding: 5px 0;
    background: rgba(17, 17, 17, 1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
    min-height: var(--header-height);
    gap: 20px;
    position: relative;
    z-index: 9999;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.35rem;
    font-family: 'Michroma', sans-serif;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
    flex-shrink: 0;
    gap: 8px;
}

.logo img {
    height: 45px;
    width: auto;
}

.logo i {
    margin-right: 10px;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-menu > li {
    padding: 0 4px;
}

.nav-link {
    font-family: 'Michroma', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-main);
    letter-spacing: 0.3px;
    transition: color 0.3s;
    white-space: nowrap;
    padding: 6px 2px;
}

.nav-link:hover {
    color: var(--primary);
}

/* --- Dropdown Menu --- */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-toggle i {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-lighter);
    border: 1px solid #333;
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-link {
    display: block;
    padding: 10px 16px;
    color: var(--text-main);
    font-family: 'Michroma', sans-serif;
    font-size: 0.7rem;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    background: var(--bg-dark);
    color: var(--primary);
    padding-left: 21px;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Match header actions (SIGN UP / LOGIN) typography to main menu */
.nav-controls .signup-dropdown-toggle,
.nav-controls .login-dropdown-toggle {
    font-family: 'Michroma', sans-serif;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.3px;
    padding: 6px 14px;
    clip-path: none;
    border-radius: 4px;
}

.nav-controls .signup-dropdown-toggle {
    margin-right: 10px;
}

.nav-controls .signup-dropdown-toggle i,
.nav-controls .login-dropdown-toggle i {
    font-size: 0.6rem;
}

.select-style {
    padding: 6px 10px;
    background: var(--bg-lighter);
    color: var(--white);
    border: 1px solid #444;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    cursor: pointer;
    outline: none;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

/* --- Header / Nav Responsive (Prevent Off-screen Overflow) --- */
@media (max-width: 1400px) {
    .nav-container {
        gap: 12px;
    }

    .nav-menu {
        gap: 0;
    }

    .nav-menu > li {
        padding: 0 3px;
    }

    .nav-link {
        font-size: 0.65rem;
        letter-spacing: 0.2px;
    }

    .nav-controls {
        gap: 8px;
    }

    .nav-controls .signup-dropdown-toggle,
    .nav-controls .login-dropdown-toggle {
        font-size: 0.65rem;
        letter-spacing: 0.2px;
        padding: 6px 12px;
    }
}

/* Switch to hamburger earlier (header only) */
@media (max-width: 1200px) {
    .mobile-toggle { display: block; }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 300px;
        height: calc(100vh - var(--header-height));
        background: var(--bg-lighter);
        border-left: 1px solid #333;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        transition: 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
        z-index: 9998;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-controls {
        display: none;
    }

    /* Mobile Dropdown (header only) */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-left: 15px;
        display: none;
    }

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
}

/* --- Signup Dropdown --- */
.signup-dropdown {
    position: relative;
    display: inline-block;
}

.signup-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.signup-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-lighter);
    border: 1px solid #333;
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    list-style: none;
    margin: 0;
}

.signup-dropdown:hover .signup-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.signup-dropdown-menu li {
    list-style: none;
}

.signup-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-main);
    font-family: 'Michroma', sans-serif;
    font-size: 0.7rem;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.signup-dropdown-menu a:hover {
    background: var(--bg-dark);
    color: var(--primary);
    padding-left: 21px;
}

.signup-dropdown-menu a i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

/* Login Dropdown */
.login-dropdown {
    position: relative;
    display: inline-block;
}

.login-dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.login-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-lighter);
    border: 1px solid #333;
    min-width: 200px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10001;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    list-style: none;
    margin: 0;
}

.login-dropdown:hover .login-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.login-dropdown-menu li {
    list-style: none;
}

.login-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-main);
    font-family: 'Michroma', sans-serif;
    font-size: 0.7rem;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.login-dropdown-menu a:hover {
    background: var(--bg-dark);
    color: var(--primary);
    padding-left: 21px;
}

.login-dropdown-menu a i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

/* --- Merchants Section with Sidebar Layout --- */
section {
    padding: 100px 0;
    background: var(--bg-dark);
}

/* Merchants Layout Container */
.merchants-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    min-height: 600px;
}

/* Left Sidebar */
.merchants-sidebar {
    background: var(--bg-card);
    border: 1px solid #333;
    padding: 20px;
    max-height: 520px;
    overflow-y: auto;
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

/* Custom scrollbar for sidebar */
.merchants-sidebar::-webkit-scrollbar {
    width: 6px;
}

.merchants-sidebar::-webkit-scrollbar-track {
    background: var(--bg-lighter);
    border-radius: 3px;
}

.merchants-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.merchants-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

.sidebar-category-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    margin-bottom: 2px;
}

.sidebar-category-btn i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    color: #666;
    transition: color 0.3s;
}

.sidebar-category-btn span:first-of-type {
    flex: 1;
}

.sidebar-category-btn .category-count {
    font-size: 0.8rem;
    color: #555;
}

.sidebar-category-btn:hover {
    background: var(--bg-lighter);
    color: var(--text-main);
}

.sidebar-category-btn:hover i {
    color: var(--primary);
}

.sidebar-category-btn.active {
    background: var(--primary);
    color: var(--text-on-primary);
    border-left-color: var(--primary-hover);
    font-weight: 600;
}

.sidebar-category-btn.active i {
    color: var(--text-on-primary);
}

.sidebar-category-btn.active .category-count {
    color: var(--text-on-primary);
    opacity: 0.8;
}

/* Main Content Area */
.merchants-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Top Filter Bar */
.merchants-filter-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    background: var(--bg-lighter);
    padding: 15px 20px;
    border-left: 4px solid var(--primary);
    position: relative;
    z-index: 100;
}

.filter-search-btn {
    padding: 10px 25px;
    background: var(--primary);
    border: none;
    color: var(--text-on-primary);
    cursor: pointer;
    font-family: 'Michroma', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.filter-search-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Category Title Section */
.merchants-category-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #333;
    margin-bottom: 10px;
}

.merchants-category-title h3 {
    font-family: 'Michroma', sans-serif;
    font-size: 1.3rem;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.merchants-count {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Keep existing filter bar styles */
.filter-bar {
    background: var(--bg-lighter);
    padding: 20px;
    border-left: 4px solid var(--primary);
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 100;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.search-box input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    background: var(--bg-dark);
    border: 1px solid #444;
    color: white;
    border-radius: 0; 
    outline: none;
    transition: border 0.3s;
}

.search-box input:focus {
    border-color: var(--primary);
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.categories {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding-bottom: 5px;
}

.cat-btn {
    padding: 8px 20px;
    border: 1px solid #444;
    background: var(--bg-dark);
    color: var(--text-muted);
    cursor: pointer;
    font-family: 'Michroma', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.cat-btn.active, .cat-btn:hover {
    background: var(--primary);
    color: var(--text-on-primary);
    border-color: var(--primary);
}

/* --- Advanced Filter Bar --- */
.advanced-filters {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
    z-index: 500;
}

.filter-clear-btn {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid #555;
    color: var(--text-muted);
    cursor: pointer;
    font-family: 'Michroma', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.filter-clear-btn:hover {
    border-color: #ff4d4d;
    color: #ff4d4d;
}

.filter-clear-btn i {
    font-size: 0.9rem;
}

.filter-dropdown {
    position: relative;
    z-index: 1;
}

.filter-dropdown:hover {
    z-index: 1000;
}

.filter-dropdown-btn {
    padding: 10px 20px;
    background: var(--bg-dark);
    border: 1px solid #444;
    color: var(--text-main);
    cursor: pointer;
    font-family: 'Michroma', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-dropdown-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-dropdown-btn i {
    font-size: 0.7rem;
    transition: transform 0.3s;
}

.filter-dropdown:hover .filter-dropdown-btn i {
    transform: rotate(180deg);
}

.filter-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-lighter);
    border: 1px solid #444;
    padding: 15px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-height: 300px;
    overflow-y: auto;
}

.filter-dropdown:hover .filter-dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.filter-dropdown-content label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: var(--text-main);
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s;
    border-radius: 4px;
}

.filter-dropdown-content label:hover {
    background: var(--bg-dark);
    color: var(--primary);
}

.filter-dropdown-content input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* Scrollbar styling for filter dropdown */
.filter-dropdown-content::-webkit-scrollbar {
    width: 6px;
}

.filter-dropdown-content::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

.filter-dropdown-content::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

.filter-dropdown-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.merchant-card {
    background: var(--bg-card);
    border: 1px solid #333;
    transition: transform 0.3s, border-color 0.3s;
    position: relative;
}

.merchant-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

.card-img {
    height: 200px;
    background: #111;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 3rem;
}

.card-img.food { background: #222; color: #444; }
.card-img.cafe { background: #252525; color: #444; }
.card-img.tech { background: #1a1a1a; color: #444; }

.merchant-card:hover .card-img {
    color: var(--primary);
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: var(--text-on-primary);
    padding: 5px 10px;
    font-family: 'Michroma', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.card-body {
    padding: 25px;
}

.merchant-name {
    font-size: 0.85rem; 
    color: var(--white);
    margin-bottom: 5px;
}

.merchant-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.view-btn {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
    font-family: 'Michroma', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
}

.view-btn:hover {
    background: var(--primary);
    color: var(--text-on-primary);
}

/* --- Merchant Details Modal --- */
.merchant-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
    backdrop-filter: blur(4px);
}

.merchant-modal-overlay.active {
    display: flex;
}

.merchant-modal {
    background: var(--bg-card);
    border: 1px solid #333;
    max-width: 520px;
    width: 100%;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.merchant-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 1rem;
    transition: background 0.3s;
}

.merchant-modal-close:hover {
    background: var(--primary);
    color: var(--text-on-primary);
}

.merchant-modal-header {
    height: 200px;
    background: #111;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 4rem;
    overflow: hidden;
}

.merchant-modal-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--text-on-primary);
    padding: 6px 14px;
    font-family: 'Michroma', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.merchant-modal-body {
    padding: 30px;
}

.merchant-modal-name {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 8px;
    font-family: 'Michroma', sans-serif;
}

.merchant-modal-category {
    color: var(--primary);
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.merchant-modal-stars {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 24px;
}

.merchant-modal-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.merchant-modal-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #fff;
}

.merchant-modal-detail > i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 2px;
    min-width: 20px;
    text-align: center;
}

.merchant-modal-detail div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.merchant-modal-detail strong {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.merchant-modal-detail span {
    font-size: 0.95rem;
    color: #fff;
}

/* Modal scrollbar */
.merchant-modal::-webkit-scrollbar {
    width: 6px;
}

.merchant-modal::-webkit-scrollbar-track {
    background: transparent;
}

.merchant-modal::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 3px;
}

.merchant-modal::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

@media (max-width: 600px) {
    .merchant-modal {
        max-width: 100%;
    }

    .merchant-modal-header {
        height: 150px;
        font-size: 3rem;
    }

    .merchant-modal-body {
        padding: 20px;
    }

    .merchant-modal-name {
        font-size: 1.1rem;
    }
}

/* --- Memberships --- */
#memberships {
    background: var(--primary);
    position: relative;
}

#memberships::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: var(--primary);
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
}

#memberships .section-title h2 {
    color: var(--text-on-primary);
}

#memberships .section-title h2::after {
    background: var(--text-on-primary);
}

#memberships .section-title p {
    color: var(--text-on-primary);
    opacity: 0.8;
}

#memberships .pricing-card {
    border-color: var(--text-on-primary);
}

.pricing-card {
    padding: 40px 25px;
    text-align: center;
    background: var(--bg-dark);
    border: 1px solid #333;
    position: relative;
    transition: 0.3s;
}

.pricing-card:hover {
    border-color: var(--primary);
}

.pricing-card.popular {
    transform: scale(1.05);
    border: 2px solid var(--primary);
    z-index: 1;
    background: #1a1a1a;
}

/* Pricing Card Image */
.pricing-card .card-image {
    margin: -40px -25px 25px -25px;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    border-bottom: 1px solid #333;
    overflow: hidden;
}

.pricing-card .card-image img {
    width: 100%;
    max-width: 280px;
    height: auto;
    margin: 0 auto;
    display: block;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
}

.pricing-card:hover .card-image img {
    transform: scale(1.05) rotate(-2deg);
}

.pricing-card.popular .card-image {
    background: linear-gradient(135deg, #1f1f1f 0%, #2a2a2a 100%);
    border-bottom: 1px solid var(--primary);
}

.pricing-card.popular .card-image img {
    filter: drop-shadow(0 10px 25px rgba(212, 240, 54, 0.2));
}

.ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: var(--text-on-primary);
    padding: 5px 15px;
    font-family: 'Michroma', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    z-index: 10;
}

.duration {
    font-size: 1rem;
    font-family: 'Michroma', sans-serif;
    color: var(--white);
    margin-bottom: 5px;
}

.price {
    font-size: 1.75rem;
    font-family: 'Michroma', sans-serif;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 20px;
}

.features-list {
    margin-bottom: 30px;
    text-align: left;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.features-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.features-list i {
    color: var(--primary);
}

/* --- Coupons --- */
.coupon-card {
    border: 2px dashed #444;
    background: var(--bg-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.coupon-card:hover {
    border-color: var(--primary);
}

.coupon-card::before, .coupon-card::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--bg-dark); 
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.coupon-card::before { left: -10px; }
.coupon-card::after { right: -10px; }

/* Coupon Banner - Main Single Coupon */
.coupon-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid #333;
    margin-bottom: 60px;
    overflow: hidden;
}

.coupon-banner:hover {
    border-color: var(--primary);
}

.coupon-banner-image {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coupon-banner-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s ease;
}

.coupon-banner:hover .coupon-banner-image img {
    transform: scale(1.02);
}

.coupon-banner-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.coupon-validity,
.coupon-usage {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.coupon-validity i,
.coupon-usage i {
    color: var(--primary);
    width: 20px;
}

.coupon-validity strong {
    color: var(--primary);
}

.coupon-price {
    margin-top: 20px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.coupon-price .price-amount {
    font-family: 'Michroma', sans-serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.coupon-price .price-unit {
    font-size: 1.2rem;
    color: var(--text-muted);
    text-transform: lowercase;
}

/* Scratch & Win Header */
.scratch-win-header {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 0;
    padding: 30px 0;
    border-bottom: 1px solid #333;
    background: linear-gradient(90deg, transparent, rgba(212, 240, 54, 0.05), transparent);
}

.scratch-win-header h2 {
    font-family: 'Michroma', sans-serif;
    font-size: calc(1.55rem + 6px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.scratch-win-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 1rem auto 0;
    font-size: 22px;
    font-family: 'Open Sans', sans-serif;
}

/* Scratch & Win Coupon Cards */
.scratch-coupon-card {
    background: var(--bg-card);
    border: 1px solid #333;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.scratch-coupon-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
}

.scratch-coupon-card.popular {
    border: 2px solid var(--primary);
}

.scratch-coupon-card .ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary);
    color: var(--text-on-primary);
    padding: 5px 15px;
    font-family: 'Michroma', sans-serif;
    font-size: 1rem;
    font-weight: bold;
    z-index: 2;
}

.scratch-card-image {
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    padding: 20px;
    border-bottom: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scratch-coupon-card.popular .scratch-card-image {
    border-bottom-color: var(--primary);
}

.scratch-card-image img {
    width: 100%;
    max-width: 240px;
    height: auto;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.4));
    transition: transform 0.4s ease;
}

.scratch-coupon-card:hover .scratch-card-image img {
    transform: scale(1.05) rotate(-2deg);
}

.scratch-card-content {
    padding: 25px;
    text-align: center;
}

.scratch-card-content h4 {
    font-family: 'Michroma', sans-serif;
    font-size: 0.9rem;
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 15px;
}

.scratch-card-details {
    margin-bottom: 15px;
}

.scratch-card-details p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.scratch-card-details i {
    color: var(--primary);
    font-size: 0.9rem;
}

.scratch-card-price {
    font-family: 'Michroma', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 15px;
}

.scratch-card-note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
    padding: 0 10px;
}

/* --- Scratch & Win --- */
#scratch-win {
    background: var(--bg-dark);
    position: relative;
}

.scratch-win-section {
    background: var(--bg-dark);
    position: relative;
    padding-top: 0;
    scroll-margin-top: calc(var(--header-height) + 16px);
}

.scratch-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    align-items: center;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 600px;
}

.package-card {
    background: var(--bg-lighter);
    padding: 20px;
    border: 1px solid #333;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.package-card:hover {
    border-color: var(--primary);
    background: #222;
}

.package-card h4 {
    font-size: 1.05rem;
    color: var(--white);
}

.demo-area {
    width: 300px;
    height: 180px;
    position: relative;
    user-select: none;
    border: 4px solid var(--white);
}

.scratch-base {
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: var(--text-on-primary);
    position: absolute;
    top: 0;
    left: 0;
}

canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

/* --- Sponsors --- */
#sponsors {
    background: url('/images/mallBackground.png') center center / cover no-repeat fixed;
    position: relative;
}

#sponsors::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

#sponsors .container {
    position: relative;
    z-index: 1;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
    margin-top: 40px;
}

.sponsor-card {
    width: 100%;
    height: 100px;
    background: var(--bg-card);
    border: 1px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.sponsor-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(212, 240, 54, 0.2);
    transform: translateY(-5px);
}

.sponsor-card span {
    font-family: 'Michroma', sans-serif;
    font-size: 0.9rem;
    color: #ffffff;
    letter-spacing: 1px;
    transition: color 0.3s;
    z-index: 2;
    text-align: center;
    padding: 0 10px;
}

.sponsor-card:hover span {
    color: var(--primary);
}

/* --- Testimonials --- */
#testimonials {
    background: url('/images/mallBackground.png') center center / cover no-repeat fixed;
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    scroll-margin-top: calc(var(--header-height) + 16px);
}

#testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

#testimonials .container {
    position: relative;
    z-index: 1;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 12px 40px;
    border: 1px solid #444;
    background: var(--bg-dark);
    color: var(--text-muted);
    cursor: pointer;
    font-family: 'Michroma', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.tab-btn.active {
    background: var(--primary);
    color: var(--text-on-primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.testimonial-content {
    display: none;
    animation: fadeIn 0.5s;
}

.testimonial-content.active {
    display: block;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 30px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: 0.3s;
}

.testimonial-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.user-info {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar {
    width: 50px;
    height: 50px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--primary);
    border: 1px solid #444;
}

.avatar.avatar-img {
    padding: 0;
    overflow: hidden;
}

.avatar.avatar-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Winner Card Layout */
.winner-wrapper {
    display: flex;
    flex-direction: column;
}

.testimonial-card.winner-card {
    display: flex;
    flex-direction: row;
    padding: 0;
    overflow: hidden;
}

.winner-image {
    flex: 0 0 120px;
    min-height: 100%;
}

.winner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.winner-content {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.winner-content .quote-icon {
    position: static;
    margin-bottom: 10px;
}

.btn-watch-video {
    width: 100%;
    padding: 12px 20px;
    background: var(--primary);
    border: 1px solid var(--primary);
    color: var(--bg-dark);
    font-family: 'Michroma', sans-serif;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    border-radius: 10px;
}

.btn-watch-video:hover {
    background: var(--primary);
    color: var(--bg-dark);
}

.btn-watch-video i {
    font-size: 1rem;
}

@media (max-width: 640px) {
    .testimonial-card.winner-card {
        flex-direction: column;
    }
    
    .winner-image {
        flex: 0 0 150px;
        width: 100%;
    }
    
    .winner-content {
        padding: 20px;
    }
}

/* --- How it Works (FIXED) --- */
#how-it-works {
    background: var(--bg-dark);
    border-top: 1px solid #222;
    padding-bottom: 120px;
    padding-top: 80px;
}

.workflow-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    margin-top: 80px; /* Increased top margin for badges */
}

/* Connecting Line behind steps */
.workflow-container::before {
    content: '';
    position: absolute;
    top: -25px; /* Aligned with the center of the badges */
    left: 10%;
    right: 10%;
    height: 2px;
    background: #333;
    z-index: 0;
    display: block;
}

/* Wrapper for the card */
.workflow-item {
    flex: 1;
    position: relative;
    z-index: 1;
}

.workflow-card {
    background: var(--bg-card);
    border: 1px solid #333;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    /* Slanted corners clipped here */
    clip-path: polygon(10% 0, 100% 0, 100% 90%, 90% 100%, 0 100%, 0 10%);
    height: 100%;
}

.workflow-item:hover .workflow-card {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
    background: #1a1a1a;
}

/* Badge sits OUTSIDE the clipped card */
.step-number {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Michroma', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    z-index: 2;
    transition: 0.3s;
}

.workflow-item:hover .step-number {
    background: var(--primary);
    color: black;
    box-shadow: 0 0 15px rgba(212, 240, 54, 0.5);
}

.workflow-icon {
    font-size: 2.5rem;
    color: var(--white);
    margin: 10px 0 15px;
    transition: 0.3s;
}

.workflow-item:hover .workflow-icon {
    color: var(--primary);
    transform: scale(1.1);
}

.workflow-card h3 {
    color: var(--white);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.workflow-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Discount Cards Banner Section --- */
.hero-combined-wrapper {
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(17,17,17,0.85) 100%), url('../images/hero2.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

#discount-cards-banner {
    background: transparent;
    padding: 0 0 80px 0;
    position: relative;
    overflow: hidden;
}

#discount-cards-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 240, 54, 0.03) 0%, transparent 50%, rgba(212, 240, 54, 0.03) 100%);
    pointer-events: none;
}

.discount-cards-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    perspective: 1000px;
}

.discount-card-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.discount-card-item:nth-child(1) {
    transform: rotate(-5deg);
}

.discount-card-item:nth-child(2) {
    transform: rotate(0deg) scale(1.05);
    z-index: 2;
}

.discount-card-item:nth-child(3) {
    transform: rotate(5deg);
}

.discount-card-item:hover {
    transform: rotate(0deg) scale(1.1) translateY(-10px);
    z-index: 10;
}

.discount-card-image {
    width: 320px;
    height: 200px;
    background: transparent;
    border: none;
}


.discount-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.discount-card-item:hover .discount-card-image img {
    transform: scale(1.05);
}

.discount-card-item .btn {
    min-width: 150px;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.discount-card-item:hover .btn {
    opacity: 1;
}

.discount-card-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.discount-card-actions .btn {
    min-width: 150px;
}

.btn-video {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 20px;
    background: transparent;
    border: 2px solid #AECA37;
    color: #AECA37;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-video:hover {
    background: #AECA37;
    color: #1a1a2e;
}

.btn-video i {
    font-size: 1rem;
}

.discount-card-title {
    font-family: 'Michroma', sans-serif;
    font-size: calc(1rem + 4px);
    font-weight: 700;
    color: var(--text-main);
    text-transform: uppercase;
    text-align: center;
    margin: 15px 0;
    letter-spacing: 1px;
}

/* Responsive Discount Cards */
@media (max-width: 1024px) {
    .discount-cards-wrapper {
        gap: 25px;
    }
    
    .discount-card-image {
        width: 280px;
        height: 175px;
    }
    
    .discount-card-item:nth-child(1) {
        transform: rotate(-3deg);
    }
    
    .discount-card-item:nth-child(3) {
        transform: rotate(3deg);
    }
}

@media (max-width: 768px) {
    #discount-cards-banner {
        padding: 60px 0;
    }
    
    .discount-cards-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .discount-card-item:nth-child(1),
    .discount-card-item:nth-child(2),
    .discount-card-item:nth-child(3) {
        transform: rotate(0deg) scale(1);
    }
    
    .discount-card-image {
        width: 300px;
        height: 188px;
    }
}

/* --- About Section --- */
#about {
    background: var(--bg-dark);
    padding: 60px 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--primary);
    color: black;
    padding: 8px 20px;
    font-family: 'Michroma', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 20px;
    /* Slanted shape */
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%);
}

.section-title-small {
    font-family: 'Michroma', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    line-height: 1;
    text-transform: uppercase;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 100%;
    margin: 0 auto;
    font-size: calc(0.85rem + 6px);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 0;
}

.about-card {
    background: #151515;
    border: 1px solid #333;
    padding: 40px 30px;
    text-align: left;
    transition: 0.3s;
}

.about-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.about-card-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 25px;
}

.about-card-image {
    width: calc(100% + 62px);
    height: 200px;
    margin: -41px -31px 25px -31px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #252525 100%);
    border-bottom: 1px solid #333;
}

.about-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-card:hover .about-card-image img {
    transform: scale(1.05);
}

.about-card:hover .about-card-image {
    border-bottom-color: var(--primary);
}

.about-card h3 {
    font-size: 0.85rem;
    color: white;
    margin-bottom: 15px;
}

.about-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item h3 {
    font-family: 'Michroma', sans-serif;
    font-size: 2.75rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-item p {
    color: white;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .coupon-banner { grid-template-columns: 1fr; }
    .coupon-banner-info { padding: 30px; }
    .coupon-price .price-amount { font-size: 3rem; }
}

/* --- Contact Section --- */
#contact {
    background: var(--bg-dark);
    padding: 100px 0;
    border-top: 1px solid #222;
}

.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-form-wrapper {
    background: #151515; 
    padding: 50px;
    border: 1px solid #333;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Neon accent line on the left */
.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    color: #888;
    font-family: 'Michroma', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    padding: 15px 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
    height: 54px; 
    appearance: none;
}

textarea.form-control {
    height: auto; 
    min-height: 150px;
    resize: vertical;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(212, 240, 54, 0.1);
    outline: none;
    background: #111;
}

select.form-control {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px;
}

/* Verification Code Styles */
.form-group-verification-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
    width: 100%;
}

.form-group-verification {
    flex: 1;
}

.verification-code-container {
    display: flex;
    gap: 15px;
    align-items: center;
}

.verification-code-display {
    background: #000;
    border: 2px solid var(--primary);
    height: 54px;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 8px;
    color: var(--primary);
    text-align: center;
    min-width: 150px;
    user-select: none;
    border-radius: 4px;
    flex-shrink: 0;
}

.verification-input {
    flex: 1;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

.verification-error {
    color: #ff4444;
    font-size: 0.9rem;
    margin-top: 8px;
    font-family: 'Open Sans', sans-serif;
}

.submit-btn-container {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.submit-btn {
    width: auto;
    min-width: 180px;
    background: var(--primary);
    color: black;
    font-family: 'Michroma', sans-serif;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 15px 20px;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 95% 100%, 0 100%);
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.1);
}

.contact-info-box {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-detail {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--bg-lighter);
    border: 1px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.detail-content h4 {
    color: var(--white);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.detail-content p {
    color: var(--text-muted);
}

.map-frame {
    width: 100%;
    height: 250px;
    background: #1a1a1a;
    border: 1px solid #333;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-frame::after {
    content: 'MAP PREVIEW';
    color: #444;
    font-weight: bold;
    letter-spacing: 2px;
}

/* --- Footer --- */
footer {
    background: #0a0a0a;
    color: var(--text-muted);
    padding: 80px 0 30px;
    border-top: 4px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-links-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 40px;
    gap: 10px;
}

.footer-menu-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.footer-menu-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

/* WhatsApp Footer Button */
.whatsapp-footer {
    width: 50px;
    height: 50px;
    background: #25D366;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-footer:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white !important;
}

.footer-col h3 {
    color: var(--white);
    font-size: 0.9rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-desc {
    margin-bottom: 25px;
    max-width: 300px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.footer-links li {
    margin-bottom: 0;
}

.footer-links a {
    display: inline-block;
    padding: 10px 20px;
    background: transparent;
    border: none;
    border-radius: 25px;
    color: #ffffff;
    font-family: 'Michroma', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    border-color: transparent;
    background: transparent;
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
    border: 1px solid #333;
}

.newsletter-input {
    flex: 1;
    padding: 15px;
    background: #151515;
    border: none;
    color: white;
    outline: none;
}

.newsletter-btn {
    padding: 0 20px;
    background: var(--primary);
    border: none;
    color: black;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.newsletter-btn:hover {
    background: var(--white);
}

.social-bar {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    color: white;
}

.social-icon:hover {
    background: var(--primary);
    color: black;
    border-color: var(--primary);
}

.app-download-label {
    margin-top: 30px;
    text-align: center;
    color: #AECA37;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-size: 26px;
}

.app-store-buttons {
    display: flex;
    gap: 15px;
    margin-top: 12px;
    justify-content: center;
    align-items: center;
}

.app-store-btn {
    display: inline-block;
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.app-store-btn img {
    height: 50px;
    width: auto;
    display: block;
}

.app-store-btn:hover {
    transform: translateY(-5px) scale(1.05);
    opacity: 0.9;
}

.bottom-bar {
    border-top: 1px solid #222;
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: #555;
}

/* --- Coming Soon Popup --- */
.coming-soon-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10001;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.coming-soon-overlay.active {
    display: flex;
}

.coming-soon-popup {
    background: var(--bg-card);
    border: 1px solid #333;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s ease;
    box-shadow: 0 0 30px rgba(174, 202, 55, 0.15);
}

.coming-soon-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.6rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.coming-soon-close:hover {
    color: var(--primary);
}

.coming-soon-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary), #8ab52a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coming-soon-icon i {
    font-size: 1.75rem;
    color: var(--text-on-primary);
}

.coming-soon-title {
    font-family: 'Michroma', sans-serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 12px;
}

.coming-soon-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.coming-soon-btn {
    background: var(--primary);
    color: var(--text-on-primary);
    border: none;
    padding: 10px 36px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.coming-soon-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.back-to-top {
    display: none !important;
    visibility: hidden !important;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    animation: bounce 2s infinite;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    display: none !important;
    visibility: hidden !important;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: white;
}

.whatsapp-float i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile Responsive --- */
@media (max-width: 1024px) {
    .mobile-toggle { display: block; }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 300px;
        height: calc(100vh - var(--header-height));
        background: var(--bg-lighter);
        border-left: 1px solid #333;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        transition: 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
        z-index: 9998;
        overflow-y: auto;
    }

    .nav-menu.active {
        right: 0;
    }
    
    .nav-controls {
        display: none; 
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-left: 15px;
        display: none;
    }

    .nav-dropdown:hover .dropdown-menu,
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-link {
        padding: 8px 15px;
        font-size: 1rem;
    }

    .dropdown-link:hover {
        padding-left: 20px;
    }

    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    
    /* Merchants Section Mobile */
    .merchants-layout {
        grid-template-columns: 1fr;
    }
    
    .merchants-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 10px;
        padding: 15px;
    }
    
    .sidebar-category-btn {
        padding: 10px 12px;
        margin-bottom: 0;
        font-size: 0.8rem;
        border: 1px solid #333;
        border-left: 3px solid transparent;
    }
    
    .sidebar-category-btn.active {
        border: 1px solid var(--primary);
        border-left: 3px solid var(--primary-hover);
    }
    
    .sidebar-category-btn .category-count {
        display: none;
    }
    
    /* Workflow Mobile */
    .workflow-container {
        flex-direction: column;
        gap: 60px;
        margin-top: 50px;
    }
    .workflow-container::before {
        width: 2px;
        height: 100%;
        left: 50%;
        top: 0;
    }
    
    .step-number {
        top: -30px; /* Adjusted for vertical layout */
    }
}

@media (max-width: 640px) {
    .grid-4 { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: scale(1); }
    .packages-grid { grid-template-columns: 1fr; }
    .scratch-container { gap: 30px; }
    .footer-grid { grid-template-columns: 1fr; }
    
    /* Merchants Section Mobile */
    .merchants-sidebar {
        grid-template-columns: 1fr 1fr;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .merchants-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-search-btn {
        margin-left: 0;
        justify-content: center;
    }
    
    .merchants-category-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .merchants-category-title h3 {
        font-size: 1.1rem;
    }
    
    /* Filter Bar Mobile */
    .categories {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    
    .advanced-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-dropdown {
        width: 100%;
    }
    
    .filter-dropdown-btn {
        width: 100%;
        justify-content: space-between;
    }
    
    .filter-dropdown-content {
        width: 100%;
    }
    
    .filter-clear-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   CLIENT SIGNUP PAGE STYLES
   ============================================ */

#client-signup,
#merchant-signup,
#sponsor-signup {
    min-height: 100vh;
    padding: 60px 0 100px;
    background: var(--bg-dark);
}

.signup-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid #333;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Neon accent line on the left */
.signup-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--primary);
}

/* Signup Header - Dark Theme */
.signup-header {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-hover) 100%);
    padding: 20px 40px;
    text-align: center;
    border-bottom: 3px solid var(--primary-hover);
}

.signup-header h1 {
    font-family: 'Michroma', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-on-primary);
    margin: 0;
    letter-spacing: 2px;
}

/* User Type Badge */
.user-type-badge {
    display: inline-block;
    margin: 25px 0 10px 40px;
}

.user-type-badge span {
    display: inline-block;
    padding: 10px 30px;
    background: var(--bg-lighter);
    border: 2px solid var(--primary);
    font-family: 'Michroma', sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: capitalize;
}

/* Form Styles */
#clientSignupForm,
#merchantSignupForm,
#sponsorSignupForm {
    padding: 20px 40px 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

.form-row.single {
    grid-template-columns: 1fr;
    max-width: 50%;
}

#client-signup .form-group,
#merchant-signup .form-group,
#sponsor-signup .form-group {
    margin-bottom: 5px;
}

#client-signup .form-label,
#merchant-signup .form-label,
#sponsor-signup .form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-family: 'Michroma', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#client-signup .form-label .required,
#merchant-signup .form-label .required,
#sponsor-signup .form-label .required {
    color: #ff4444;
    font-weight: 700;
}

#client-signup .form-control,
#merchant-signup .form-control,
#sponsor-signup .form-control {
    width: 100%;
    background: var(--bg-dark);
    border: 1px solid #444;
    color: var(--text-main);
    border-radius: 0;
    padding: 12px 15px;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s;
    height: 50px;
}

#client-signup textarea.form-control,
#merchant-signup textarea.form-control,
#sponsor-signup textarea.form-control {
    height: auto;
    min-height: 120px;
    resize: vertical;
}

#client-signup .form-control:focus,
#merchant-signup .form-control:focus,
#sponsor-signup .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(212, 240, 54, 0.15);
    outline: none;
    background: #1a1a1a;
}

#client-signup .form-control.error,
#merchant-signup .form-control.error,
#sponsor-signup .form-control.error {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

#client-signup .form-control.success,
#merchant-signup .form-control.success,
#sponsor-signup .form-control.success {
    border-color: var(--primary);
    background: rgba(212, 240, 54, 0.05);
}

#client-signup select.form-control,
#merchant-signup select.form-control,
#sponsor-signup select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    cursor: pointer;
}

/* Password Field */
.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 45px;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.toggle-password:hover {
    color: var(--primary);
}

/* Helper & Error Text */
.helper-text {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 5px;
}

.auto-check-text {
    display: block;
    font-size: 0.75rem;
    color: #666;
    font-style: italic;
}

.verification-text {
    color: var(--primary);
}

.error-message {
    display: block;
    font-size: 0.8rem;
    color: #e74c3c;
    margin-top: 5px;
    min-height: 18px;
}

/* Agent Code Group */
.agent-code-group {
    max-width: calc(50% - 20px);
}

.agent-code-group .form-control {
    max-width: 200px;
}

/* Form Actions */
.form-actions {
    margin-top: 40px;
    text-align: center;
}

#client-signup .submit-btn,
#merchant-signup .submit-btn,
#sponsor-signup .submit-btn {
    min-width: 250px;
    padding: 15px 50px;
    background: var(--primary);
    color: var(--text-on-primary);
    font-family: 'Michroma', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    clip-path: polygon(5% 0, 100% 0, 100% 80%, 95% 100%, 0 100%, 0 20%);
}

#client-signup .submit-btn:hover,
#merchant-signup .submit-btn:hover,
#sponsor-signup .submit-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

#client-signup .submit-btn:disabled,
#merchant-signup .submit-btn:disabled,
#sponsor-signup .submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.login-link {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.login-link a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.login-link a:hover {
    color: var(--text-main);
    text-decoration: underline;
}

/* ============================================
   MODAL STYLES
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--bg-card);
    border: 1px solid #333;
    padding: 50px;
    text-align: center;
    max-width: 450px;
    width: 90%;
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-content.show {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
}

.modal-icon {
    margin-bottom: 25px;
}

.modal-icon svg {
    width: 80px;
    height: 80px;
}

/* Success Checkmark Animation */
.checkmark {
    stroke: var(--primary);
    stroke-width: 2;
    stroke-miterlimit: 10;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

/* Error Cross Animation */
.cross {
    stroke: #e74c3c;
    stroke-width: 2;
    stroke-miterlimit: 10;
}

.cross-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.cross-line {
    stroke-dasharray: 30;
    stroke-dashoffset: 30;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

/* Warning Animation */
.warning {
    stroke: #f39c12;
    stroke-width: 2;
    stroke-miterlimit: 10;
}

.warning-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.warning-line {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

.warning-dot {
    opacity: 0;
    animation: fadeInDot 0.2s ease 1s forwards;
    fill: #f39c12;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInDot {
    100% {
        opacity: 1;
    }
}

.modal-content h2 {
    font-family: 'Michroma', sans-serif;
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.success-modal h2 {
    color: var(--primary);
}

.error-modal h2 {
    color: #e74c3c;
}

.exists-modal h2 {
    color: #f39c12;
}

.modal-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-btn {
    min-width: 180px;
    padding: 12px 30px;
    font-size: 1.2rem;
    clip-path: none;
    border-radius: 4px;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.modal-buttons .modal-btn {
    min-width: 160px;
}

/* ============================================
   SIGNUP PAGE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .signup-wrapper {
        margin: 0 15px;
    }
    
    .signup-header {
        padding: 15px 20px;
    }
    
    .signup-header h1 {
        font-size: 2rem;
    }
    
    .user-type-badge {
        margin: 20px 0 10px 20px;
    }
    
    #clientSignupForm,
    #merchantSignupForm,
    #sponsorSignupForm {
        padding: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row.single {
        max-width: 100%;
    }
    
    .agent-code-group {
        max-width: 100%;
    }
    
    .agent-code-group .form-control {
        max-width: 100%;
    }
    
    .modal-content {
        padding: 30px 20px;
        width: calc(100% - 30px);
    }
    
    .modal-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .modal-content h2 {
        font-size: 2rem;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
    
    .modal-buttons .modal-btn {
        width: 100%;
    }
}

/* =====================================================
   FAQ SECTION STYLES
   ===================================================== */
#faq {
    padding: 100px 0;
    background: var(--bg-dark);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid rgba(174, 202, 55, 0.2);
    border-radius: 8px;
    background: var(--bg-card);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(174, 202, 55, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
}

.faq-question span {
    font-family: 'Michroma', sans-serif;
    font-size: 0.95rem;
    color: var(--text-main);
    letter-spacing: 0.5px;
    flex: 1;
    padding-right: 15px;
}

.faq-icon {
    color: var(--primary);
    font-size: 1rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    background: rgba(174, 202, 55, 0.1);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 20px 25px 25px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer h4 {
    color: var(--primary);
    font-family: 'Michroma', sans-serif;
    font-size: 0.85rem;
    margin: 20px 0 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-answer h4:first-child {
    margin-top: 0;
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.faq-list li {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding: 8px 0 8px 25px;
    position: relative;
    line-height: 1.6;
}

.faq-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.faq-answer strong {
    color: var(--text-main);
}

/* FAQ Contact Box */
.faq-contact-box {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(174, 202, 55, 0.1) 100%);
    border: 1px solid rgba(174, 202, 55, 0.3);
    border-radius: 12px;
    text-align: center;
}

.faq-contact-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(174, 202, 55, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-contact-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.faq-contact-box h3 {
    font-family: 'Michroma', sans-serif;
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 10px;
}

.faq-contact-box p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
}

.faq-contact-box .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.faq-contact-box .btn i {
    font-size: 1rem;
}

/* FAQ Responsive */
@media (max-width: 768px) {
    #faq {
        padding: 60px 0;
    }
    
    .faq-question {
        padding: 15px 18px;
    }
    
    .faq-question span {
        font-size: 0.85rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px 18px 20px;
    }
    
    .faq-answer p,
    .faq-list li {
        font-size: 0.9rem;
    }
    
    .faq-contact-box {
        padding: 30px 20px;
    }
    
    .faq-contact-box h3 {
        font-size: 1rem;
    }
}

/* =====================================================
   BENEFITS SECTIONS STYLES
   ===================================================== */
#benefits-sponsors,
#benefits-merchants {
    padding: 100px 0;
    background: var(--bg-dark);
}

#benefits-sponsors {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(174, 202, 55, 0.05) 50%, var(--bg-dark) 100%);
}

#benefits-merchants {
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(174, 202, 55, 0.03) 50%, var(--bg-dark) 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid rgba(174, 202, 55, 0.2);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: rgba(174, 202, 55, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    background: var(--primary);
}

.benefit-icon i {
    font-size: 1.8rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon i {
    color: var(--text-on-primary);
}

.benefit-card h3 {
    font-family: 'Michroma', sans-serif;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.benefits-summary {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    padding: 30px;
    background: rgba(174, 202, 55, 0.08);
    border-radius: 12px;
    border: 1px solid rgba(174, 202, 55, 0.2);
}

.benefits-summary p {
    color: var(--text-main);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.benefits-cta {
    text-align: center;
}

.benefits-cta h3 {
    font-family: 'Michroma', sans-serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.benefits-cta .btn {
    padding: 15px 50px;
    font-size: 0.85rem;
}

/* Benefits Responsive */
@media (max-width: 1200px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    #benefits-sponsors,
    #benefits-merchants {
        padding: 60px 0;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .benefit-card {
        padding: 20px 15px;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .benefit-card h3 {
        font-size: 0.8rem;
    }
    
    .benefit-card p {
        font-size: 0.85rem;
    }
    
    .benefits-summary {
        padding: 20px;
    }
    
    .benefits-summary p {
        font-size: 1rem;
    }
    
    .benefits-cta h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Login Form Dropdown --- */
.login-form-dropdown {
    min-width: 280px;
    padding: 20px !important;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.login-error-message {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.4);
    color: #ff6b7a;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: 'Open Sans', sans-serif;
    text-align: center;
    line-height: 1.4;
}

.login-form-input.input-error {
    border-color: #dc3545;
    box-shadow: 0 0 6px rgba(220, 53, 69, 0.3);
}

.login-form-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-form-group {
    width: 100%;
}

.login-form-group.password-group {
    position: relative;
}

.login-form-group .password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 5px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.login-form-group .password-toggle:hover {
    color: var(--primary);
}

.login-form-group.password-group .login-form-input {
    padding-right: 40px;
}

.login-form-input {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-dark);
    border: 1px solid #444;
    color: var(--text-main);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    outline: none;
}

.login-form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 8px rgba(174, 202, 55, 0.2);
}

.login-form-input::placeholder {
    color: var(--text-muted);
}

.login-form-btn {
    width: 100%;
    padding: 12px 20px;
    margin-top: 5px;
    clip-path: none;
    border-radius: 4px;
}

.forgot-password-link {
    display: block;
    text-align: center;
    color: var(--primary);
    font-family: 'Open Sans', sans-serif;
    font-size: 0.8rem;
    margin-top: 8px;
    transition: all 0.3s ease;
    background: transparent !important;
}

.forgot-password-link:hover {
    color: var(--text-main);
    text-decoration: underline;
    background: transparent !important;
}

.login-divider {
    display: flex;
    align-items: center;
    margin: 15px 0;
    gap: 10px;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #444;
}

.login-divider span {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    font-family: 'Michroma', sans-serif;
}

/* Register Dropdown inside Login Form */
.register-dropdown {
    position: relative;
    width: 100%;
}

.register-dropdown-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    clip-path: none;
    border-radius: 4px;
}

.register-dropdown-toggle i {
    font-size: 0.6rem;
    transition: transform 0.3s ease;
}

.register-dropdown:hover .register-dropdown-toggle i {
    transform: rotate(180deg);
}

.register-dropdown-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid #333;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 10002;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
    list-style: none;
    margin: 0 0 5px 0;
    border-radius: 4px;
}

.register-dropdown:hover .register-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.register-dropdown-menu li {
    list-style: none;
}

.register-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--text-main);
    font-family: 'Michroma', sans-serif;
    font-size: 0.7rem;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
}

.register-dropdown-menu a:hover {
    background: var(--bg-dark);
    color: var(--primary);
    padding-left: 21px;
}

.register-dropdown-menu a i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

/* ============================================
   SPONSOR SIGNUP POLISH + MAP MODAL
   Scoped under #sponsor-signup to avoid side effects
   ============================================ */

#sponsor-signup {
    padding: 70px 0 90px;
}

#sponsor-signup .signup-wrapper {
    max-width: 980px;
    margin: 0 auto;
}

#sponsor-signup .section-title h2 {
    margin-bottom: 8px;
}

#sponsor-signup .form-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 22px;
    margin-bottom: 16px;
}

#sponsor-signup .section-header {
    font-family: 'Michroma', sans-serif;
    letter-spacing: 0.5px;
    font-size: 1rem;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#sponsor-signup .map-selector-wrapper {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

#sponsor-signup .map-selector-wrapper .form-control {
    flex: 1;
}

#sponsor-signup .btn-map-selector {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s ease;
}

#sponsor-signup .btn-map-selector:hover {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.10);
    transform: translateY(-1px);
}

#sponsor-signup .btn-map-selector.disabled,
#sponsor-signup .btn-map-selector:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
}

#sponsor-signup .maps-warning {
    margin-top: 10px;
    color: #f6c343;
    font-size: 0.85rem;
}

#sponsor-signup .branch-item {
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
    background: rgba(0, 0, 0, 0.15);
}

#sponsor-signup .branch-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

#sponsor-signup .branch-header h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
}

#sponsor-signup .btn-remove-branch {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 90, 90, 0.10);
    color: #ff6b6b;
    cursor: pointer;
    transition: all 0.2s ease;
}

#sponsor-signup .btn-remove-branch:hover {
    background: rgba(255, 90, 90, 0.16);
    transform: translateY(-1px);
}

#sponsor-signup .submit-btn .btn-text {
    font-size: 0.85rem;
    letter-spacing: 0.8px;
}

/* Map modal */
.map-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10050;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    padding: 18px;
}

.map-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.map-modal {
    width: min(980px, 100%);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
    transform: translateY(14px) scale(0.98);
    transition: all 0.25s ease;
}

.map-modal-overlay.show .map-modal {
    transform: translateY(0) scale(1);
}

.map-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.map-modal-header h3 {
    margin: 0;
    font-family: 'Michroma', sans-serif;
    font-size: 1rem;
}

.map-modal-subtitle {
    margin: 6px 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.map-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
    cursor: pointer;
}

.map-modal-body {
    padding: 14px 18px 18px;
}

.map-modal-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.map-search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.map-search input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 0.95rem;
}

.map-coords {
    color: var(--text-muted);
    font-size: 0.85rem;
    white-space: nowrap;
}

.map-canvas {
    height: 420px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.map-selection {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.map-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 14px 18px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 640px) {
    #sponsor-signup .map-selector-wrapper {
        flex-direction: column;
    }

    .map-modal-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .map-canvas {
        height: 360px;
    }
}

/* --- Date Input Styles (dd-MM-yyyy format) --- */
input[type="text"].date-input {
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

input.date-invalid {
    border-color: #ff4444 !important;
    background-color: #1a0000 !important;
}

input.date-invalid:focus {
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.2) !important;
}

/* --- Mobile Responsive Fixes --- */
@media (max-width: 480px) {
    .btn {
        padding: 14px 28px;
        font-size: 0.8rem;
    }

    .view-btn {
        padding: 12px 16px;
    }

    .tabs {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 0.75rem;
        flex: 1 1 auto;
        min-width: 0;
    }

    .privacy-content,
    .contract-content {
        padding: 20px !important;
    }

    .coupon-banner-info {
        padding: 20px;
    }

    .discount-card-image {
        width: 100%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 16 / 10;
    }
}

/* --- Mobile Touch Target & Overflow Fixes --- */
@media (max-width: 480px) {
    .btn {
        padding: 14px 28px;
        font-size: 0.8rem;
    }

    .view-btn {
        padding: 12px 16px;
    }

    .tabs {
        flex-wrap: wrap;
        gap: 10px;
    }

    .tab-btn {
        padding: 10px 20px;
        font-size: 0.75rem;
    }
}
