* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif;
}

body {
    background: #0d0d1a;
    overflow-x: hidden;
    color: #fff;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0d0d1a, #1e1e3f);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 1;
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}
.loading-screen.hidden {
    opacity: 0;
    transform: scale(1.1);
    pointer-events: none;
}
.loader {
    width: 100px;
    height: 100px;
    border: 10px solid transparent;
    border-top-color: #00f0ff;
    border-bottom-color: #ff00ff;
    border-radius: 50%;
    animation: spin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5), 0 0 40px rgba(255, 0, 255, 0.5);
}
.loader-text {
    position: absolute;
    top: 120px;
    color: #00f0ff;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 0 10px #00f0ff, 0 0 20px #ff00ff;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInText 1s ease-out forwards;
    animation-delay: 0.5s;
}
.loader::after {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.3), transparent);
    animation: pulse 2.5s ease-in-out infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
@keyframes fadeInText {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.3); opacity: 0.2; }
    100% { transform: scale(1); opacity: 0.5; }
}

/* Background Video */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}
.background-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.2);
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    transition: left 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}
.sidebar.active {
    left: 0;
}
.sidebar ul {
    list-style: none;
    padding: 40px 20px;
}
.sidebar ul li {
    margin: 30px 0;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.sidebar.active ul li {
    opacity: 1;
    transform: translateX(0);
}
.sidebar ul li:nth-child(1) { transition-delay: 0.1s; }
.sidebar ul li:nth-child(2) { transition-delay: 0.2s; }
.sidebar ul li:nth-child(3) { transition-delay: 0.3s; }
.sidebar ul li a {
    color: #00f0ff;
    text-decoration: none;
    font-size: 18px;
    text-shadow: 0 0 10px #00f0ff;
    transition: color 0.3s ease, transform 0.3s ease;
}
.sidebar ul li a:hover {
    color: #ff00ff;
    transform: translateX(5px);
    text-shadow: 0 0 10px #ff00ff;
}
.toggle-btn {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    cursor: pointer;
    font-size: 24px;
    background: rgba(0, 0, 0, 0.8);
    color: #00f0ff;
    padding: 10px 15px;
    border-radius: 8px;
    border: 2px solid #00f0ff;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.toggle-btn:hover {
    transform: scale(1.1);
    background: #00f0ff;
    color: #0d0d1a;
    box-shadow: 0 0 15px #00f0ff;
}

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

/* Section Visibility */
section {
    display: none;
}
section.active {
    display: block;
}

/* Home Section */
.profile-container {
    text-align: center;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}
.profile-container.visible {
    opacity: 1;
    transform: translateY(0);
}
.profile-container img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #00f0ff;
    box-shadow: 0 0 20px #00f0ff;
    margin-bottom: 20px;
}
.profile-container p {
    color: #ff00ff;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 0 10px #ff00ff;
}
.video-card, .social-card {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00f0ff;
    border-radius: 15px;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}
.video-card.visible, .social-card.visible {
    opacity: 1;
    transform: translateY(0);
}
.video-card iframe {
    width: 100%;
    height: 300px;
    border-radius: 10px;
}
.social-card h3 {
    color: #00f0ff;
    text-shadow: 0 0 10px #00f0ff;
    margin-bottom: 10px;
}
.video-card button, .social-card button {
    display: block;
    margin: 10px auto;
    padding: 12px 25px;
    background: #ff00ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.video-card button:hover, .social-card button:hover {
    background: #cc00cc;
    transform: translateY(-3px);
    box-shadow: 0 0 15px #ff00ff;
}

