:root {
    --primary-blue: #4A90E2;
    --interactive-indigo: #5C4EE5;
    --accent-coral: #FF6F61;
    --success-green: #3EB489;
    --warning-yellow: #F5C542;
    --bg-light-gray: #F7F8FA;
    --border-mid-gray: #D1D5DB;
    --text-dark-gray: #4B4F58;
    --bg-color: #ffffff;
    --text-color: #121212;
    --accent-gold: #BE9D4B;
    --deep-navy: #f8f9fa;
    --soft-gray: #f1f3f5;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --border-color: #e9ecef;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dark-mode {
    --bg-color: #0d0d0d;
    --text-color: #f5f5f7;
    --accent-gold: #f9d77a;
    --deep-navy: #162134;
    --soft-gray: #1a1a1a;
    --glass-bg: rgba(255, 255, 255, 0.08);
    /* Luxury Transparency */
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
.logo-text {
    font-family: 'Outfit', sans-serif;
}

html,
body {
    height: 100vh;
    overflow: hidden;
    width: 100%;
    position: relative;
    margin: 0;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    width: 100%;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

body.dark-mode {
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, #0d0d0d 100%);
}

.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
    width: 100%;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
.header {
    height: 72px;
    background: var(--deep-navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--border-color);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.logo-container .logo {
    height: 100px;
    cursor: pointer;
    transition: var(--transition);
    object-fit: contain;
}

.logo:hover {
    transform: scale(1.05);
}

.header-center {
    flex: 1;
    max-width: 600px;
    margin: 0 2rem;
    position: relative;
    display: flex;
    align-items: center;
}

.search-bar-wrap {
    width: 100%;
    background: #0a1424;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    padding: 4px 6px;
    transition: var(--transition);
}

.search-bar-wrap:focus-within {
    border-color: #BE9D4B;
    background: #0c182b;
}

.search-bar-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    outline: none;
}

.search-bar-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search-btn-gold {
    width: 38px;
    height: 38px;
    background: #BE9D4B;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-btn-gold:hover {
    background: #a3863e;
    transform: scale(1.05);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-right: 0.5rem;
}

.nav-text-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0.2rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-text-btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: var(--transition);
}

.nav-text-btn:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.nav-text-btn:hover:after {
    width: 80%;
}

.partner-btn {
    background: #BE9D4B;
    color: #fff;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.partner-btn:hover {
    background: #a3863e;
    transform: translateY(-2px);
}

.partner-btn span {
    display: inline;
}

/* I've count button */
.ive-header-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    background: #1e2d46;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition);
}

.ive-header-btn:hover {
    background: #2a3c5a;
}

.ive-header-btn.ive-has-items {
    background: #BE9D4B;
}

.theme-toggle-gold {
    width: 42px;
    height: 42px;
    background: #BE9D4B;
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.1rem;
}

.theme-toggle-gold:hover {
    background: #a3863e;
    transform: scale(1.05);
}

.search-toggle-btn,
#search-toggle-mobile {
    display: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-color);
    transition: var(--transition);
    padding: 4px;
    border: none;
    background: transparent;
}

.search-toggle-btn:hover,
#search-toggle-mobile:hover {
    color: var(--accent-gold);
}

/* ══════════════════════════════
   MOBILE SEARCH ROW
══════════════════════════════ */
.mobile-search-row {
    display: none;
    width: 100%;
    padding: 0.8rem 4% 1rem;
    background: #000;
    z-index: 1200;
}

.mobile-search-row.visible {
    display: block;
}

.mobile-search-row .search-bar-container {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.mobile-search-row #search-input-mobile {
    width: 100%;
    background: #080a0f;
    border: 1px solid var(--accent-gold);
    border-radius: 50px;
    padding: 0.85rem 1.4rem;
    padding-left: 3.2rem;
    color: #fff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
}

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

.mobile-search-row .search-icon {
    position: absolute;
    left: 1.4rem;
    color: #555;
    font-size: 1.1rem;
}

.mobile-search-row .search-results-dropdown {
    position: fixed;
    left: 4%;
    right: 4%;
    width: 92%;
    z-index: 9999;
    max-height: 60vh;
    background: #1a1a1a;
    border: 1.5px solid #444;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.95);
    overflow-y: auto;
    backdrop-filter: none !important;
}

/* General search results dropdown for desktop */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 100%;
    background: #1a1a1a;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    z-index: 2000;
    max-height: 400px;
    overflow-y: auto;
}

