* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
            color: #f8f9fa;
            overflow-x: hidden;
            cursor: default;
            position: relative;
            border: 8px solid #fff;
            min-height: 100vh;
        }

        /* Background Details */
        .background-details {
            position: fixed;
            top: 8px;
            left: 8px;
            width: calc(100% - 16px);
            height: calc(100vh - 16px);
            z-index: 0;
            pointer-events: none;
            border: 2px solid rgba(255,255,255,0.1);
        }

        .grid-pattern {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: 
                linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
            background-size: 40px 40px;
            animation: gridMove 25s linear infinite;
        }

        @keyframes gridMove {
            0% { transform: translate(0, 0); }
            100% { transform: translate(40px, 40px); }
        }

        .floating-elements {
            position: absolute;
            width: 100%;
            height: 100%;
        }

        .floating-circle {
            position: absolute;
            border: 2px solid rgba(255,255,255,0.08);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        .floating-circle::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 20%;
            height: 20%;
            background: rgba(255,255,255,0.05);
            border-radius: 50%;
        }

        .floating-circle:nth-child(1) {
            width: 180px;
            height: 180px;
            top: 8%;
            left: 82%;
            animation-delay: 0s;
        }

        .floating-circle:nth-child(2) {
            width: 100px;
            height: 100px;
            top: 65%;
            left: 8%;
            animation-delay: -2s;
        }

        .floating-circle:nth-child(3) {
            width: 60px;
            height: 60px;
            top: 15%;
            left: 3%;
            animation-delay: -4s;
        }

        .floating-circle:nth-child(4) {
            width: 130px;
            height: 130px;
            top: 55%;
            right: 12%;
            animation-delay: -6s;
        }

        .floating-circle:nth-child(5) {
            width: 90px;
            height: 90px;
            top: 35%;
            left: 15%;
            animation-delay: -1s;
        }

        .floating-circle:nth-child(6) {
            width: 110px;
            height: 110px;
            top: 75%;
            right: 35%;
            animation-delay: -3s;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
            25% { transform: translateY(-15px) translateX(8px) rotate(90deg); }
            50% { transform: translateY(-8px) translateX(-3px) rotate(180deg); }
            75% { transform: translateY(-12px) translateX(12px) rotate(270deg); }
        }

        .corner-details {
            position: fixed;
            z-index: 5;
            pointer-events: none;
        }

        .corner-details::before {
            content: '';
            position: absolute;
            width: 40px;
            height: 40px;
            border: 3px solid #fff;
        }

        .corner-details.top-left {
            top: 20px;
            left: 20px;
        }

        .corner-details.top-left::before {
            border-right: none;
            border-bottom: none;
        }

        .corner-details.top-right {
            top: 20px;
            right: 20px;
        }

        .corner-details.top-right::before {
            border-left: none;
            border-bottom: none;
        }

        .corner-details.bottom-left {
            bottom: 20px;
            left: 20px;
        }

        .corner-details.bottom-left::before {
            border-right: none;
            border-top: none;
        }

        .corner-details.bottom-right {
            bottom: 20px;
            right: 20px;
        }

        .corner-details.bottom-right::before {
            border-left: none;
            border-top: none;
        }

        .side-text {
            position: fixed;
            font-size: 11px;
            font-weight: 400;
            color: rgba(255,255,255,0.4);
            letter-spacing: 3px;
            text-transform: uppercase;
            z-index: 1;
            border: 1px solid rgba(255,255,255,0.1);
            padding: 8px 16px;
            background: rgba(0,0,0,0.5);
            backdrop-filter: blur(5px);
        }

        .side-text.left {
            left: 50px;
            top: 50%;
            transform: rotate(-90deg) translateX(-50%);
            transform-origin: left center;
        }

        .side-text.right {
            right: 50px;
            top: 50%;
            transform: rotate(90deg) translateX(50%);
            transform-origin: right center;
        }

        .demo-banner {
            position: fixed;
            top: 30px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(15px);
            padding: 12px 28px;
            border-radius: 25px;
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 1px;
            color: #fff;
            z-index: 1000;
            border: 2px solid #fff;
            box-shadow: 0 8px 32px rgba(255,255,255,0.1);
        }

        .container {
            min-height: calc(100vh - 16px);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            padding: 100px 60px 60px;
            position: relative;
            z-index: 10;
        }

        .brand-section {
            position: absolute;
            top: 140px;
            left: 80px;
            z-index: 100;
            border: 3px solid #fff;
            padding: 25px 35px;
            background: rgba(0,0,0,0.9);
            backdrop-filter: blur(10px);
            box-shadow: 0 15px 40px rgba(255,255,255,0.15);
            display: flex;
            align-items: center;
            gap: 20px;
        }

        .brand-logo {
            width: 50px;
            height: 50px;
            filter: brightness(0) invert(1);
        }

        .brand-text-section {
            display: flex;
            flex-direction: column;
        }

        .brand-title {
            font-size: 32px;
            font-weight: 800;
            letter-spacing: -1px;
            color: #fff;
            margin-bottom: 8px;
        }

        .collection-subtitle {
            font-size: 12px;
            font-weight: 400;
            letter-spacing: 2px;
            color: #999;
            text-transform: uppercase;
        }

        .product-stats {
            position: absolute;
            top: 140px;
            right: 80px;
            z-index: 100;
            border: 2px solid #fff;
            padding: 20px 25px;
            background: rgba(255,255,255,0.9);
            color: #000;
            text-align: center;
            min-width: 120px;
        }

        .stats-number {
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .stats-label {
            font-size: 10px;
            font-weight: 400;
            letter-spacing: 1px;
            text-transform: uppercase;
            opacity: 0.8;
        }

        .product-showcase {
            position: relative;
            width: 100%;
            height: 600px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 80px;
            padding: 40px;
        }

        .product-container {
            position: absolute;
            transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            cursor: pointer;
            transform-origin: center center;
            border: none;
            padding: 0;
            background: transparent;
            border-radius: 50%;
            width: 320px;
            height: 320px;
            display: flex;
            align-items: center;
            justify-content: center;

        }

        .product-container.active {
            z-index: 10;
            transform: scale(1.1);
        }

        .product-container.left {
            transform: translateX(-400px) scale(0.7);
            opacity: 0.5;
            z-index: 5;
        }

        .product-container.right {
            transform: translateX(400px) scale(0.7);
            opacity: 0.5;
            z-index: 5;
        }

        .product-container.far-left {
            transform: translateX(-600px) scale(0.5);
            opacity: 0.3;
            z-index: 1;
        }

        .product-container.far-right {
            transform: translateX(600px) scale(0.5);
            opacity: 0.3;
            z-index: 1;
        }

        .product-container.hidden {
            opacity: 0;
            transform: scale(0.3);
            z-index: 0;
        }

        .product-image {
            width: 280px;
            height: 280px;
            object-fit: contain;
            filter: drop-shadow(0 25px 50px rgba(255, 255, 255, 0.15));
            transition: transform 0.3s ease;
            border: none;
            background: transparent;
        }

        .product-container.active .product-image {
            animation: gentleFloat 4s ease-in-out infinite;
        }

        @keyframes gentleFloat {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-8px); }
        }

        .product-info {
            position: absolute;
            bottom: -60px;
            left: 50%;
            transform: translateX(-50%);
            text-align: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            background: rgba(255,255,255,0.9);
            color: #000;
            padding: 8px 16px;
            border: 1px solid #fff;
            font-size: 12px;
            font-weight: 500;
            letter-spacing: 1px;
            white-space: nowrap;
        }

        .product-container.active .product-info {
            opacity: 1;
        }

        .navigation {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 100;
            pointer-events: none;
        }

        .nav-btn {
            background: transparent;
            border: none;
            font-size: 36px;
            color: rgba(255, 255, 255, 0.7);
            cursor: pointer;
            transition: all 0.3s ease;
            pointer-events: auto;
            padding: 15px 20px;
            user-select: none;
            font-weight: 300;
            text-shadow: 0 2px 4px rgba(255, 255, 255, 0.1);
        }

        .nav-btn:hover {
            color: #fff;
            transform: scale(1.2);
            text-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
        }

        .nav-btn:active {
            transform: scale(1.1);
        }

        .nav-btn.prev {
            margin-right: 200px;
        }

        .nav-btn.next {
            margin-left: 200px;
        }

        /* Product Detail Modal */
        .product-detail-modal {
            position: fixed;
            top: 8px;
            left: 8px;
            width: calc(100% - 16px);
            height: calc(100vh - 16px);
            background: rgba(10, 10, 10, 0.98);
            backdrop-filter: blur(25px);
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.5s ease;
            border: 3px solid #fff;
        }

        .product-detail-modal.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            display: flex;
            align-items: center;
            justify-content: center;
            max-width: 1400px;
            width: 100%;
            height: 100%;
            padding: 0 100px;
            position: relative;
            border: 2px solid rgba(255,255,255,0.1);
            margin: 40px;
            background: rgba(0,0,0,0.5);
        }

        .modal-product-image {
            width: 480px;
            height: 480px;
            object-fit: contain;
            filter: drop-shadow(0 40px 80px rgba(255, 255, 255, 0.2));
            transform: scale(0.8);
            opacity: 0;
            transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            animation: modalFloat 5s ease-in-out infinite;
            border: none;
            position: relative;
        }

        /* FIXED: Only apply the white glow effect to modal images */
        .product-detail-modal.active .modal-product-image::before {
            content: '';
            position: absolute;
            top: -20px;
            left: -20px;
            right: -20px;
            bottom: -20px;
            background: radial-gradient(circle at center, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.3) 40%, transparent 70%);
            border-radius: 50%;
            z-index: -1;
        }

        .product-detail-modal.active .modal-product-image {
            transform: scale(1);
            opacity: 1;
        }

        @keyframes modalFloat {
            0%, 100% { transform: translateY(0px) scale(1); }
            50% { transform: translateY(-12px) scale(1); }
        }

        .modal-text-left {
            position: absolute;
            left: 100px;
            top: 50%;
            transform: translateY(-50%) translateX(-100px);
            opacity: 0;
            transition: all 0.8s ease 0.3s;
            max-width: 320px;
            border: 2px solid #fff;
            padding: 30px;
            background: rgba(0,0,0,0.95);
            backdrop-filter: blur(10px);
            color: #fff;
        }

        .product-detail-modal.active .modal-text-left {
            transform: translateY(-50%) translateX(0);
            opacity: 1;
        }

        .modal-text-right {
            position: absolute;
            right: 100px;
            top: 50%;
            transform: translateY(-50%) translateX(100px);
            opacity: 0;
            transition: all 0.8s ease 0.5s;
            text-align: right;
            max-width: 320px;
            border: 2px solid #fff;
            padding: 30px;
            background: rgba(255,255,255,0.9);
            color: #000;
        }

        .product-detail-modal.active .modal-text-right {
            transform: translateY(-50%) translateX(0);
            opacity: 1;
        }

        .modal-title {
            font-size: 38px;
            font-weight: 800;
            letter-spacing: -1px;
            margin-bottom: 20px;
            color: #fff;
            text-transform: uppercase;
        }

        .modal-text-right .modal-title {
            color: #000;
        }

        .modal-description {
            font-size: 15px;
            line-height: 1.7;
            color: #ccc;
            font-weight: 400;
            margin-bottom: 25px;
        }

        .modal-text-right .modal-description {
            color: rgba(0,0,0,0.8);
        }

        .modal-price {
            font-size: 42px;
            font-weight: 700;
            color: #000;
            margin-bottom: 30px;
            letter-spacing: -1px;
        }

        .modal-features {
            font-size: 13px;
            color: rgba(0,0,0,0.7);
            margin-bottom: 25px;
            line-height: 1.6;
        }

        .order-btn {
            background: #000;
            color: #fff;
            border: 2px solid #000;
            padding: 18px 36px;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 1.5px;
            border-radius: 0;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
        }

        .order-btn:hover {
            background: transparent;
            color: #000;
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
        }

        .close-btn {
            position: absolute;
            top: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            border: 3px solid #fff;
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(15px);
            border-radius: 0;
            font-size: 24px;
            cursor: pointer;
            color: #fff;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2001;
            pointer-events: auto;
            font-weight: 300;
        }

        .close-btn:hover {
            background: #fff;
            color: #000;
            transform: scale(1.1);
        }

        @media (max-width: 768px) {
            body {
                border: 4px solid #fff;
            }
            
            .background-details {
                top: 4px;
                left: 4px;
                width: calc(100% - 8px);
                height: calc(100vh - 8px);
            }
            
            .product-container.left,
            .product-container.right {
                transform: translateX(-150px) scale(0.6);
            }
            
            .product-container.right {
                transform: translateX(150px) scale(0.6);
            }

            .nav-btn.prev {
                margin-right: 100px;
            }

            .nav-btn.next {
                margin-left: 100px;
            }
            
            .modal-content {
                flex-direction: column;
                padding: 40px 20px;
                text-align: center;
                margin: 20px;
            }
            
            .modal-text-left,
            .modal-text-right {
                position: static;
                transform: none;
                max-width: 100%;
                margin: 20px 0;
            }
            
            .product-detail-modal.active .modal-text-left,
            .product-detail-modal.active .modal-text-right {
                transform: none;
            }
            
            .modal-title {
                font-size: 28px;
            }
            
            .brand-section {
                left: 20px;
                top: 120px;
                padding: 20px 25px;
                flex-direction: column;
                gap: 10px;
            }
            
            .brand-logo {
                width: 40px;
                height: 40px;
            }
            
            .brand-title {
                font-size: 24px;
            }
            
            .product-stats {
                right: 20px;
                top: 120px;
                padding: 15px 20px;
            }

            .side-text {
                display: none;
            }
            
            .container {
                padding: 80px 20px 40px;
            }
            
            .product-showcase {
                margin-top: 60px;
            }
        }
        @media (max-width: 768px) {
          .product-container.left,
          .product-container.right,
          .product-container.far-left,
          .product-container.far-right {
            display: none !important;
          }

          .product-showcase {
            overflow: hidden;
            padding: 0;
          }

          .product-container.active {
            transform: scale(0.9) !important;
          }
        }
    @media (max-width: 768px) {
    .product-detail-modal {
        overflow: hidden;
        padding: 0;
    }

    .modal-content {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 20px;
        margin: 20px;
        height: auto;
    }

    .modal-product-image {
        width: 250px;
        height: 250px;
        transform: scale(1);
        opacity: 1;
        animation: none;
    }

    .modal-text-left,
    .modal-text-right {
        position: static;
        transform: none;
        opacity: 1 !important;
        max-width: 100%;
        width: 100%;
        padding: 15px;
        margin-top: 20px;
    }

    .modal-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .modal-description {
        font-size: 14px;
        line-height: 1.5;
    }

    .modal-price {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .modal-features {
        font-size: 13px;
        line-height: 1.4;
    }

    .order-btn {
        padding: 14px 28px;
        font-size: 11px;
    }

    body {
        overflow-x: hidden;
    }

    html {
        overflow-x: hidden;
    }
}

@media (max-width: 768px) {
    .product-detail-modal {
        overflow-y: auto;
        overflow-x: hidden;
        height: 100vh;
    }

    .modal-content {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 20px;
        margin: 0 auto;
        min-height: 100%;
    }
}

body.modal-open {
    overflow: hidden;
    height: 100vh;
}



