:root {
    /* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Share+Tech+Mono&display=swap');

/* Cyberpunk color palette */
    --neon-cyan: #0ff0fc;
    --neon-blue: #00a6ff;
    --neon-green: #00ff9f;
    --neon-pink: #ff2a6d;
    --neon-purple: #8a2be2;
    
    /* Background gradients */
    --bg-dark: #0a0a23; /* darker, closer to provided example */
    --bg-darker: #070715;
    --bg-gradient: linear-gradient(135deg, var(--bg-darker) 0%, #12122a 50%, var(--bg-dark) 100%);
    
    /* UI Colors */
    --primary-color: var(--neon-cyan);
    --secondary-color: var(--neon-blue);
    --accent-color: var(--neon-green);
    --text-color: #e0e0ff;
    --text-light: #a0a0c0;
    --bg-color: var(--bg-dark);
    --bg-secondary: rgba(20, 20, 40, 0.8);
    --border-color: rgba(100, 200, 255, 0.2);
    --success-color: var(--neon-green);
    --error-color: var(--neon-pink);
    
    /* Glow effects */
    --glow-sm: 0 0 8px rgba(255, 215, 0, 0.6); /* subtle yellow */
    --glow-md: 0 0 12px rgba(255, 215, 0, 0.7), 0 0 24px rgba(255, 215, 0, 0.4);
    --glow-lg: 0 0 24px rgba(255, 215, 0, 0.8), 0 0 48px rgba(255, 215, 0, 0.5);
    
    /* Shadows */
    --shadow-sm: 0 1px 10px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4), 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5), 0 4px 20px rgba(0, 0, 0, 0.3);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated Typing Intro */
.animated-intro { 
  width: 100%; 
  text-align: center; 
  font-family: 'Share Tech Mono', 'Roboto Mono', monospace; 
  font-size: 1.18rem; 
  color: #00ff85; 
  margin: 28px 0 16px 0; 
  text-shadow: 0 0 12px #00ff85, 0 0 4px rgba(33, 150, 243, 0.6);
  padding: 0 16px; 
}
.animated-intro .cursor { 
  display: inline-block; 
  width: 1ch; 
  color: currentColor; 
  animation: cursor-blink 1s step-end infinite; 
}
@keyframes cursor-blink { 
  50% { opacity: 0; } 
}
@media (max-width: 600px) {
  .animated-intro { font-size: 1rem; margin: 22px 0 12px 0; }
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--bg-gradient);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-color);
    text-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-blue);
    position: relative;
    display: inline-block;
}

h1::after,
h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue));
    box-shadow: 0 0 10px var(--neon-cyan);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.main-nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
}

/* Main Content */
main {
    padding-top: 100px; /* Reduced from 120px to 100px */
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    margin-top: 30px; /* Added margin to push content down */
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    outline: none;
    text-decoration: none;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-blue), var(--neon-green));
    background-size: 200% 200%;
    z-index: -1;
    transition: var(--transition);
    animation: gradientBG 3s ease infinite;
}

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

.btn-primary {
    background: #ffd700;
    color: #111;
    text-shadow: none;
    box-shadow: 0 0 12px 4px #ffd700;
    font-weight: bold;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 0 18px 6px #ffd700;
}

.btn-outline {
    background: transparent;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    position: relative;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(0, 255, 255, 0.1);
    transition: var(--transition);
    z-index: -1;
}

.btn-outline:hover::before {
    width: 100%;
}

.btn-outline:hover {
    color: #fff;
    text-shadow: 0 0 10px #fff;
    box-shadow: 0 0 20px var(--neon-cyan), 0 0 40px rgba(0, 200, 255, 0.5);
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 30, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 200, 255, 0.1);
    box-shadow: 0 2px 20px rgba(0, 200, 255, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    height: 70px; /* Fixed height for header */
    display: flex;
    align-items: center;
}

.header.scrolled {
    padding: 0.5rem 0;
    background: rgba(5, 5, 20, 0.95);
    box-shadow: 0 0 30px rgba(0, 200, 255, 0.2);
}

