/* Reset & Base Setup */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --bg-main: #f4f4f5; 
    --bg-alt: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fafafa;
    --text-primary: #111111;
    --text-secondary: #555555;
    --accent-primary: #000000; 
    --accent-secondary: #222222;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.2);
    
    --font-main: 'Inter', sans-serif;
    --font-display: 'Unbounded', sans-serif;
    --line-pattern: rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] {
    --bg-main: #0a0a0a;
    --bg-alt: #141414;
    --bg-card: #111111;
    --bg-card-hover: #161616;
    --text-primary: #f4f4f5;
    --text-secondary: #a0a0a0;
    --accent-primary: #ffffff;
    --accent-secondary: #dddddd;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.2);
    --line-pattern: rgba(255, 255, 255, 0.02);
}

body, html {
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    margin: 0;
    padding: 0;
    background-color: var(--bg-main);
    background-image: repeating-linear-gradient(
        -45deg,
        var(--line-pattern) 0px,
        var(--line-pattern) 1px,
        transparent 1px,
        transparent 60px
    );
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
}

html.lenis {
    height: auto;
}
.lenis.lenis-smooth {
    scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

section {
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
.lenis.lenis-stopped {
    overflow: hidden;
}
.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0;
}

.bg-alt {
    background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(253, 203, 110, 0.08) 50%, rgba(255, 234, 167, 0.12) 100%);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 50px;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.grid {
    display: grid;
    gap: 30px;
}

/* Typography */
a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-display);
}

p {
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-weight: 500;
    font-size: 0.9rem;
    font-family: var(--font-main);
    text-transform: lowercase;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.btn-primary {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 50%, #ffeaa7 100%);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    color: #111111;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover:not(:disabled) {
    background: rgba(0, 0, 0, 0.03);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.btn-primary:disabled, .btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.w-full {
    width: 100%;
    box-sizing: border-box;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    box-sizing: border-box;
    z-index: 100;
    background: rgba(244, 244, 245, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: padding 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 50px;
    background: rgba(255, 255, 255, 0.9);
}

.logo {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -1px;
    color: var(--text-primary);
}

.navbar nav {
    display: flex;
    gap: 30px;
}

.navbar nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
}

.navbar nav a:hover, .navbar nav a.active {
    color: var(--text-primary);
}

.navbar nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--text-primary);
    transition: width 0.3s ease;
}

.navbar nav a:hover::after, .navbar nav a.active::after {
    width: 100%;
}

.disabled-link {
    opacity: 0.6;
    cursor: not-allowed;
}

.disabled-link .hover-text {
    display: none;
}

.disabled-link:hover .default-text {
    display: none;
}

.disabled-link:hover .hover-text {
    display: inline;
}

.navbar nav a.disabled-link:hover {
    color: var(--text-primary);
}

.navbar nav a.disabled-link::after {
    display: none;
}

/* FAQ Section */
.faq {
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease;
}
.faq-item:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}
.faq-item summary {
    padding: 25px 60px 25px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    color: var(--text-primary);
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}
.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}
.faq-content {
    padding: 0 30px 25px 30px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    opacity: 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 60px;
    position: relative;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.hero .container {
    max-width: 1400px; /* Сделал чуть уже, золотая середина */
    width: 100%;
}

.hero-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: stretch;
    isolation: isolate;
    transform: translateZ(0);
}

.hero-card-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
    border-radius: 24px;
    transform: scale(1.05);
}

.hero-card-glass {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 60px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
    border-radius: 24px;
}

.hero-card-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    backdrop-filter: blur(6px) saturate(110%);
    -webkit-backdrop-filter: blur(6px) saturate(110%);
    -webkit-mask-image: linear-gradient(to right, black 0%, black 25%, transparent 55%);
    mask-image: linear-gradient(to right, black 0%, black 25%, transparent 55%);
    border-radius: 24px;
}

.hero-card-glass::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 24px;
    background: linear-gradient(to right, rgba(20, 25, 20, 0.6) 0%, rgba(30, 40, 30, 0.2) 30%, rgba(30, 40, 30, 0) 55%);
    pointer-events: none;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 35px;
    max-width: 650px; /* Было 450px */
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    line-height: 1.6;
}