body:not(.dark-mode) .search-results-dropdown {
    background: #fff;
    border-color: #ddd;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.search-item {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

body:not(.dark-mode) .search-item {
    border-bottom-color: #f0f0f0;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background: rgba(190, 157, 75, 0.1);
}

.search-item strong {
    font-size: 0.95rem;
    color: var(--accent-gold);
}

.search-item small {
    font-size: 0.75rem;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body:not(.dark-mode) .mobile-search-row .search-results-dropdown {
    background: #fff;
    border-color: #ddd;
}

/* ══════════════════════════════
   SUB-NAV BAR
══════════════════════════════ */
.sub-nav-bar {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: sticky;
    top: 72px;
    z-index: 900;
    overflow: hidden;
    height: 44px;
    width: 100%;
    backdrop-filter: blur(10px);
}

.sub-nav-inner {
    display: flex;
    align-items: center;
    padding: 0 4% 0 0;
}

.all-cat-nav-btn {
    height: 44px;
    padding: 0 1.5rem;
    background: #C5A132;
    border: none;
    color: #fff;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.8px;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 100;
    text-transform: uppercase;
}

.all-cat-nav-btn i {
    font-size: 1.1rem;
}

.all-cat-nav-btn:hover {
    background: #b4912d;
}

.sub-nav-links-wrap {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    min-width: 0;
}

.sub-nav-links {
    display: flex;
    gap: 0;
    animation: subNavMarquee 40s linear infinite;
    width: max-content;
}

.sub-nav-links:hover {
    animation-play-state: paused;
}

@keyframes subNavMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.sub-nav-link {
    padding: 0 1.5rem;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-color);
    text-transform: uppercase;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
    height: 44px;
    display: flex;
    align-items: center;
    letter-spacing: 0.6px;
    opacity: 0.8;
}

.sub-nav-link:hover {
    color: #BE9D4B;
    opacity: 1;
}

.sub-nav-link.active {
    color: #BE9D4B;
    opacity: 1;
}

/* ══════════════════════════════
   BREADCRUMBS
══════════════════════════════ */
.breadcrumbs-container {
    padding: 4px 4%;
    font-size: 0.65rem;
    opacity: 0.6;
    transition: var(--transition);
    background: transparent;
    border: none;
    overflow-x: auto;
    white-space: nowrap;
}

body:not(.dark-mode) .breadcrumbs-container {
    background: #f8f9fa;
}

.breadcrumbs-container::-webkit-scrollbar {
    display: none;
}

.breadcrumbs-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.breadcrumbs-container.hidden {
    display: none;
}

.breadcrumbs {
    display: flex;
    align-items: center;
}

.breadcrumbs span {
    cursor: pointer;
    color: var(--accent-gold);
    font-weight: 600;
    display: flex;
    align-items: center;
}

.breadcrumbs span:hover {
    filter: brightness(1.2);
}

.breadcrumbs span:after {
    content: "\f105";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin: 0 8px;
    font-size: 0.65rem;
    color: var(--border-color);
    opacity: 0.8;
}

.breadcrumbs span:last-child {
    color: var(--text-color);
    opacity: 0.7;
    pointer-events: none;
    font-weight: 400;
}

.breadcrumbs span:last-child:after {
    content: "";
}

/* ══════════════════════════════
   VIEWS
══════════════════════════════ */
.view {
    width: 100%;
    transition: opacity 0.4s ease;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.view.hidden {
    display: none !important;
    opacity: 0;
    pointer-events: none;
}

#home-page {
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 72px);
    padding-bottom: 40px;
}

/* ══════════════════════════════
   HOME PAGE — CAROUSEL
══════════════════════════════ */
.carousel-section {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    perspective: 1800px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.carousel-container {
    width: 100%;
    height: 500px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.carousel-item {
    position: absolute;
    width: 320px;
    height: 480px;
    background: #7a7a7a;
    border-radius: 40px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.7s cubic-bezier(0.25, 1, 0.35, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) brightness(0.65);
    transition: var(--transition);
    transform: scale(1.05);
    /* Slight scale to hide edges during rotation */
}

.carousel-item.active {
    transform: translate3d(0, 0, 350px);
    z-index: 10;
    opacity: 1;
}

.carousel-item.active img {
    filter: grayscale(0) brightness(1);
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
    object-fit: cover;
}

.carousel-item.prev {
    transform: translate3d(-220px, 0, 140px) rotateY(30deg);
    z-index: 5;
    opacity: 0.85;
}

.carousel-item.next {
    transform: translate3d(220px, 0, 140px) rotateY(-30deg);
    z-index: 5;
    opacity: 0.85;
}

.carousel-item.far-prev {
    transform: translate3d(-380px, 0, -50px) rotateY(45deg);
    z-index: 2;
    opacity: 0.3;
}

.carousel-item.far-next {
    transform: translate3d(380px, 0, -50px) rotateY(-45deg);
    z-index: 2;
    opacity: 0.3;
}

.carousel-nav {
    position: absolute;
    width: 98%;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    z-index: 100;
}

.nav-arrow {
    font-size: 3.5rem;
    color: var(--accent-gold);
    cursor: pointer;
    pointer-events: auto;
    opacity: 0.3;
    transition: var(--transition);
}

.nav-arrow:hover {
    opacity: 0.9;
    transform: scale(1.1);
}

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    text-align: center;
}

.item-overlay h3 {
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* ══════════════════════════════
   BROWSE PAGE (Category / Sub-cat)
══════════════════════════════ */
.browse-page {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 4%;
    overflow: hidden;
}

/* Thumbnail row wrapper */
.cat-thumb-row-wrap {
    display: flex;
    overflow: hidden;
    margin: 1rem auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 12px 20px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    width: fit-content;
    max-width: 95%;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5),
        inset 0 0 10px rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.static-thumb-container {
    flex-shrink: 0;
    padding-right: 15px;
    border-right: 2px solid var(--border-color);
    margin-right: 15px;
    position: relative;
    z-index: 5;
}

.cat-thumb-arrow {
    background: #1a1a1a;
    border: 1.5px solid var(--accent-gold);
    color: var(--accent-gold);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    margin: 0 10px;
    z-index: 10;
}

.cat-thumb-arrow:hover {
    box-shadow: 0 0 15px rgba(249, 215, 122, 0.4);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .cat-thumb-arrow {
        display: none !important;
    }
}

.cat-thumb-scroll-wrap {
    flex: 1;
    overflow: hidden;
    display: flex;
    padding: 15px 0;
    margin: -15px 0;
}

.cat-thumb-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    width: max-content;
    animation: thumbMarquee 60s linear infinite;
}

.cat-thumb-row:hover {
    animation-play-state: paused;
}

@keyframes thumbMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.cat-thumb-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    width: 100px;
}