/* New Site Header (modern compact version) */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    background: #10111c;
    border-bottom: 3px solid #00f6ff;
    box-shadow: 0 2px 24px rgba(0,255,255,0.10);
    padding: 0 18px;
}

.site-header .logo {
    height: 38px;
    width: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.login-btn {
    background: #00f6ff;
    color: #222;
    font-weight: bold;
    border-radius: 9px;
    box-shadow: 0 0 8px #ffe600;
    padding: 10px 18px;
    border: none;
    margin-right: 4px;
    cursor: pointer;
}

.trophy-btn, .menu-btn {
    background: transparent;
    border: none;
    height: 36px;
    width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    cursor: pointer;
}

/* Cart button follows same icon button style */
.cart-btn {
    background: transparent;
    border: none;
    height: 36px;
    width: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    cursor: pointer;
    text-decoration: none;
}

/* Mobile dropdown menu */
.mobile-dropdown-wrapper {
    position: relative;
}

.mobile-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: #10111c;
    border: 1px solid rgba(0, 246, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 8px 0;
    list-style: none;
    margin: 8px 0 0;
    z-index: 1000;
}

.mobile-dropdown-menu li a {
    display: block;
    padding: 10px 14px;
    color: var(--text-color);
    text-decoration: none;
}

.mobile-dropdown-menu li a:hover {
    background: rgba(0, 246, 255, 0.08);
}

/* Hidden state via [hidden] attribute for accessibility */
.mobile-dropdown-menu[hidden] {
    display: none !important;
}

/* Optional: style when menu is expanded */
.menu-btn[aria-expanded="true"] {
    color: #00f6ff;
}

@media (max-width: 600px) {
    .mobile-dropdown-menu {
        min-width: 200px;
        touch-action: manipulation;
    }
}

/* Search Modal */
.search-modal { position: fixed; inset: 0; display: none; z-index: 2000; }
.search-modal.open { display: block; }
.search-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.search-panel { position: relative; max-width: 720px; margin: 10vh auto 0; background: #121321; border: 1px solid rgba(0,246,255,0.25); border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); overflow: hidden; }
.search-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.search-header h3 { margin: 0; color: #fff; font-size: 18px; }
.search-close-btn { background: transparent; border: none; color: #ddd; font-size: 22px; cursor: pointer; }
.search-input-row { display: flex; gap: 8px; padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); }
.search-input { flex: 1; padding: 12px; background: #0f0f1a; border: 1px solid #2a2b3d; color: #fff; border-radius: 8px; }
.search-submit-btn { padding: 12px 16px; background: #00f6ff; color: #222; border: none; border-radius: 8px; font-weight: 700; cursor: pointer; }
.search-results { max-height: 55vh; overflow: auto; padding: 8px; }
.search-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 8px; color: #e9eef5; text-decoration: none; }
.search-item:hover { background: rgba(0,246,255,0.06); }
.search-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 6px; }
.search-title { font-weight: 600; color: #fff; }
.search-sub { font-size: 12px; opacity: 0.8; }
.search-loading, .search-empty, .search-error { padding: 14px 12px; color: #cbd5e1; }

@media (max-width: 600px) {
  .search-panel { margin: 6vh 10px 0; }
}

/* Featured Section */
.featured-section { max-width: 1200px; margin: 28px auto; padding: 0 16px; }
.featured-header { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 12px; }
.featured-header h2 { margin: 0; color: #fff; font-size: 22px; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.featured-card { background: #1a1a2e; border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.featured-media { width: 100%; height: 190px; object-fit: cover; background: #0f0f1a; }
.featured-body { padding: 12px; display: grid; gap: 8px; }
.featured-title { color: #fff; font-weight: 800; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.featured-title { line-clamp: 2; }
.featured-meta { color: #a5b4cb; font-size: 13px; }
.featured-actions { display: flex; gap: 10px; align-items: center; justify-content: space-between; }
.featured-price { color: #00f6ff; font-weight: 800; }
.featured-link { color: #00f6ff; text-decoration: none; font-weight: 700; }
.featured-audio { width: 100%; }

@media (max-width: 900px) {
  .featured-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .site-header {
        height: 56px;
        padding: 0 10px;
    }
    .header-right { gap: 8px; }
    .site-header .logo { height: 30px; }
    .login-btn {
        padding: 8px 12px;
        font-size: 14px;
    }
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.logo h1 {
    font-size: 2rem;
    margin: 0;
    color: #fff;
    position: relative;
    display: inline-block;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #ff8c00,
        0 0 40px #ff4500,
        0 0 80px #ff0000;
    animation: neonGlow 1.5s ease-in-out infinite alternate;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

@keyframes neonGlow {
    from {
        text-shadow: 
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px #ff8c00,
            0 0 40px #ff4500,
            0 0 80px #ff0000;
    }
    to {
        text-shadow: 
            0 0 10px #fff,
            0 0 15px #fff,
            0 0 25px #ff8c00,
            0 0 50px #ff4500,
            0 0 100px #ff0000;
    }
}

.logo h1::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.logo:hover h1::after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

/* Cart Icon Styles */
.cart-icon-container {
    margin-left: 1rem;
}

.cart-link {
    color: var(--text-color);
    font-size: 1.25rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0.5rem;
    transition: var(--transition);
}

.cart-link:hover {
    color: var(--neon-cyan);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--neon-pink);
    color: #000;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    font-family: 'Share Tech Mono', monospace;
    box-shadow: 0 0 10px rgba(255, 42, 109, 0.5);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Navigation Links */
.main-nav a {
    color: var(--text-light);
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue));
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.main-nav a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--neon-cyan);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Glitch effect for active link */
.main-nav a.active {
    position: relative;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.main-nav a.active::before {
    content: '[';
    position: absolute;
    left: -10px;
    opacity: 0.7;
}

.main-nav a.active::after {
    content: ']';
    position: absolute;
    right: -10px;
    opacity: 0.7;
}

/* Responsive menu */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }
    
    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background: var(--neon-cyan);
        transition: all 0.3s ease;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(5, 5, 15, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-left: 1px solid rgba(0, 200, 255, 0.2);
        box-shadow: -5px 0 30px rgba(0, 200, 255, 0.2);
        display: flex;
        flex-direction: column;
        padding: 80px 2rem 2rem;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        width: 100%;
    }
    
    .main-nav li {
        width: 100%;
    }
    
    .main-nav a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1.1rem;
        width: 100%;
    }
    
    .dropdown {
        position: relative;
        width: 100%;
    }
    
    .dropbtn {
        background: none;
        border: none;
        color: var(--text-light);
        font-family: 'Orbitron', sans-serif;
        font-weight: 500;
        text-decoration: none;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem 0.75rem 0;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        text-align: left;
        position: relative;
    }
    
    .dropbtn::after {
        content: '▼';
        font-size: 0.6rem;
        position: absolute;
        right: 0;
        transition: transform 0.3s ease;
    }
    
    .dropdown.active > .dropbtn::after {
        transform: rotate(180deg);
    }
    
    .dropdown-content {
        display: none;
        position: static;
        background: rgba(0, 0, 0, 0.2);
        box-shadow: none;
        width: 100%;
        padding: 0.5rem 1rem 0.5rem 1.5rem;
        margin-top: 0.5rem;
        border-radius: 4px;
        animation: fadeIn 0.3s ease;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown-content a {
        display: block;
        padding: 0.75rem 1.5rem;
        color: var(--text-light);
        text-decoration: none;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-content a:last-child {
        border-bottom: none;
    }
    
    .dropdown-content a:hover {
        color: var(--neon-cyan);
        background: rgba(255, 255, 255, 0.05);
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .main-nav {
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        z-index: 1000;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 0;
        margin: 0;
        width: 100%;
    }
    
    .main-nav li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    
    .dropdown {
        width: 100%;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.2);
        padding: 0;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown-content a {
        padding: 0.8rem 1rem;
    }
    
    .main-nav a {
        color: #fff;
        display: block;
        padding: 0.8rem 1rem;
    }
    
    .auth-buttons {
        margin-top: 2rem;
        flex-direction: column;
        width: 100%;
        padding: 0 2rem;
    }
    
    .auth-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4rem;
    text-align: center;
    background: radial-gradient(ellipse at center, 
        rgba(0, 200, 255, 0.05) 0%, 
        rgba(0, 0, 0, 0) 60%
    );
    border-bottom: 1px solid rgba(0, 200, 255, 0.1);
    perspective: 1000px;
    --mouse-x: 0px;
    --mouse-y: 0px;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 200, 255, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 200, 0.1) 0%, transparent 30%);
    z-index: -1;
    animation: pulse 15s infinite alternate;
}

@keyframes pulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
    background: rgba(10, 15, 30, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 200, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 0 50px rgba(0, 200, 255, 0.1);
    transform: 
        perspective(1000px) 
        rotateX(calc(var(--mouse-y, 0) * 0.5deg)) 
        rotateY(calc(var(--mouse-x, 0) * 0.5deg))
        translate3d(0, 0, 0);
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    animation: scanline 8s linear infinite;
}

@keyframes scanline {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero-content:hover {
    box-shadow: 0 0 80px rgba(0, 200, 255, 0.3);
    transform: perspective(1000px) rotateX(1deg) rotateY(1deg);
}

.hero h2 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: textGlow 2s ease-in-out infinite alternate;
    position: relative;
    line-height: 1.1;
}

@keyframes textGlow {
    from { text-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-blue); }
    to { text-shadow: 0 0 20px var(--neon-cyan), 0 0 40px var(--neon-blue), 0 0 60px var(--neon-blue); }
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.3);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.cta-buttons .btn {
    min-width: 180px;
    position: relative;
    overflow: hidden;
}

.cta-buttons .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: translateX(-100%);
    transition: 0.6s;
}

.cta-buttons .btn:hover::after {
    transform: translateX(100%);
}

/* Grid overlay effect */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 200, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 200, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    opacity: 0.3;
}

/* Floating elements */
.floating-element {
    position: absolute;
    background: rgba(0, 200, 255, 0.1);
    border: 1px solid rgba(0, 200, 255, 0.2);
    border-radius: 5px;
    animation: float 15s infinite ease-in-out;
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(10px, 10px) rotate(2deg); }
    50% { transform: translate(-5px, 5px) rotate(-2deg); }
    75% { transform: translate(5px, -5px) rotate(1deg); }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 3.5rem;
    }
    
    .hero p {
        font-size: 1.25rem;
        padding: 0 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 80%;
        max-width: 300px;
    }
}

/* Base mobile styles */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-card {
        margin-bottom: 0;
    }
    
    .product-card img {
        height: 120px;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    /* Header */
    .header-content {
        flex-direction: column;
        padding: 1rem 0;
    }
    
    .main-nav {
        margin: 1rem 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav li {
        margin: 0.5rem 0;
    }
    
    /* Hero section */
    .hero {
        padding: 2rem 0;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero h2 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
        margin: 0.5rem;
    }
    
    /* Products grid */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Forms */
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-control {
        padding: 0.8rem;
        font-size: 1rem;
    }
    
    /* Modal */
    .modal-content {
        width: 90%;
        margin: 2rem auto;
        padding: 1.5rem;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links, .social-links {
        margin: 1rem 0;
    }
    
    /* Navigation */
    .hamburger {
        display: block;
        cursor: pointer;
        padding: 10px;
        position: absolute;
        top: 20px;
        right: 20px;
        z-index: 1000;
    }
    
    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--text-color);
        margin: 5px 0;
        transition: var(--transition);
    }
    
    .main-nav ul {
        display: none;
        width: 100%;
        background: var(--bg-darker);
        position: absolute;
        top: 70px;
        left: 0;
        padding: 1rem 0;
        box-shadow: var(--shadow-md);
    }
    
    .main-nav.active ul {
        display: flex;
        flex-direction: column;
    }
    
    /* Product cards */
    .product-card {
        padding: 1rem;
    }
    
    .product-image {
        height: 150px;
    }
    
    /* Forms */
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-group {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-content {
        margin: 0 1rem;
        padding: 3rem 1.5rem;
    }
}

/* Glitch effect */
.glitch-wrapper {
    position: relative;
    margin: 0 auto 2rem;
}

.glitch {
    position: relative;
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: glitch 5s infinite;
    margin: 0;
    line-height: 1.1;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.glitch::before {
    animation: glitch-effect 3s infinite linear alternate-reverse;
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
}

.glitch::after {
    animation: glitch-effect 2s infinite linear alternate-reverse;
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    clip: rect(31px, 450px, 94px, 0);
}

@keyframes glitch-effect {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    10% { clip: rect(112px, 9999px, 76px, 0); }
    20% { clip: rect(85px, 9999px, 77px, 0); }
    30% { clip: rect(27px, 9999px, 97px, 0); }
    40% { clip: rect(64px, 9999px, 98px, 0); }
    50% { clip: rect(67px, 9999px, 62px, 0); }
    60% { clip: rect(83px, 9999px, 66px, 0); }
    70% { clip: rect(40px, 9999px, 73px, 0); }
    80% { clip: rect(61px, 9999px, 85px, 0); }
    90% { clip: rect(66px, 9999px, 103px, 0); }
    100% { clip: rect(62px, 9999px, 74px, 0); }
}

.hero .lead {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.3);
}

.highlight {
    color: var(--neon-cyan);
    font-weight: 700;
    text-shadow: 0 0 10px var(--neon-cyan);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.highlight:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Audio Visualizer */
.audio-visualizer {
    margin-top: 3rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 200, 255, 0.2);
    border-radius: 10px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    transform: translateZ(20px);
    position: relative;
    overflow: hidden;
}

.audio-visualizer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    animation: scanline 4s linear infinite;
    z-index: 1;
}

.visualizer-bars {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 80px;
    gap: 8px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    padding: 0 10px;
}

.visualizer-bars .bar {
    flex: 1;
    min-width: 6px;
    max-width: 10px;
    min-height: 2px;
    background: linear-gradient(to top, var(--neon-cyan), var(--neon-blue));
    border-radius: 4px;
    transition: all 0.15s ease-out;
    will-change: height, box-shadow;
    position: relative;
    transform: translateZ(0);
    backface-visibility: hidden;
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.3);
    opacity: 0.8;
}

.visualizer-bars .bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    border-radius: 4px;
    pointer-events: none;
    opacity: 0.6;
}

.visualizer-bars .bar:hover {
    opacity: 1;
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.8);
    transform: scaleY(1.05);
}

@keyframes equalize {
    0%, 100% { height: 20%; }
    50% { height: 90%; }
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

@keyframes glitch {
    0% { text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em 0.05em 0 rgba(0, 0, 255, 0.75); }
    14% { text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em 0.05em 0 rgba(0, 0, 255, 0.75); }
    15% { text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75); }
    49% { text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75); }
    50% { text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75); }
    99% { text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75); }
    100% { text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em -0.05em 0 rgba(0, 0, 255, 0.75); }
}

