/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    line-height: 1.8;
    color: #e0e0e0;
    overflow-x: hidden;
    padding-top: 0;
    background: #0a0e27;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 191, 255, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

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

/* Color Variables - Space Theme */
:root {
    --primary: #8a2be2;
    --primary-dark: #6a1bb2;
    --primary-light: #9d4edd;
    --secondary: #00bfff;
    --accent: #ff1493;
    --dark: #0a0e27;
    --light: #1a1f3a;
    --white: #ffffff;
    --gray: #8b9dc3;
    --border: #2d3561;
    --gradient-1: linear-gradient(135deg, #8a2be2 0%, #00bfff 100%);
    --gradient-2: linear-gradient(135deg, #9d4edd 0%, #8a2be2 100%);
    --gradient-cosmic: linear-gradient(135deg, #8a2be2 0%, #00bfff 50%, #ff1493 100%);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.6);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* Navigation - Space Theme */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1400px;
    background: rgba(26, 31, 58, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.2rem 2rem;
    box-shadow: 0 8px 32px rgba(138, 43, 226, 0.3);
    border-radius: 50px;
    border: 1px solid rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
}

.navbar:hover {
    box-shadow: 0 12px 40px rgba(138, 43, 226, 0.4);
    transform: translateX(-50%) translateY(-2px);
}

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

.nav-logo h2 {
    color: var(--primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-icon-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #e0e0e0;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
    z-index: 10;
    pointer-events: auto;
}

.nav-icon-btn:hover {
    color: var(--primary);
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #e0e0e0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Space Theme with Animated Stars */
.hero-space {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

/* Animated Stars Background */
.stars, .stars2, .stars3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.stars {
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 85%, white, transparent),
        radial-gradient(3px 3px at 10% 40%, white, transparent),
        radial-gradient(1px 1px at 40% 20%, white, transparent);
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: sparkle 20s linear infinite;
    opacity: 0.8;
}

.stars2 {
    background-image: 
        radial-gradient(1px 1px at 25% 25%, white, transparent),
        radial-gradient(1px 1px at 75% 75%, white, transparent),
        radial-gradient(2px 2px at 15% 55%, white, transparent),
        radial-gradient(1px 1px at 85% 25%, white, transparent),
        radial-gradient(2px 2px at 45% 85%, white, transparent);
    background-repeat: repeat;
    background-size: 300px 300px;
    animation: sparkle 15s linear infinite reverse;
    opacity: 0.6;
}

.stars3 {
    background-image: 
        radial-gradient(1px 1px at 30% 40%, white, transparent),
        radial-gradient(2px 2px at 70% 30%, white, transparent),
        radial-gradient(1px 1px at 50% 80%, white, transparent);
    background-repeat: repeat;
    background-size: 400px 400px;
    animation: sparkle 25s linear infinite;
    opacity: 0.4;
}

@keyframes sparkle {
    from { transform: translateY(0); }
    to { transform: translateY(-200px); }
}

/* Nebula Effect */
.nebula {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(138, 43, 226, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0, 191, 255, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 20, 147, 0.2) 0%, transparent 50%);
    animation: nebulaMove 30s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes nebulaMove {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.hero-space-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-space-content {
    color: white;
}

.hero-badge-space {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(138, 43, 226, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1px solid rgba(138, 43, 226, 0.4);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-light);
}

.hero-title-space {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.gradient-cosmic {
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-description-space {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.hero-actions-space {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-space-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

.btn-space-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.6);
}

.btn-space-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--secondary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--secondary);
    transition: all 0.3s ease;
}

.btn-space-secondary:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.hero-stats-space {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animated Planet */
.hero-planet {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.planet {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--gradient-1);
    box-shadow: 
        0 0 60px rgba(138, 43, 226, 0.6),
        inset -30px -30px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: planetRotate 20s linear infinite;
}

.planet::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 20%;
    width: 30%;
    height: 30%;
    background: rgba(0, 191, 255, 0.3);
    border-radius: 50%;
    box-shadow: 
        -20px -20px 40px rgba(138, 43, 226, 0.4),
        20px 20px 40px rgba(0, 191, 255, 0.4);
}

.planet-ring {
    position: absolute;
    width: 400px;
    height: 400px;
    border: 2px solid rgba(138, 43, 226, 0.3);
    border-radius: 50%;
    animation: ringRotate 15s linear infinite reverse;
}

@keyframes planetRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Shop Section */
.shop-section {
    padding: 80px 0;
    background: #0f1429;
    position: relative;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.shop-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-toggle-sidebar {
    padding: 0.75rem 1.5rem;
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid rgba(138, 43, 226, 0.4);
    color: var(--primary-light);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-toggle-sidebar:hover {
    background: rgba(138, 43, 226, 0.3);
}

.view-options {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e0e0e0;
}

.view-options select {
    padding: 0.5rem;
    background: rgba(26, 31, 58, 0.8);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: #e0e0e0;
    cursor: pointer;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* Sidebar */
.sidebar {
    background: rgba(26, 31, 58, 0.8);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.sidebar-header h3 {
    color: var(--primary-light);
    font-family: 'Orbitron', sans-serif;
}

.close-sidebar {
    display: none;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 1.5rem;
    cursor: pointer;
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section h4 {
    color: #e0e0e0;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-select {
    width: 100%;
    padding: 0.75rem;
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #e0e0e0;
    cursor: pointer;
}

.price-filters,
.category-filters {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.price-filters label,
.category-filters label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e0e0e0;
    cursor: pointer;
    font-size: 0.9rem;
}

.price-filters input[type="radio"],
.category-filters input[type="checkbox"] {
    accent-color: var(--primary);
}

/* Products Grid */
.products-container {
    min-height: 400px;
}

.products-info {
    margin-bottom: 2rem;
    color: #8b9dc3;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.product-card {
    background: rgba(26, 31, 58, 0.8);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
    border-color: var(--primary);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-action-btn {
    width: 40px;
    height: 40px;
    background: rgba(26, 31, 58, 0.9);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: #e0e0e0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.product-action-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    cursor: pointer;
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    font-size: 0.8rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.product-price .current {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-light);
    font-family: 'Orbitron', sans-serif;
}

.product-price .original {
    font-size: 1rem;
    color: #8b9dc3;
    text-decoration: line-through;
}

.product-price .discount {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 600;
}

.btn-add-cart {
    width: 100%;
    padding: 0.75rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination button {
    padding: 0.75rem 1.25rem;
    background: rgba(26, 31, 58, 0.8);
    border: 1px solid var(--border);
    color: #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination button:hover,
.pagination button.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(0, 191, 255, 0.1) 100%);
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.newsletter h2 {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.newsletter h3 {
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.newsletter p {
    color: #8b9dc3;
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem;
    background: rgba(26, 31, 58, 0.8);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: #e0e0e0;
    font-size: 1rem;
}

.newsletter-form input::placeholder {
    color: #8b9dc3;
}

.newsletter-form button {
    padding: 1rem 2rem;
    border-radius: 50px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: #0a0e27;
}

.about-section h2 {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #8b9dc3;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

/* Footer */
.footer {
    background: #050811;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-light);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section h4 {
    color: #e0e0e0;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.footer-section p {
    color: #8b9dc3;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #8b9dc3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-light);
}

.footer-section a {
    color: var(--secondary);
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: #8b9dc3;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: rgba(26, 31, 58, 0.95);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-large {
    max-width: 900px;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(138, 43, 226, 0.2);
    color: var(--primary-light);
}

.modal-content h2 {
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #e0e0e0;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.search-box {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.search-box input {
    flex: 1;
}

.search-box button {
    padding: 0.75rem 1.5rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.search-results {
    max-height: 400px;
    overflow-y: auto;
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: rgba(26, 31, 58, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border);
    z-index: 1500;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 {
    color: var(--primary-light);
    font-family: 'Orbitron', sans-serif;
    margin: 0;
}

.close-cart {
    background: none;
    border: none;
    color: #e0e0e0;
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-cart:hover {
    background: rgba(138, 43, 226, 0.2);
    color: var(--primary-light);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.empty-cart {
    text-align: center;
    color: #8b9dc3;
    padding: 3rem 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(10, 14, 39, 0.6);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
}

.cart-item-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    color: #e0e0e0;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.cart-item-price {
    color: var(--primary-light);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-quantity button {
    width: 30px;
    height: 30px;
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid var(--primary);
    color: var(--primary-light);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-quantity input {
    width: 50px;
    padding: 0.25rem;
    text-align: center;
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: #e0e0e0;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #8b9dc3;
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cart-item-remove:hover {
    background: rgba(255, 20, 147, 0.2);
    color: var(--accent);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
}

.cart-total {
    color: var(--primary-light);
    font-size: 1.3rem;
    font-weight: 700;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    text-align: center;
}

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

    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100vh;
        z-index: 1400;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .sidebar.active {
        left: 0;
    }

    .close-sidebar {
        display: block;
    }

    .hero-space-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-planet {
        display: none;
    }

    .hero-title-space {
        font-size: 3rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(26, 31, 58, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-top: 1px solid var(--border);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-title-space {
        font-size: 2.5rem;
    }

    .hero-stats-space {
        justify-content: center;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