.cat-thumb-img {
    width: 65px;
    /* Slightly smaller to fit 100vh better */
    height: 65px;
    border-radius: 12px;
    object-fit: cover;
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    background: #1a1a1a;
}

.cat-thumb-card.active .cat-thumb-img,
.cat-thumb-card:hover .cat-thumb-img {
    border-color: var(--accent-gold);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(249, 215, 122, 0.3);
}

.cat-thumb-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.65rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.6;
    text-align: center;
    max-width: 95px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: var(--transition);
}

.cat-thumb-card.active .cat-thumb-label,
.cat-thumb-card:hover .cat-thumb-label {
    color: var(--accent-gold);
    opacity: 1;
}

/* Preview area Carousel */
.cat-preview-area {
    text-align: center;
    padding-top: 0.5rem;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cat-preview-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 6vh, 4rem);
    font-weight: 200;
    letter-spacing: clamp(5px, 2vw, 15px);
    margin-bottom: clamp(0.5rem, 2.5vh, 2rem);
    background: linear-gradient(to right, #fff, var(--accent-gold), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0, 0, 1);
    opacity: 0.9;
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(249, 215, 122, 0.2));
}

.cat-preview-title::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    transform: scaleY(-0.4) translateY(10px);
    opacity: 0.05;
    pointer-events: none;
    background: linear-gradient(to bottom, var(--accent-gold), transparent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preview-carousel-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.cat-preview-img-wrap {
    height: max(25vh, min(33vh, 360px));
    aspect-ratio: 1/1;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

.cat-preview-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0, 1);
}

.cat-preview-img-wrap:hover img {
    transform: scale(1.08);
}

/* ══════════════════════════════
   COMPARISON / PRODUCT PAGE
══════════════════════════════ */
.comparison-container {
    padding: 0.5rem 4%;
    display: flex;
    flex-direction: column;
    height: calc(100svh - 150px);
    overflow: hidden;
    position: relative;
    text-align: center;
    background: var(--bg-color);
    transition: var(--transition);
}

.comp-top-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.2rem;
    padding-right: 2rem;
}

#ive-this-btn {
    background: #BE9D4B;
    color: #fff;
    border: none;
    padding: 0.7rem 1.4rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

#ive-this-btn.ive-marked {
    color: #1a1a1a;
}

#ive-this-btn:hover {
    background: #a3863e;
    transform: scale(1.05);
}

.comparison-cards {
    display: flex;
    justify-content: center;
    gap: clamp(10px, 3vw, 40px);
    padding: 1rem 0;
    flex-wrap: nowrap;
    /* Forces cards strictly side-by-side causing them to shrink if necessary */
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
}

.new-comp-card {
    position: relative;
    width: 100%;
    max-width: 414px;
    /* Scaled down to 90% */
    background: #151921;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: clamp(1.26rem, 2.7vh, 1.62rem) clamp(0.45rem, 0.9vh, 0.9rem) clamp(0.45rem, 1.35vh, 1.08rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 13px 31px rgba(0, 0, 0, 0.2);
    flex: 0 1 auto;
    min-height: 0;
    overflow: visible;
    margin-top: 9px;
}

.new-comp-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #3EB489, #2D8B6A);
    /* Success Green */
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0.36rem 1.08rem;
    border-radius: 45px;
    letter-spacing: 0.9px;
    box-shadow: 0 3px 13px rgba(62, 180, 137, 0.3);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
}

.sponsor-new-badge {
    background: linear-gradient(135deg, #FDB714, #F48A1D);
    /* old gold gradient */
    color: #111;
    box-shadow: 0 3px 13px rgba(253, 183, 20, 0.3);
    border: none;
}

.new-comp-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(0.9rem, 2.25vh, 1.26rem);
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: clamp(0.27rem, 0.9vh, 0.72rem);
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#app .new-comp-card .new-comp-img-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    max-width: 378px !important;
    max-height: 378px !important;
    aspect-ratio: 1/1 !important;
    height: auto !important;
    flex: 0 0 auto !important;
    border-radius: 11px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.3s;
    margin: 0 auto;
}