/* Product Cards */
.product-card {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00f0ff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 240, 255, 0.3);
    padding: 20px;
    text-align: center;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(120px) scale(0.85);
    transition: all 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.product-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.product-card img:hover {
    transform: scale(1.08);
    box-shadow: 0 0 15px #00f0ff;
}
.product-card h3 {
    margin: 15px 0;
    font-size: 1.5rem;
    color: #00f0ff;
    text-shadow: 0 0 10px #00f0ff;
}
.product-card p {
    color: #fff;
    font-size: 1.1rem;
}
.product-card button {
    padding: 12px 25px;
    margin: 5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.product-card .buy-btn {
    background: #28a745;
    color: #fff;
}
.product-card .buy-btn:hover {
    background: #218838;
    transform: translateY(-3px);
    box-shadow: 0 0 15px #28a745;
}
.product-card .cart-btn {
    background: #ff00ff;
    color: #fff;
}
.product-card .cart-btn:hover {
    background: #cc00cc;
    transform: translateY(-3px);
    box-shadow: 0 0 15px #ff00ff;
}

/* Cart Section */
.cart {
    padding: 30px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #00f0ff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 240, 255, 0.3);
    margin-top: 40px;
}
.cart-items {
    margin-bottom: 20px;
}
.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 10px;
}
.cart-item input[type="checkbox"] {
    margin-right: 10px;
}
.cart-item button.remove-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.cart-item button.remove-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}
.cart-total {
    text-align: right;
    font-size: 1.2rem;
    color: #00f0ff;
    text-shadow: 0 0 10px #00f0ff;
    margin-top: 20px;
}
.checkout-btn {
    padding: 12px 25px;
    background: #ff00ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.checkout-btn:hover {
    background: #cc00cc;
    transform: translateY(-3px);
    box-shadow: 0 0 15px #ff00ff;
}

/* Notification */
.notification {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 240, 255, 0.9);
    color: #0d0d1a;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 0 15px #00f0ff;
    z-index: 1500;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.5s ease;
}
.notification.active {
    top: 20px;
}

/* Confirmation Dialog */
.confirm-dialog {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background: rgba(0, 0, 0, 0.9);
    padding: 30px;
    border: 2px solid #00f0ff;
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-align: center;
    max-width: 400px;
    width: 90%;
}
.confirm-dialog.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}
.confirm-dialog img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 2px solid #00f0ff;
    box-shadow: 0 0 15px #00f0ff;
}
.confirm-dialog p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #00f0ff;
    font-weight: 500;
    text-shadow: 0 0 10px #00f0ff;
}
.confirm-dialog .buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.confirm-dialog button {
    padding: 12px 30px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}
.confirm-dialog .yes-btn {
    background: #28a745;
    color: #fff;
}
.confirm-dialog .yes-btn:hover {
    background: #218838;
    transform: translateY(-3px);
    box-shadow: 0 0 15px #28a745;
}
.confirm-dialog .no-btn {
    background: #dc3545;
    color: #fff;
}
.confirm-dialog .no-btn:hover {
    background: #c82333;
    transform: translateY(-3px);
    box-shadow: 0 0 15px #dc3545;
}

/* Cart Count */
.cart-count {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ff00ff;
    color: #fff;
    border-radius: 50%;
    padding: 8px 12px;
    font-size: 14px;
    box-shadow: 0 0 15px #ff00ff;
    transition: transform 0.3s ease;
}
.cart-count:hover {
    transform: scale(1.1);
}

/* Audio Controls */
.audio-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
.audio-controls button {
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.8);
    color: #00f0ff;
    border: 2px solid #00f0ff;
    transition: all 0.3s ease;
}
.audio-controls button:hover {
    background: #00f0ff;
    color: #0d0d1a;
    box-shadow: 0 0 15px #00f0ff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    .product-card, .video-card, .social-card {
        margin: 15px;
    }
    .sidebar {
        width: 250px;
    }
    .sidebar ul li a {
        font-size: 16px;
    }
    .confirm-dialog {
        padding: 20px;
    }
    .confirm-dialog img {
        width: 80px;
        height: 80px;
    }
    .loader {
        width: 80px;
        height: 80px;
    }
    .loader-text {
        font-size: 1.4rem;
    }
    .profile-container img {
        width: 120px;
        height: 120px;
    }
    .profile-container p {
        font-size: 1.2rem;
    }
}