@keyframes glitch-slow {
    0% { text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em 0.05em 0 rgba(0, 0, 255, 0.75); }
    14% { text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75), -0.05em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em 0.05em 0 rgba(0, 0, 255, 0.75); }
    15% { text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75); }
    49% { text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75), 0.025em 0.025em 0 rgba(0, 255, 0, 0.75), -0.05em -0.05em 0 rgba(0, 0, 255, 0.75); }
    50% { text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75); }
    99% { text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75), 0.05em 0 0 rgba(0, 255, 0, 0.75), 0 -0.05em 0 rgba(0, 0, 255, 0.75); }
    100% { text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75), -0.025em -0.025em 0 rgba(0, 255, 0, 0.75), -0.025em -0.05em 0 rgba(0, 0, 255, 0.75); }
}

@keyframes glitch-before {
    0% { clip: rect(32px, 9999px, 10px, 0); }
    5% { clip: rect(12px, 9999px, 100px, 0); }
    10% { clip: rect(40px, 9999px, 36px, 0); }
    15% { clip: rect(52px, 9999px, 20px, 0); }
    20% { clip: rect(18px, 9999px, 60px, 0); }
    25% { clip: rect(5px, 9999px, 90px, 0); }
    30% { clip: rect(42px, 9999px, 22px, 0); }
    35% { clip: rect(63px, 9999px, 15px, 0); }
    40% { clip: rect(12px, 9999px, 45px, 0); }
    45% { clip: rect(29px, 9999px, 32px, 0); }
    50% { clip: rect(8px, 9999px, 80px, 0); }
    55% { clip: rect(72px, 9999px, 5px, 0); }
    60% { clip: rect(36px, 9999px, 60px, 0); }
    65% { clip: rect(15px, 9999px, 90px, 0); }
    70% { clip: rect(48px, 9999px, 25px, 0); }
    75% { clip: rect(5px, 9999px, 70px, 0); }
    80% { clip: rect(60px, 9999px, 10px, 0); }
    85% { clip: rect(25px, 9999px, 50px, 0); }
    90% { clip: rect(5px, 9999px, 95px, 0); }
    95% { clip: rect(75px, 9999px, 15px, 0); }
    100% { clip: rect(15px, 9999px, 25px, 0); }
}

