:root {
    --accent-color: #ffae00;
    --bg-dark: #070707;
    --card-bg: rgba(25, 25, 25, 0.8);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-white: #ffffff;
    --text-gray: rgba(255, 255, 255, 0.7);
    --glass-blur: 15px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Be Vietnam Pro', sans-serif;
}

body {
    background: transparent;
    color: var(--text-white);
    min-height: 100vh;
    padding-bottom: 50px;
    overflow-x: hidden;
}

/* Background Optimization */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45) contrast(1.2);
    transform: scale(1.1);
    animation: bgPan 25s ease-in-out infinite alternate;
}

@keyframes bgPan {
    0% {
        transform: scale(1.1) translate(0, 0);
    }

    100% {
        transform: scale(1.25) translate(-2%, -2%);
    }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.9) 100%);
    backdrop-filter: blur(2px);
    z-index: -1;
}

/* Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.shop-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-bottom: 40px;
}

.back-btn {
    text-decoration: none;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    transition: 0.3s;
}

.back-btn:hover {
    color: var(--accent-color);
}

.shop-title {
    font-size: 1.8rem;
    font-weight: 800;
}

.shop-title span {
    color: var(--accent-color);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 25px;
    overflow: hidden;
    backdrop-filter: blur(var(--glass-blur));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 40px rgba(255, 174, 0, 0.15);
}

.image-container {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #000;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.product-card:hover .image-container img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.category {
    font-size: 0.75rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    display: block;
}

.name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 20px;
}

.buy-btn {
    width: 100%;
    padding: 14px;
    background: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.buy-btn:hover {
    background: #fff;
    transform: scale(1.05);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.8s ease-out forwards;
}

@media (max-width: 768px) {
    .shop-title {
        font-size: 1.4rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}

/* Footer & Copyright - Premium Upgrade */
.social-footer {
    width: 100%;
    text-align: center;
    padding: 60px 0 30px;
    margin-top: auto;
    position: relative;
    clear: both;
}

.copyright {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #fff, var(--accent-color), #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
    text-shadow: 0 0 20px rgba(255, 174, 0, 0.2);
    display: inline-block;
    cursor: default;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.copyright:hover {
    filter: brightness(1.2);
    letter-spacing: 3px;
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Music Player */
.music-player {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.music-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(90deg, rgba(255, 174, 0, 0.6) 0%, rgba(255, 215, 0, 0.4) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.music-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(255, 174, 0, 0.4);
}

.music-btn i {
    font-size: 24px;
    z-index: 2;
}

.music-wave {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    opacity: 0;
    transition: 0.3s;
}

.music-wave.active {
    opacity: 1;
}

.music-wave span {
    width: 3px;
    height: 15px;
    background: #fff;
    border-radius: 3px;
    animation: musicWave 1s ease-in-out infinite;
}

.music-wave span:nth-child(2) {
    animation-delay: 0.2s;
    height: 25px;
}

.music-wave span:nth-child(3) {
    animation-delay: 0.4s;
    height: 18px;
}

@keyframes musicWave {

    0%,
    100% {
        transform: scaleY(0.5);
    }

    50% {
        transform: scaleY(1.2);
    }
}