:root {
    --primary-bg: #0f0f23;
    --secondary-bg: #1a1a2e;
    --card-bg: #16213e;
    --accent-color: #facc15;
    --accent-hover: #eab308;
    --text-primary: #ffffff;
    --text-secondary: #d4d4d8;
    --text-muted: #a1a1aa;
    --border-color: #374151;
    --success-color: #10b981;
    --error-color: #ef4444;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* DESKTOP HEADER STYLES */
header {
    position: sticky;
    top: 0;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    gap: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.nav-item:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-item:hover::before {
    left: 0;
}

.material-icons {
    font-size: 20px;
}

.search-and-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-form {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.search-input {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 2rem;
    padding: 0.75rem 1rem 0.75rem 3rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    display: none;
    padding: 0.5rem;
    flex-shrink: 0;
}

/* MOBILE ELEMENTS - HIDDEN BY DEFAULT */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-top-bar {
    display: none;
}

.sidebar {
    display: none;
    position: fixed;
    left: -280px;
    top: 0;
    width: 280px;
    height: 100vh;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-color);
    padding: 1.5rem;
    transition: all 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    flex-direction: column;
}

.sidebar.open {
    left: 0;
}

.sidebar-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-header .logo {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 0.75rem;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.sidebar-header h2 {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
    overflow: hidden;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 0.5rem;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    font-size: 0.9rem;
}

.sidebar-nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    z-index: -1;
}

.sidebar-nav a:hover::before,
.sidebar-nav a.active::before {
    left: 0;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    color: var(--text-primary);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.sidebar-nav a .material-icons {
    font-size: 20px;
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-banner {
    margin-top: auto;
    background: var(--gradient-primary);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sidebar-banner .banner-content {
    position: relative;
    z-index: 1;
}

.sidebar-banner h3 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.sidebar-banner p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

/* BANNER STYLES */
.banner {
    position: relative;
    background: var(--gradient-primary);
    border-radius: 1rem;
    margin: 1rem 0 2rem;
    min-height: 150px;
    display: flex;
    align-items: center;
    padding: 2rem;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('') center/cover;
    opacity: 0.3;
    z-index: 0;
}

.banner-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.banner-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    position: relative;
    overflow: hidden;
}

.banner-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: shine 3s infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes shine {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

.banner-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.banner-title .material-icons {
    font-size: 2.5rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* RECOMMENDED SECTION */
section.recommended {
    padding: 32px 0 80px;
}

.recommended-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

section.recommended h2 {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin: 0;
}

.filter-toggle-btn {
    background-color: var(--card-bg);
    border: none;
    padding: 8px 16px;
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.filter-toggle-btn:hover {
    background-color: var(--secondary-bg);
}

.filter-section.hidden {
    display: none;
}

.filter-section {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-group input,
.filter-group select {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.1);
}

.filter-group input::placeholder {
    color: var(--text-muted);
}

.filter-btn {
    background: var(--accent-color);
    color: var(--primary-bg);
    border: none;
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    height: fit-content;
}

.filter-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.reset-btn {
    background: var(--secondary-bg);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.reset-btn:hover {
    background: var(--border-color);
}

/* CARDS GRID */
.cards-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

/* CARD */
.card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 12px;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.card img {
    border-radius: 12px;
    width: 100%;
    object-fit: cover;
}

/* SOLD CARD STYLING */
.card.sold {
    position: relative;
}

.card.sold img {
    filter: blur(4px) brightness(0.4);
    transition: filter 0.3s ease;
}

.card.sold::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    border-radius: 16px;
}

.card.sold .card-sold {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: 3px solid var(--accent-color);
    color: var(--accent-color);
    font-weight: 900;
    font-size: 1.5rem;
    padding: 12px 24px;
    border-radius: 12px;
    z-index: 10;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: soldPulse 2s infinite;
}

@keyframes soldPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--gradient-primary);
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
}

.card-footer {
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.card-price {
    margin-top: 6px;
    color: var(--accent-color);
    font-weight: 700;
}

/* Swiper Styles */
.swiper-container {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.swiper-slide {
    width: 100% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(255, 255, 0, 0.6);
}

.swiper-button-next, .swiper-button-prev {
    color: #fff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.swiper-button-next {
    right: 10px;
}

.swiper-button-prev {
    left: 10px;
}

/* Detail page styles */
.detail-container {
    max-width: 1200px;
    margin: 48px auto 80px;
    padding: 16px;
    background-color: var(--card-bg);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    color: var(--text-primary);
    display: none;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 24px;
}

.detail-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--accent-color);
    text-align: center;
}

.modal-left {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.modal-left h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 16px;
    text-align: center;
}

.modal-left h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 20px 0 12px;
}

.modal-left ol {
    padding-left: 20px;
    margin-bottom: 16px;
}

.modal-left li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.detail-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.detail-info {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.detail-info p {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
}

.detail-info ul {
    padding-left: 20px;
    margin-top: 12px;
}

.detail-info li {
    margin-bottom: 6px;
    color: var(--text-secondary);
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.detail-info a {
    color: var(--accent-color);
    text-decoration: underline;
}

.detail-info a:hover {
    color: var(--accent-hover);
}

.button-container {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
    flex-wrap: wrap;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: var(--shadow-md);
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.back-link .icon {
    width: 20px;
    height: 20px;
}

/* FOOTER */
footer {
    background: var(--secondary-bg);
    border-top: 1px solid var(--border-color);
    padding: 24px 0;
    text-align: center;
    color: var(--text-muted);
    margin-top: 48px;
}

/* FLOATING ICON BUTTON */
.floating-icon-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: var(--shadow-xl);
    transition: all 0.3s ease;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-icon-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.4);
}

.floating-icon-btn .material-icons {
    font-size: 28px;
}

/* WhatsApp Pop-up Styles */
.whatsapp-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(138, 123, 239, 0.9), rgba(92, 75, 162, 0.1));
    backdrop-filter: blur(15px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-popup.show {
    opacity: 1;
}

.whatsapp-popup-content {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border: none;
    border-radius: 24px;
    max-width: 380px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    animation: popupSlideIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    flex-direction: column;
    transform-style: preserve-3d;
}

.whatsapp-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #666;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    line-height: 1;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.whatsapp-popup-close:hover {
    background: rgba(255, 255, 255, 1);
    color: #8A7BEF;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(138, 123, 239, 0.3);
}

@keyframes popupSlideIn {
    0% {
        transform: scale(0.7) translateY(-50px) rotateX(15deg);
        opacity: 0;
        filter: blur(10px);
    }
    50% {
        transform: scale(1.05) translateY(-10px) rotateX(5deg);
        opacity: 0.8;
        filter: blur(2px);
    }
    100% {
        transform: scale(1) translateY(0) rotateX(0deg);
        opacity: 1;
        filter: blur(0);
    }
}

.whatsapp-popup-image-section {
    background: linear-gradient(135deg, #8A7BEF, #5C4BA2);
    padding: 50px 30px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    overflow: hidden;
}

.whatsapp-popup-image {
    max-width: 100%;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.whatsapp-popup-text-section {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 30px;
    text-align: left;
    position: relative;
}

.whatsapp-popup-text-section h3 {
    background: linear-gradient(135deg, #8A7BEF, #5C4BA2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.whatsapp-popup-text-section p {
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
    font-weight: 500;
}

.whatsapp-join-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #8A7BEF 0%, #5C4BA2 50%, #667eea 100%);
    background-size: 200% 200%;
    color: white;
    padding: 16px 24px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 25px rgba(138, 123, 239, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.whatsapp-join-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(138, 123, 239, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    filter: brightness(1.1);
}

.whatsapp-join-btn .material-icons {
    font-size: 20px;
}

.whatsapp-popup-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #2d3748, #1a202c);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.whatsapp-popup-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #8A7BEF;
    cursor: pointer;
}

.whatsapp-popup-checkbox label {
    color: #e2e8f0;
    font-size: 0.85rem;
    cursor: pointer;
    user-select: none;
    margin: 0;
    font-weight: 500;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 0.5rem;
    }

    /* Hide desktop header */
    .header-inner {
        display: none;
    }

    /* Show mobile elements */
    .menu-toggle {
        display: block;
    }

    .sidebar {
        display: flex;
    }

    .mobile-top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
        background: rgba(15, 15, 35, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--border-color);
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .mobile-top-bar-left {
        display: flex;
        align-items: center;
        gap: 1rem;
        flex: 1;
        min-width: 0;
    }

    .mobile-top-bar-right {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .search-form {
        max-width: none;
        min-width: 0;
        flex: 1;
    }

    .banner-title {
        font-size: 1.8rem;
    }
    
    .banner-title .material-icons {
        font-size: 1.8rem;
    }
    
    .detail-content {
        grid-template-columns: 1fr;
        gap: 20px;
        display: flex;
        flex-direction: column;
    }
    
    .modal-left {
        order: 2;
    }
    
    .detail-right {
        order: 1;
    }
    
    .button-container {
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        margin: 20px 0 0 0;
    }
    
    .back-link {
        width: auto;
        max-width: none;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .floating-icon-btn {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
    
    .sidebar {
        width: 260px;
        padding: 1.25rem;
    }
    
    .sidebar-header h2 {
        font-size: 1rem;
    }
    
    .sidebar-nav a {
        padding: 0.75rem 0.875rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 480px) {
    .mobile-top-bar {
        padding: 0.75rem;
    }
    
    .card {
        padding: 0.875rem;
        border-radius: 12px;
    }
    
    .sidebar {
        width: 240px;
        padding: 1rem;
    }
    
    .sidebar-header h2 {
        font-size: 0.9rem;
    }
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
    .sidebar-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    .card:hover {
        transform: none;
    }
    
    .sidebar-nav a:hover {
        transform: none;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card {
    animation: fadeInUp 0.6s ease-out;
}

.card:nth-child(2) {
    animation-delay: 0.1s;
}

.card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