@keyframes glitch-after {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    5% { clip: rect(25px, 9999px, 30px, 0); }
    10% { clip: rect(15px, 9999px, 80px, 0); }
    15% { clip: rect(60px, 9999px, 5px, 0); }
    20% { clip: rect(30px, 9999px, 50px, 0); }
    25% { clip: rect(50px, 9999px, 15px, 0); }
    30% { clip: rect(10px, 9999px, 70px, 0); }
    35% { clip: rect(40px, 9999px, 20px, 0); }
    40% { clip: rect(5px, 9999px, 90px, 0); }
    45% { clip: rect(70px, 9999px, 10px, 0); }
    50% { clip: rect(25px, 9999px, 60px, 0); }
    55% { clip: rect(15px, 9999px, 30px, 0); }
    60% { clip: rect(50px, 9999px, 5px, 0); }
    65% { clip: rect(30px, 9999px, 80px, 0); }
    70% { clip: rect(10px, 9999px, 45px, 0); }
    75% { clip: rect(60px, 9999px, 15px, 0); }
    80% { clip: rect(5px, 9999px, 95px, 0); }
    85% { clip: rect(35px, 9999px, 25px, 0); }
    90% { clip: rect(20px, 9999px, 70px, 0); }
    95% { clip: rect(50px, 9999px, 5px, 0); }
    100% { clip: rect(15px, 9999px, 25px, 0); }
}