.text-accent {
    color: #00d4ff;
    background: linear-gradient(135deg, #00d4ff 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.text-gold {
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #fdcb6e;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-card-glass .btn-primary {
    /* Наследует глобальный золотой градиент */
}

.hero-card-glass .btn-primary:hover {
    /* Наследует глобальный золотой hover */
}

/* Cards shared styles */
.card, .shop-item, .review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.card:hover, .shop-item:hover, .review-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

/* Services */
.cards-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
    padding: 15px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.cover-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.card-cover {
    width: 100%;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    border: 1px solid var(--border-color);
}

.price-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 60, 60, 0.85);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(255, 60, 60, 0.4);
    pointer-events: none;
    letter-spacing: 0.5px;
}

/* Shop */
.shop-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    align-items: flex-start;
    gap: 40px;
}

.shop-item {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
}

.shop-item.featured {
    border-color: rgba(0, 0, 0, 0.3);
    background: var(--bg-card);
    transform: scale(1.05);
    z-index: 2;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.shop-item.featured:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: rgba(0, 0, 0, 0.6);
}

.item-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.shop-item h4 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.shop-item .price {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.shop-item ul {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex-grow: 1;
}

.shop-item ul li {
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Reviews (Скоро...) */
/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    background: #ffffff;
    padding: 80px 0 30px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-community h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-community p {
    color: var(--text-secondary);
    line-height: 1.5;
}

.footer-brand p {
    margin-top: 20px;
    max-width: 300px;
}

.social-links a:hover {
    color: var(--text-primary) !important;
}

.footer-links, .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links h4, .footer-contact h4 {
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.footer-links a, .footer-contact a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover, .footer-contact a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .shop-item.featured {
        transform: none;
    }
    .shop-item.featured:hover {
        transform: translateY(-5px);
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    .hero-card {
        flex-direction: column;
        min-height: auto;
    }
    .hero-card-glass {
        max-width: 100%;
        border-right: none;
        align-items: center;
        text-align: center;
        padding: 40px 30px;
    }
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px;
    }
    .hero-title {
        font-size: 3.5rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Theme Toggle */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(128, 128, 128, 0.1);
}

.sun-icon {
    display: none;
}

.moon-icon {
    display: block;
}

[data-theme="dark"] .sun-icon {
    display: block;
}

[data-theme="dark"] .moon-icon {
    display: none;
}

/* Dark mode specific overrides */
[data-theme="dark"] .btn-primary {
    color: #000;
}
[data-theme="dark"] .navbar {
    background: rgba(10, 10, 10, 0.8);
}
[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 15, 15, 0.95);
}
[data-theme="dark"] .footer {
    background: #0a0a0a;
}
[data-theme="dark"] .bg-alt {
    background: linear-gradient(135deg, var(--bg-alt) 0%, rgba(253, 203, 110, 0.05) 50%, rgba(255, 234, 167, 0.08) 100%);
}
[data-theme="dark"] .hero-glow {
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, rgba(16, 185, 129, 0.05) 40%, rgba(10,10,10,0) 70%);
}
[data-theme="dark"] .reviewer .avatar {
    background: #333;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    z-index: 1000;
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0,0,0,0.05);
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cookie-text strong {
    font-size: 1.1rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 5px;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    .cookie-buttons button {
        width: 100%;
    }
}

/* Shop Layout */
.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

@media (max-width: 992px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
}

.shop-filters {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-group {
    margin-bottom: 25px;
}
.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group h4 {
    margin-bottom: 15px;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.category-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    padding: 5px 0;
}
.category-item:hover {
    color: var(--text-primary);
    transform: translateX(5px);
}
.category-item input { display: none; }
.category-item .cat-text {
    position: relative;
    font-weight: 500;
}
.category-item input:checked + .cat-text {
    color: var(--text-primary);
}
.category-item input:checked + .cat-text::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
}

.filter-input::-webkit-outer-spin-button,
.filter-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.filter-input[type=number] {
  -moz-appearance: textfield;
}

.filter-input {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 15px;
    border-radius: 8px;
    width: 100%;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}
.filter-input:focus {
    outline: none;
    border-color: var(--gold);
}

.custom-select-wrapper {
    position: relative;
    width: 100%;
}
.custom-select-trigger {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 10px 15px;
    border-radius: 8px;
    width: 100%;
    font-family: var(--font-main);
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.2s;
    position: relative;
}
.custom-select-trigger::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    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='white' 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: center;
    transition: transform 0.3s;
}
.custom-select-wrapper.open .custom-select-trigger {
    border-color: var(--gold);
}
.custom-select-wrapper.open .custom-select-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