#app .new-comp-card .new-comp-img-link:hover {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

#app .new-comp-card .new-comp-img-link img {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block;
    margin: auto !important;
}

.sponsor-img-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.sponsor-img-placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
    transition: color 0.3s, transform 0.3s;
}

.new-comp-card.sponsor-new-card:hover .sponsor-img-placeholder i {
    color: var(--accent-gold);
    transform: scale(1.1);
}

/* ══════════════════════════════
   MEGA MENU
══════════════════════════════ */
.mega-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    bottom: 0;
    background: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(20px);
    z-index: 500;
    display: flex;
    justify-content: center;
    padding: 50px 4% 80px;
    overflow-y: auto;
}

.menu-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    width: 100%;
    max-width: 1400px;
    height: max-content;
}

.menu-cat h4 {
    color: var(--accent-gold);
    margin-bottom: 0.8rem;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.menu-cat ul {
    list-style: none;
}

.menu-cat li {
    padding: 4px 0;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    font-size: 0.9rem;
}

.menu-cat li:hover {
    opacity: 1;
    color: var(--accent-gold);
    transform: translateX(8px);
}

.hidden {
    display: none !important;
}

/* ══════════════════════════════
   SCROLLBAR
══════════════════════════════ */
::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar:horizontal {
    height: 0;
}

::-webkit-scrollbar-track {
    background: var(--soft-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 10px;
}

/* ══════════════════════════════
   ABOUT PAGE
══════════════════════════════ */
.view-title {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    border-left: 5px solid var(--accent-gold);
    padding-left: 18px;
}

/* ══════════════════════════════
   NEW ABOUT PAGE
══════════════════════════════ */
#about-page {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#about-page .about-hero-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 5%;
    background: radial-gradient(circle at 50% 50%, #162134 0%, #0d0d0d 100%);
    overflow: hidden;
}

.about-main-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.8rem, 7vw, 4.2rem);
    color: var(--accent-gold);
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.about-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 650px;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-luxury-card {
    background: rgba(25, 25, 25, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem 3rem;
    max-width: 850px;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
}

.about-luxury-card p {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #f1f1f1;
    margin-bottom: 0;
}

.about-contact-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    width: 100%;
}

.contact-pill {
    background: #090909;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.9rem 1.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.contact-pill i {
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.contact-pill:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.gold-text {
    color: var(--accent-gold);
    font-weight: 600;
}

.view-btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.8rem;
    border-radius: 50px;
    transition: var(--transition);
}

.view-btn:hover {
    background: var(--accent-gold);
    color: #000;
}

/* ══════════════════════════════
   ADVERTISE PAGE / PARTNER FORM
══════════════════════════════ */
#advertise-page {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

/* ══════════════════════════════
   SPONSORED MATRIX
══════════════════════════════ */
.sponsor-container {
    max-width: 98% !important;
    padding: 1.5rem 1.2rem !important;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin: 0 auto;
}

.sponsor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.sponsor-header .view-title {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 1.8rem;
}

.partner-form-container.sponsor-container .partner-premium {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-width: 100%;
}

.matrix-grid-wrap {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.matrix-loader {
    text-align: center;
    padding: 2.5rem;
    color: var(--accent-gold);
    font-size: 1rem;
}

.matrix-table-scroll {
    flex: 1;
    overflow: auto;
}

.premium-matrix-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    white-space: nowrap;
    background: transparent;
}

.premium-matrix-table thead {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #1a1a1a;
    color: var(--accent-gold);
}

.premium-matrix-table th {
    padding: 15px 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--accent-gold);
}

.premium-matrix-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.premium-matrix-table .sticky-col {
    position: sticky;
    left: 0;
    z-index: 50;
    background: #111;
    text-align: left;
    font-weight: 600;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.premium-matrix-table thead .sticky-col {
    z-index: 110;
}

.avail-cell {
    background: rgba(76, 175, 80, 0.02);
}

.booked-cell {
    background: rgba(244, 67, 54, 0.02);
}

.empty-cell {
    opacity: 0.15;
}

.matrix-label {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 5px;
}

.grid-chk {
    transform: scale(1.2);
    cursor: pointer;
}

.status-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.avail {
    color: #4CAF50;
}

.status-badge.booked {
    color: #F44336;
    opacity: 0.6;
}

.partner-submit-btn {
    background: var(--accent-gold) !important;
    color: #000 !important;
    border: none !important;
    padding: 0.8rem 2.22rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: var(--transition);
}

.partner-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(190, 157, 75, 0.3);
}

/* Mobile cleanliness for Sponsor Page */
@media (max-width: 768px) {
    .sponsor-container {
        padding: 1rem 0.5rem !important;
    }

    .sponsor-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
    }

    .sponsor-header .view-title {
        font-size: 1.6rem;
    }

    .partner-submit-btn {
        width: 100% !important;
        padding: 0.8rem 1.5rem !important;
        font-size: 0.9rem !important;
    }

    .matrix-table-scroll {
        max-height: 70vh;
    }

    .premium-matrix-table th,
    .premium-matrix-table td {
        padding: 8px 6px;
        font-size: 0.7rem;
    }

    .sticky-col {
        padding-left: 8px !important;
        background: #111 !important;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
    }

    .status-badge {
        font-size: 0.6rem;
    }

    .grid-chk {
        transform: scale(1.1);
    }
}


