
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Orbitron:wght@400;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    color: white;
    overflow-x: hidden;
    min-height: 100vh;
}


.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background:
        radial-gradient(0.125rem 0.125rem at 1.25rem 1.875rem, #fff, transparent),
        radial-gradient(0.125rem 0.125rem at 2.5rem 4.375rem, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(0.0625rem 0.0625rem at 5.625rem 2.5rem, #fff, transparent),
        radial-gradient(0.0625rem 0.0625rem at 8.125rem 5rem, rgba(255, 255, 255, 0.6), transparent);
    background-repeat: repeat;
    background-size: 12.5rem 6.25rem;
    animation: twinkle 20s linear infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.3; }
}


header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.25rem 2.5rem;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(1.25rem);
    -webkit-backdrop-filter: blur(1.25rem);
    z-index: 1000;
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 87.5rem;
    margin: 0 auto;
}

.logo {
    font-family: 'Orbitron', monospace;
    font-size: 1.75rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00f5ff, #ff006e, #8338ec);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 1.875rem rgba(131, 56, 236, 0.5);
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

nav a:hover {
    color: #00f5ff;
    text-shadow: 0 0 0.625rem rgba(0, 245, 255, 0.5);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -0.3125rem;
    left: 0;
    width: 0;
    height: 0.125rem;
    background: linear-gradient(90deg, #00f5ff, #8338ec);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}


.carousel {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 5rem;
    display: flex;
    align-items: center;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 87.5rem;
    margin: 0 auto;
    height: 80%;
    overflow: hidden;
}

.product-list {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-content {
    flex: 1;
    padding-right: 3.75rem;
}

.product-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(45deg, #ff006e, #8338ec);
    border-radius: 1.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    margin-bottom: 1.25rem;
}

.product-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    background: linear-gradient(45deg, #ffffff, #00f5ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.product-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
}

.product-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
    max-width: 31.25rem;
}

.product-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #00f5ff;
    margin-bottom: 1.875rem;
}

.product-actions {
    display: flex;
    gap: 1.25rem;
}

.btn {
    padding: 0.9375rem 1.875rem;
    border: none;
    border-radius: 3.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.0625rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #00f5ff, #8338ec);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 0.125rem solid rgba(255, 255, 255, 0.3);
}

.btn:hover {
    transform: translateY(-0.1875rem);
    box-shadow: 0 0.625rem 1.875rem rgba(0, 245, 255, 0.3);
}

.product-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.product-image img {
    width: 25rem;
    height: 25rem;
    object-fit: contain;
    filter: drop-shadow(0 1.25rem 2.5rem rgba(0, 245, 255, 0.3));
    transition: all 0.5s ease;
}

.controls {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.25rem;
    align-items: center;
    z-index: 100;
}

.control-btn {
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(0.625rem);
    border: 0.0625rem solid rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.control-btn:hover {
    background: rgba(0, 245, 255, 0.2);
    border-color: #00f5ff;
    transform: scale(1.1);
}

.indicators {
    display: flex;
    gap: 0.625rem;
}

.indicator {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #00f5ff;
    transform: scale(1.2);
}


.detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(1.25rem);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.detail-modal.show {
    opacity: 1;
    visibility: visible;
}

.detail-content {
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.9), rgba(26, 26, 46, 0.9));
    border-radius: 1.25rem;
    padding: 2.5rem;
    max-width: 50rem;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.close-btn {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: white;
    font-size: 1.875rem;
    cursor: pointer;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
    gap: 1.25rem;
    margin-top: 1.875rem;
}

.spec-item {
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.625rem;
    text-align: center;
}

.spec-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.3125rem;
}

.spec-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #00f5ff;
}


@media (max-width: 48rem) {
    .product-item {
        flex-direction: column;
        text-align: center;
    }
    .product-content {
        padding-right: 0;
        padding-bottom: 1.875rem;
    }
    .product-title {
        font-size: 2.5rem;
    }
    .product-image img {
        width: 18.75rem;
        height: 18.75rem;
    }
    nav {
        display: none;
    }
}