.custom-select-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.custom-select-wrapper.open .custom-select-options {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    padding: 12px 15px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
}
.custom-option:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
}
.custom-option.selected {
    color: var(--gold);
    background: rgba(212, 175, 55, 0.1);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}
.page-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}
.page-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.page-btn.active {
    background: var(--gold);
    color: #111;
    border-color: var(--gold);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    width: 90%;
    max-width: 500px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s;
}
.modal-close:hover {
    color: var(--text-primary);
}

.cart-items {
    max-height: 50vh;
    overflow-y: auto;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-right: 10px;
}
.cart-items::-webkit-scrollbar {
    width: 6px;
}
.cart-items::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

.cart-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
}
.cart-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}
.cart-item-info {
    flex-grow: 1;
}
.cart-item-title {
    font-weight: 700;
    margin-bottom: 5px;
}
.cart-item-price {
    color: var(--gold);
    font-weight: 600;
}
.cart-item-remove {
    background: none;
    border: none;
    color: #ff4d4d;
    cursor: pointer;
    padding: 5px;
    transition: opacity 0.2s;
}
.cart-item-remove:hover {
    opacity: 0.7;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.payment-btn {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.payment-btn:hover {
    border-color: var(--gold);
    transform: translateX(5px);
}
.payment-btn svg {
    color: var(--gold);
}

/* Dynamic Logo Theme Inversion */
.dynamic-logo {
    transition: filter 0.3s ease;
}
[data-theme="dark"] .dynamic-logo {
    filter: invert(1);
}

/* Mobile Responsiveness */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 5px;
    z-index: 101;
}

@media (max-width: 992px) {
    .navbar {
        padding: 15px 20px;
    }
    .navbar.scrolled {
        padding: 10px 20px;
    }
    .navbar .logo {
        margin-left: 10px !important;
    }
    .shop-layout {
        flex-direction: column;
    }
    .shop-filters {
        position: static;
        width: 100%;
        margin-bottom: 30px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .section-padding {
        padding: 80px 20px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    .desktop-only {
        display: none !important;
    }
    
    .navbar nav {
        display: flex;
        position: fixed;
        top: 0;
        left: 100%;
        width: 100%;
        height: 100vh;
        background: var(--bg-main);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: left 0.3s ease;
        z-index: 9999;
    }
    
    .navbar nav.open {
        left: 0;
    }
    
    .navbar nav a {
        font-size: 1.5rem;
        margin: 15px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-card-glass {
        padding: 40px 25px;
    }
    
    .hero-card-bg {
        object-position: 75% top !important; /* Shift to see the character */
    }

    .hero-card-glass::before {
        -webkit-mask-image: linear-gradient(to right, black 0%, black 40%, transparent 80%);
        mask-image: linear-gradient(to right, black 0%, black 40%, transparent 80%);
    }

    .hero-card-glass::after {
        background: linear-gradient(to right, rgba(20, 25, 20, 0.7) 0%, rgba(30, 40, 30, 0.4) 50%, transparent 80%);
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn-large {
        width: 100%;
        text-align: center;
    }
    
    .shop-filters {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    .footer-links, .footer-contact {
        align-items: center;
    }
    
    .logo img {
        height: 25px !important; /* Make logo even smaller on phones */
    }
}

/* Page Loader */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-main);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}
.loader-logo {
    width: 80px;
    height: 80px;
    animation: pulse-loader 1.5s infinite ease-in-out;
}
@keyframes pulse-loader {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.6; }
}
body.page-transitioning {
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Disabled Link (In Development) */
.navbar nav a.disabled-link {
    position: relative;
    color: var(--text-secondary) !important;
    cursor: not-allowed !important;
}
.navbar nav a.disabled-link span {
    transition: opacity 0.3s ease;
}
.navbar nav a.disabled-link::after {
    content: attr(data-hover);
    position: absolute;
    left: 50%;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    background: transparent;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    color: var(--gold, #fdcb6e);
    font-size: 0.85rem;
    font-weight: 500;
}
.navbar nav a.disabled-link:hover span {
    opacity: 0;
}
.navbar nav a.disabled-link:hover::after {
    opacity: 1;
    width: auto;
}