/* ══════════════════════════════
   CONTACT PAGE
══════════════════════════════ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 1.5rem;
    padding: 0 4% 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h3 {
    color: var(--accent-gold);
    letter-spacing: 2px;
    font-size: 1.7rem;
}

.contact-method {
    display: flex;
    gap: 1.2rem;
    align-items: center;
}

.contact-method i {
    width: 56px;
    height: 56px;
    background: var(--soft-gray);
    color: var(--accent-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.contact-method:hover i {
    background: var(--accent-gold);
    color: #000;
}

.contact-method span {
    display: block;
    font-size: 0.78rem;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.contact-method p {
    font-weight: 600;
    font-size: 1rem;
}

.premium-form {
    background: var(--glass-bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.4rem;
}

#advertising-fields {
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 1.1rem;
    margin-bottom: 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    opacity: 0.8;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.9rem 1rem;
    border-radius: 10px;
    background: var(--soft-gray);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.1);
}

.submit-btn {
    width: 100%;
    margin-top: 0.5rem;
    cursor: pointer;
    background: #0d0d0db3;
    backdrop-filter: blur(5px);
}

/* ══════════════════════════════
   ARCHIVE PAGE
══════════════════════════════ */
.archive-intro-box {
    margin-bottom: 2.5rem;
    max-width: 680px;
    border-left: 3px solid var(--accent-gold);
    padding-left: 18px;
    padding: 0 4% 0;
}

.archive-intro-box {
    padding: 0;
    padding-left: 18px;
    margin: 0 4% 2.5rem;
}

.archive-intro {
    font-size: 1.05rem;
    opacity: 0.8;
    line-height: 1.6;
}

.archive-timeline {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 0 4% 5rem;
}

.archive-year-section {
    position: relative;
    padding-left: 46px;
    border-left: 2px solid var(--border-color);
}

.archive-year-section::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--bg-color);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    z-index: 1;
}

.year-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 1.3rem;
    font-family: 'Outfit', sans-serif;
}

.months-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1.3rem;
}

.month-card {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 1.4rem;
    border-radius: 14px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.month-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    background: var(--accent-gold);
    color: #000;
}

.month-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.month-card span {
    font-size: 0.78rem;
    opacity: 0.6;
    display: block;
    margin-top: 4px;
}

.month-card:hover span {
    opacity: 1;
}

/* view-title padding for inside pages */
#about-page .view-title,
#advertise-page .view-title,
#contact-page .view-title,
#archive-page .view-title {
    padding-left: calc(4% + 18px);
}

#about-page .view-title {
    margin-bottom: 0;
    margin-top: 1.5rem;
}