.now-playing {
    color: var(--neon-cyan);
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
    text-shadow: 0 0 5px var(--neon-cyan);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--neon-cyan);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding: 5px 0;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.wheel {
    width: 6px;
    height: 10px;
    background-color: var(--neon-cyan);
    border-radius: 3px;
    animation: scroll 2s infinite;
}

.arrow {
    width: 15px;
    height: 15px;
    border-right: 2px solid var(--neon-cyan);
    border-bottom: 2px solid var(--neon-cyan);
    transform: rotate(45deg);
    margin-top: 10px;
    animation: arrow 2s infinite;
}

@keyframes scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

@keyframes arrow {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .glitch {
        font-size: 3.5rem;
    }
    
    .hero .lead {
        font-size: 1.25rem;
        padding: 0 1rem;
    }
}

@media (max-width: 768px) {
    .glitch {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.1rem;
    }
    
    .audio-visualizer {
        padding: 1rem;
    }
    
    .visualizer-bars {
        height: 50px;
    }
    
    .now-playing {
        font-size: 0.8rem;
    }
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-buttons .btn {
    min-width: 180px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-glow {
    box-shadow: 0 0 15px rgba(0, 200, 255, 0.5);
}

.cta-buttons .btn-glow:hover {
    box-shadow: 0 0 30px rgba(0, 200, 255, 0.8);
    transform: translateY(-2px);
}

.cta-buttons .btn-icon {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.cta-buttons .btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Products Section */
.products-section {
    padding: 4rem 0;
    background: var(--bg-darker);
    position: relative;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0 3rem;
    position: relative;
    z-index: 2;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.tab-btn i {
    font-size: 1.1em;
}

.tab-btn.active {
    color: var(--neon-cyan);
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.active-category-indicator {
    position: absolute;
    height: 3px;
    background: var(--neon-cyan);
    bottom: -3px;
    left: 0;
    border-radius: 3px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
    margin-top: 2rem;
    position: relative;
    min-height: 300px;
}

/* Product Card Styles */
.product-card {
    background: #1a1a2e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 255, 255, 0.1);
    color: var(--neon-cyan);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-title {
    font-size: 1.25rem;
    margin: 0.5rem 0;
    color: #fff;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0.75rem 0;
}

.product-price.logo {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding: 0.5rem 1rem;
    text-shadow: 
        0 0 5px #fff,
        0 0 10px #fff,
        0 0 20px #ffd700,
        0 0 40px #ff8c00,
        0 0 80px #ff4500;
    animation: neonGlow 1.5s ease-in-out infinite alternate;
}

@keyframes neonGlow {
    from {
        text-shadow: 
            0 0 5px #fff,
            0 0 10px #fff,
            0 0 20px #ffd700,
            0 0 40px #ff8c00,
            0 0 80px #ff4500;
    }
    to {
        text-shadow: 
            0 0 10px #fff,
            0 0 20px #fff,
            0 0 30px #ffd700,
            0 0 50px #ff8c00,
            0 0 100px #ff4500;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    grid-column: 1 / -1;
    color: var(--text-light);
    display: none;
}

.empty-state i {
    font-size: 3rem;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

/* Loading State */
.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-light);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-blue);
    transition: var(--transition);
}

.logo:hover {
    text-shadow: 0 0 15px var(--neon-cyan), 0 0 30px var(--neon-blue);
    transform: scale(1.05);
}

.loading::after {
    content: "";
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--neon-cyan);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.section-title {
    text-align: center;
    margin: 0 auto 1.5rem auto;
    position: relative;
    padding-bottom: 1rem;
    width: 100%;
    max-width: 800px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.section-subtitle {
    text-align: center;
    margin: 0 auto 3rem auto;
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    line-height: 1.6;
}

/* Featured section specific styles */
.featured-section {
    padding: 4rem 0;
    text-align: center;
}

.featured-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.featured-section .tabs-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

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

.product-card {
    background: white;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

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

.product-info {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background-color: var(--bg-secondary);
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Footer */
.footer {
    background-color: #1f2937;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h3, .footer-section h4 {
    color: white;
    margin-bottom: 1.5rem;
}

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

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

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-darker);
    box-shadow: var(--shadow-md);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
    z-index: 1000;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-darker);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    z-index: 1;
    border-radius: 4px;
    padding: 0.5rem 0;
    right: 0;
    top: 100%;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--neon-cyan);
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropbtn {
    background: none;
    border: none;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.dropbtn:hover {
    color: var(--neon-cyan);
}

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

.modal-content {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    width: 100%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

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

.auth-tabs {
    display: flex;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.auth-form {
    display: none;
    flex-direction: column;
    gap: 1rem;
}

.auth-form.active {
    display: flex;
}

.auth-form .form-group {
    margin-bottom: 15px;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--neon-blue);
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus,
.auth-form input[type="text"]:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    outline: none;
}

.auth-form button {
    width: 100%;
    padding: 12px;
    background: var(--neon-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.auth-form button:hover {
    background: var(--neon-cyan);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

/* Admin Checkbox Styles */
.admin-checkbox {
    position: relative;
    padding-left: 35px;
    margin: 15px 0;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-light);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.admin-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--neon-blue);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.admin-checkbox:hover input ~ .checkmark {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

.admin-checkbox input:checked ~ .checkmark {
    background-color: var(--neon-cyan);
    border-color: var(--neon-cyan);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.admin-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.admin-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Admin only notice */
.admin-notice {
    font-size: 12px;
    color: var(--neon-pink);
    margin-top: 5px;
    display: block;
}

/* Upload Progress */
.upload-progress {
    width: 100%;
    margin-top: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #1e2130;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, #00f0ff, #008cff);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 5px;
}

.progress-status {
    font-size: 0.9rem;
    color: #a0a8c0;
    text-align: right;
}

/* Upload Section */
.upload-section {
    padding: 2rem 0;
}

.section-header {
    text-align: center;
    margin: 2rem 0;
    padding: 2rem 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-actions {
    display: flex;
    justify-content: center;
    margin: 0 auto 3rem;
    padding: 1rem 0;
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--bg-darker);
    border-color: var(--primary-color);
    font-weight: 600;
}

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

.product-card {
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.product-info p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.price {
    font-weight: 800;
    color: #ffd700 !important;
    font-size: 1.25rem;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
}

/* Product Card Styles */
/* Product Actions Container */
.product-actions {
    display: flex;
    gap: 10px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    justify-content: center;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

/* Price and Buy Now Container */
.price-buy-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

    box-shadow: 0 4px 15px rgba(255, 42, 109, 0.6);
}

.buy-now-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 5px rgba(255, 42, 109, 0.4);
}

.buy-now-btn:disabled {
    background: #555;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

/* Update Add to Cart Button */
.buy-now-btn {
    display: block;
    margin: 10px auto 0;
    background: #ff2d87;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 200px;
}

.buy-now-btn:hover {
    background: #ff1a75;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.buy-now-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2);
}

.add-to-cart-btn:disabled {
    border-color: #555;
    color: #888;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

/* Update product info to accommodate the new button position */
.product-info {
    position: relative;
    padding: 15px;
    padding-top: 20px; /* Extra space for the Buy Now button */
}

.product-price {
    position: absolute;
    top: 15px;
    right: 15px;
    font-weight: 700;
    color: var(--neon-cyan);
    font-size: 1.1rem;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

/* Move the Buy Now button to be next to the price */
.product-card .product-info {
    position: relative;
}

.product-card .buy-now-btn {
    top: 10px;
    right: 15px;
    transform: scale(0.9);
    opacity: 0.9;
}

.product-card:hover .buy-now-btn {
    transform: scale(1);
    opacity: 1;
}

.product-card {
    position: relative;
    background: #1a1a2e;
    color: #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid #1e90ff;
    box-shadow: 0 0 24px 4px rgba(255, 215, 0, 0.5);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 24px 6px rgba(255, 215, 0, 0.75);
    border-color: #1e90ff;
}

.product-card.out-of-stock {
    opacity: 0.7;
    position: relative;
}

.product-card.out-of-stock::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
    pointer-events: none;
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.add-to-cart-btn {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--bg-darker);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    z-index: 3;
    opacity: 0.9;
}

.add-to-cart-btn:hover {
    opacity: 1;
    transform: translateX(-50%) scale(1.05);
    box-shadow: var(--glow-sm);
}

.add-to-cart-btn:disabled {
    background: #666;
    color: #aaa;
    cursor: not-allowed;
    transform: translateX(-50%);
    box-shadow: none;
}

.add-to-cart-btn i {
    font-size: 1.1rem;
}

.out-of-stock-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--error-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 3;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.product-info {
    padding: 1.2rem;
}

.product-info h3 {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-category {
    color: var(--neon-blue);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.product-price {
    color: var(--neon-green);
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

/* Audio Player in Product Card */
.audio-player {
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.8rem;
}

.audio-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.play-pause-btn {
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.play-pause-btn:hover {
    background: rgba(0, 255, 255, 0.1);
}

.progress-container {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--primary-color);
    transition: width 0.1s linear;
}

.time-display {
    color: var(--text-light);
    font-size: 0.8rem;
    min-width: 45px;
    text-align: right;
    font-family: 'Share Tech Mono', monospace;
}

.category {
    background: rgba(0, 200, 255, 0.1);
    color: var(--primary-color) !important;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
    font-style: italic;
    grid-column: 1 / -1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .products-container {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .filters {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
}