#advertise-page .view-title,
#contact-page .view-title,
#archive-page .view-title {
    margin-top: 1.5rem;
}

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 992px) {
    .header-center {
        max-width: 380px;
    }

    .partner-btn span {
        display: none;
    }

    .partner-btn {
        padding: 0.42rem 0.75rem;
    }

    .about-luxury-card {
        padding: 2.5rem 1.8rem;
        margin-bottom: 3.5rem;
    }

    .about-main-title {
        margin-bottom: 1.2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    #advertising-fields {
        grid-template-columns: 1fr 1fr !important;
    }

    #advertising-fields .form-group:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .header {
        height: 68px;
        padding: 0 3.5%;
    }

    .logo-container .logo {
        height: 60px;
    }

    .header-center {
        display: none;
    }

    .search-toggle-btn,
    #search-toggle-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #1e2d46;
        border-radius: 50%;
        color: var(--text-color);
        padding: 0;
    }

    .partner-btn {
        padding: 0.5rem;
        width: 40px;
        height: 40px;
        justify-content: center;
    }

    .partner-btn span {
        display: none;
    }

    .partner-btn i {
        font-size: 1.1rem;
        margin: 0;
    }

    .settings-btn {
        width: 40px;
        height: 40px;
    }

    .ive-header-btn {
        height: 40px;
        width: auto;
        padding: 0 0.8rem;
        gap: 6px;
        justify-content: center;
    }

    .ive-header-btn span {
        font-size: 0.8rem;
    }

    .all-cat-nav-btn {
        padding: 0 0.8rem;
        font-size: 0.75rem;
        gap: 6px;
    }

    .all-cat-nav-btn i {
        font-size: 0.9rem;
    }

    .sub-nav-bar {
        top: 68px;
    }

    .mobile-search-row {
        top: 60px;
    }

    .mega-menu {
        top: 60px;
    }

    .carousel-container {
        height: 80vh;
        max-height: 700px;
    }

    .carousel-item {
        width: 50vh;
        max-width: 420px;
        height: 72vh;
        max-height: 600px;
        border-radius: 35px;
    }

    .carousel-item.active {
        transform: translate3d(0, 0, 180px);
    }

    .carousel-item.prev {
        transform: translate3d(-20vw, 0, 50px) rotateY(20deg);
        opacity: 0.7;
    }

    .carousel-item.next {
        transform: translate3d(20vw, 0, 50px) rotateY(-20deg);
        opacity: 0.7;
    }

    .carousel-item.far-prev {
        transform: translate3d(-35vw, 0, -50px) rotateY(35deg);
        opacity: 0.15;
    }

    .carousel-item.far-next {
        transform: translate3d(35vw, 0, -50px) rotateY(-35deg);
        opacity: 0.15;
    }

    .item-overlay h3 {
        font-size: 1.3rem;
        letter-spacing: 2px;
    }

    .nav-arrow {
        font-size: 2.8rem;
        opacity: 0.25;
    }

    .comparison-container {
        padding: 0.5rem 3.5%;
        display: flex;
        flex-direction: column;
        height: calc(100svh - 146px);
        overflow: hidden;
        justify-content: flex-start;
    }

    .comp-top-actions {
        justify-content: flex-end;
        margin-bottom: 0.5rem;
        padding-right: 0;
    }

    #ive-this-btn {
        padding: 0.4rem 0.9rem;
        font-size: 0.72rem;
        border-radius: 8px;
    }

    .comparison-cards {
        display: flex;
        flex-direction: column;
        gap: 15px;
        padding: 5px 0;
        height: auto;
        flex: 1 1 0;
        min-height: 0;
        align-items: center;
        overflow-y: hidden;
        justify-content: center;
    }

    .comparison-cards::-webkit-scrollbar {
        display: none;
    }

    .new-comp-card {
        display: flex;
        flex-direction: column;
        width: 90%;
        max-width: 400px;
        margin: 0;
        padding: 1.2rem 1rem 0.5rem;
        height: auto !important;
        flex: 1 1 0 !important;
        min-height: 0 !important;
    }

    #app .new-comp-card .new-comp-img-link {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: auto !important;
        max-height: none;
        aspect-ratio: 1/1 !important;
        flex: 1 1 0 !important;
        min-height: 0 !important;
        margin: auto 0;
    }

    #app .new-comp-card .new-comp-img-link img {
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        position: relative !important;
        margin: auto !important;
    }

    .new-comp-title {
        display: block;
        font-size: 0.95rem;
        /* Smaller title to fit two column */
        margin: 5px 0 10px;
        white-space: normal;
        overflow: visible;
        height: auto;
        color: #fff;
    }

    .new-comp-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.8rem;
    }

    .comp-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 1rem;
        border-radius: 16px;
        display: grid;
        grid-template-columns: 90px 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 4px 12px;
        text-align: left;
        align-items: center;
        max-height: none;
        height: auto;
        flex: 1 1 0;
        min-height: 0;
        background: var(--glass-bg);
        border: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        align-content: center;
        overflow: hidden;
    }

    .comp-badge {
        grid-column: 2/3;
        grid-row: 1/2;
        margin-bottom: 0;
        align-self: start;
        padding: 2px 8px;
        font-size: 0.55rem;
        width: max-content;
        justify-self: start;
    }

    .comp-card-img-wrap {
        grid-column: 1/2;
        grid-row: 1/5;
        width: 90px;
        height: 90px;
        margin: 0;
        align-self: center;
        flex-shrink: 0;
        border-radius: 14px;
        background: #fff;
    }

    .comp-card-title {
        grid-column: 2/3;
        grid-row: 2/3;
        font-size: 1.05rem;
        font-weight: 700;
        margin-bottom: 2px;
        flex-shrink: 0;
        color: var(--accent-gold);
    }

    .comp-card-desc {
        grid-column: 2/3;
        grid-row: 3/4;
        font-size: 0.75rem;
        margin-bottom: 4px;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        opacity: 0.85;
    }

    .comp-card-btn {
        grid-column: 2/3;
        grid-row: 4/5;
        padding: 0.5rem 1.4rem;
        font-size: 0.75rem;
        margin-top: 6px;
        justify-self: start;
        width: max-content;
    }

    .sponsor-placeholder-card {
        padding: 1.2rem;
        background: linear-gradient(135deg, rgba(184, 134, 11, 0.1) 0%, rgba(245, 200, 66, 0.05) 100%);
        border: 1px dashed var(--accent-gold);
    }

    .placeholder-content {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .placeholder-content i {
        font-size: 1.8rem;
        margin-bottom: 0;
        color: var(--accent-gold);
    }

    .placeholder-content span {
        font-size: 0.65rem;
        letter-spacing: 1px;
    }

    .cat-preview-title {
        font-size: 1.8rem;
        letter-spacing: 4px;
        margin-bottom: 1rem;
    }

    .cat-preview-title::after {
        transform: scaleY(-0.4) translateY(5px);
    }

    .cat-preview-img-wrap {
        height: 260px;
    }

    .cat-preview-img-wrap img {
        height: 260px;
    }

    #about-page .about-hero-section {
        padding: 2rem 4% 4rem;
    }

    .about-luxury-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .about-luxury-card p {
        font-size: 1.1rem;
    }

    .contact-wrapper {
        padding: 0 3.5% 3rem;
    }

    .premium-form {
        padding: 1.8rem;
    }

    .ads-grid {
        padding: 0 3.5% 3rem;
    }

    .archive-timeline {
        padding: 0 3.5% 4rem;
    }

    .archive-intro-box {
        margin: 0 3.5% 2rem;
    }

    .menu-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    #about-page .view-title,
    #advertise-page .view-title,
    #contact-page .view-title,
    #archive-page .view-title {
        padding-left: calc(3.5% + 14px);
    }

}

@media (max-width: 576px) {
    .header {
        padding: 0 4%;
    }

    .header-right {
        gap: 0.6rem;
    }

    .logo-container .logo {
        height: 60px;
    }

    .theme-toggle-gold,
    .search-toggle-btn,
    #search-toggle-mobile,
    .partner-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .ive-header-btn {
        width: auto;
        height: 36px;
        padding: 0 0.6rem;
        gap: 4px;
        font-size: 0.7rem;
    }

    .new-comp-img-link {
        height: 260px !important;
    }

    .carousel-section {
        margin-top: -65px; /* Move up even more */
    }

    .carousel-container {
        height: 500px;
    }

    .carousel-item {
        width: 290px;
        height: 440px;
        border-radius: 24px;
    }

    .carousel-item.active {
        transform: translate3d(0, 0, 200px);
    }

    .carousel-item.prev {
        transform: translate3d(-110px, 0, 70px) rotateY(24deg);
        opacity: 0.75;
    }

    .carousel-item.next {
        transform: translate3d(110px, 0, 70px) rotateY(-24deg);
        opacity: 0.75;
    }

    .carousel-item.far-prev {
        transform: translate3d(-190px, 0, 0) rotateY(40deg);
        opacity: 0.15;
    }

    .carousel-item.far-next {
        transform: translate3d(190px, 0, 0) rotateY(-40deg);
        opacity: 0.15;
    }

    .nav-arrow {
        font-size: 2.2rem;
    }

    .item-overlay h3 {
        font-size: 1.1rem;
    }

    .cat-thumb-row-wrap {
        margin: 0.2rem auto 0.8rem;
        padding: 6px 12px;
        order: -1;
    }

    .cat-thumb-img {
        width: 50px;
        height: 50px;
    }

    .cat-thumb-card {
        width: 60px;
    }

    .cat-thumb-label {
        font-size: 0.5rem;
        max-width: 58px;
    }

    .cat-preview-area {
        justify-content: flex-start;
        padding-top: 0;
        flex: 1;
    }

    .cat-preview-title {
        font-size: 1.8rem;
        letter-spacing: 5px;
        margin-bottom: 1.5rem;
    }

    .cat-preview-img-wrap {
        height: 35vh;
        /* Responsive height for mobile */
        width: auto;
        border-radius: 20px;
    }

    .cat-preview-img-wrap img {
        height: 100%;
        width: 100%;
    }

    .comp-card-img-wrap {
        width: 70px;
        height: 70px;
    }

    .comp-card {
        padding: 0.8rem;
        grid-template-columns: 70px 1fr;
        gap: 4px 10px;
    }

    .comp-card-title {
        font-size: 0.95rem;
    }

    .comp-card-desc {
        font-size: 0.65rem;
    }

    .comp-card-btn {
        padding: 0.4rem 1rem;
        font-size: 0.7rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .months-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .menu-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }

    .ads-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 400px) {
    .carousel-section {
        margin-top: -75px; /* Move it up even more */
    }

    .carousel-container {
        height: 480px; /* Enlarge */
        perspective: 1400px;
    }

    .carousel-item {
        width: 280px; /* Large enlargement */
        height: 420px; /* Large enlargement */
        border-radius: 22px;
    }

    .carousel-item.active {
        transform: translate3d(0, 0, 220px);
    }

    .carousel-item.prev {
        transform: translate3d(-105px, 0, 60px) rotateY(20deg);
    }

    .carousel-item.next {
        transform: translate3d(105px, 0, 60px) rotateY(-20deg);
    }

    .carousel-item.far-prev,
    .carousel-item.far-next {
        opacity: 0;
        pointer-events: none;
    }

    .nav-arrow {
        display: none;
    }

    .item-overlay h3 {
        font-size: 0.95rem;
    }
}

@media (hover: none) {
    .ad-card:hover {
        transform: none;
        box-shadow: none;
    }

    .ad-card:active {
        transform: scale(0.98);
        border-color: var(--accent-gold);
    }
}

/* ══════════════════════════════
   PREMIUM LIGHT MODE OVERRIDES
══════════════════════════════ */
body:not(.dark-mode) .search-bar-wrap {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

body:not(.dark-mode) .search-bar-wrap input {
    color: #1a1a1a;
}

body:not(.dark-mode) .search-bar-wrap input::placeholder {
    color: #a0aec0;
}

body:not(.dark-mode) .search-bar-wrap:focus-within {
    border-color: var(--accent-gold);
    box-shadow: 0 4px 12px rgba(190, 157, 75, 0.15);
}

body:not(.dark-mode) .ive-header-btn,
body:not(.dark-mode) .search-toggle-mobile,
body:not(.dark-mode) .search-toggle-btn {
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

body:not(.dark-mode) .ive-header-btn:hover,
body:not(.dark-mode) .search-toggle-mobile:hover,
body:not(.dark-mode) .search-toggle-btn:hover {
    background: #e2e8f0;
}

body:not(.dark-mode) .ive-header-btn.ive-has-items {
    background: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
}

body:not(.dark-mode) .sub-nav-bar {
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

body:not(.dark-mode) .new-comp-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

body:not(.dark-mode) .new-comp-title {
    color: #1a1a1a;
}

body:not(.dark-mode) #app .new-comp-card .new-comp-img-link {
    background: #f8f9fa;
    border: 1px solid #f1f3f5;
}

body:not(.dark-mode) .sponsor-container,
body:not(.dark-mode) .partner-form-container,
body:not(.dark-mode) .premium-form {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body:not(.dark-mode) .partner-premium .form-group input,
body:not(.dark-mode) .partner-premium .form-group select {
    color: #1a1a1a;
    border-color: #cbd5e1;
    background: #ffffff;
}

body:not(.dark-mode) .partner-premium .form-group input::placeholder {
    color: #94a3b8;
}

body:not(.dark-mode) .partner-submit-btn {
    background: var(--accent-gold) !important;
    color: #000000 !important;
    border: none !important;
}

body:not(.dark-mode) .partner-submit-btn:hover {
    background: #e5c065 !important;
    color: #000000 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body:not(.dark-mode) .sponsor-img-placeholder {
    background: #f8f9fa;
    border-color: #e2e8f0;
}

body:not(.dark-mode) .sponsor-img-placeholder i {
    color: #cbd5e1;
}

body:not(.dark-mode) .cat-preview-title {
    background: linear-gradient(to right, #1a1a1a, var(--accent-gold), #1a1a1a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- About Us Light Mode --- */
body:not(.dark-mode) #about-page .about-hero-section {
    background: radial-gradient(circle at 60% 40%, #ffffff 0%, #f0f4f8 100%);
}

body:not(.dark-mode) .about-main-title {
    color: #0f172a;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.02);
}

body:not(.dark-mode) .about-subtitle {
    color: #64748b;
}

body:not(.dark-mode) .about-luxury-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.08);
}

body:not(.dark-mode) .about-luxury-card p {
    color: #334155;
}

body:not(.dark-mode) .contact-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

body:not(.dark-mode) .contact-pill:hover {
    background: #f8fafc;
    border-color: var(--accent-gold);
    color: #0f172a;
}

/* --- Matrix Grid Light Mode --- */
body:not(.dark-mode) .matrix-grid-wrap {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

body:not(.dark-mode) .premium-matrix-table thead {
    background: #f1f5f9;
}

body:not(.dark-mode) .premium-matrix-table th {
    border-bottom: 2px solid #e2e8f0;
    color: #1e293b;
}

body:not(.dark-mode) .premium-matrix-table td {
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

body:not(.dark-mode) .premium-matrix-table .sticky-col {
    background: #f8fafc !important;
    border-right: 2px solid #e2e8f0;
    color: #0f172a;
}

body:not(.dark-mode) .avail-cell {
    background: rgba(74, 222, 128, 0.08);
    /* Soft emerald */
}

body:not(.dark-mode) .booked-cell {
    background: rgba(248, 113, 113, 0.08);
    /* Soft coral */
}

body:not(.dark-mode) .empty-cell {
    color: #94a3b8;
    background: #fbfcfe;
}

body:not(.dark-mode) .status-badge.avail {
    color: #15803d;
}

body:not(.dark-mode) .status-badge.booked {
    color: #b91c1c;
}

body:not(.dark-mode) .matrix-loader {
    background: #ffffff;
    color: var(--accent-gold);
}

/* Mobile Search Light Mode */
body:not(.dark-mode) .mobile-search-row {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

body:not(.dark-mode) .mobile-search-row #search-input-mobile {
    background: #f8fafc;
    color: #0f172a;
    border-color: #cbd5e1;
}

body:not(.dark-mode) .mobile-search-row .search-icon {
    color: #94a3b8;
}

/* Mega Menu Light Mode */
body:not(.dark-mode) .mega-menu {
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #e2e8f0;
}

body:not(.dark-mode) .menu-cat h4 {
    color: #1e293b;
    border-bottom: 1px solid #e2e8f0;
}

body:not(.dark-mode) .menu-cat li {
    color: #475569;
    opacity: 0.8;
}

body:not(.dark-mode) .menu-cat li:hover {
    color: var(--accent-gold);
    opacity: 1;
}

@media (max-width: 768px) {
    .menu-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Desktop Breadcrumbs Enhancement */
@media (min-width: 769px) {
    .breadcrumbs-container {
        font-size: 0.85rem;
        padding: 8px 4%;
    }
    .breadcrumbs span:after {
        font-size: 0.85rem;
    }
}