/*
Theme Name: Video Neon Store
Theme URI: https://bank-pro.com/video-neon-store
Author: Bank Pro
Author URI: https://bank-pro.com
Description: Dark neon WooCommerce theme for online video stores with product zoom, slideshow, spinning camera preloader, and glowing buttons.
Version: 1.0
Text Domain: video-neon-store
License: GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: e-commerce, woocommerce, dark, neon, custom-colors, responsive-layout
*/

/* CSS Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: #f5f5f5;
    background: var(--bg-gradient, radial-gradient(circle at top, #050810 0%, #020308 50%, #000000 100%));
    min-height: 100vh;
}

/* Layout */
.site-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    position: relative;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-title a {
    color: #f5f5f5;
    text-decoration: none;
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.site-description {
    font-size: 0.8rem;
    color: #bbbbbb;
}

.neon-accent {
    color: #00f5ff;
    text-shadow: 0 0 5px rgba(0, 245, 255, 0.8), 0 0 15px rgba(0, 245, 255, 0.9);
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
}

.main-navigation a {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 2px;
}

.main-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff00ff, #00e5ff, #ffea00);
    transition: width 0.25s ease-out;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
    width: 100%;
}

/* Time & Date */
.site-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #cccccc;
}

#current-time-date {
    font-family: "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Mini Cart */
.mini-cart {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    font-size: 0.85rem;
}

.mini-cart-count {
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #ff00ff 0%, #8000ff 50%, #4000ff 100%);
    box-shadow: 0 0 8px rgba(255, 0, 255, 0.8);
    font-size: 0.7rem;
}

/* Neon Buttons */
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    border-radius: 999px;
    border: none;
    padding: 0.6rem 1.4rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    color: #000;
    background: linear-gradient(135deg, #ff00ff, #ffea00, #00f5ff);
    box-shadow:
        0 0 4px rgba(255, 0, 255, 0.8),
        0 0 12px rgba(0, 245, 255, 0.9),
        0 0 18px rgba(255, 234, 0, 0.7);
    transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, filter 0.2s ease-out;
}

button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
    transform: translateY(-1px) scale(1.02);
    filter: brightness(1.1);
    box-shadow:
        0 0 6px rgba(255, 0, 255, 0.9),
        0 0 18px rgba(0, 245, 255, 1),
        0 0 26px rgba(255, 234, 0, 0.9);
}

/* Content */
.site-content {
    flex: 1;
    padding: 2rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Widgets */
.widget-area {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.widget {
    background: rgba(10, 10, 20, 0.9);
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.widget-title {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #f5f5f5;
    margin-bottom: 0.75rem;
}

/* Footer */
.site-footer {
    padding: 1.5rem 1.5rem 2.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: #999999;
    background: rgba(0, 0, 0, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Product Grid & Zoom */
.woocommerce ul.products li.product a img,
.woocommerce div.product div.images img {
    border-radius: 0.75rem;
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
}

.woocommerce ul.products li.product a:hover img,
.woocommerce div.product div.images:hover img {
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.5);
}

/* Product slider on home */
.video-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 2.5rem;
    border-radius: 1.5rem;
    background: radial-gradient(circle at top, rgba(0, 245, 255, 0.2), rgba(0, 0, 0, 0.95));
    padding: 1.5rem 1rem 2rem;
}

.video-slider-track {
    display: flex;
    transition: transform 0.5s ease-out;
}

.video-slide {
    min-width: 240px;
    max-width: 260px;
    margin-right: 1.2rem;
}

.video-slide:last-child {
    margin-right: 0;
}

.video-slide-inner {
    background: rgba(5, 5, 15, 0.95);
    border-radius: 1rem;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Preloader with spinning vintage camera */
#preloader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle, #050510 0%, #000000 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.4s ease-out, visibility 0.4s ease-out;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.camera-spinner {
    width: 80px;
    height: 50px;
    position: relative;
    border-radius: 12px;
    background: linear-gradient(145deg, #22212b, #050308);
    box-shadow:
        0 0 10px rgba(0, 245, 255, 0.7),
        0 0 25px rgba(255, 0, 255, 0.8);
    animation: spin-camera 1.6s linear infinite;
}

.camera-lens {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #00f5ff, #8000ff, #050510);
    box-shadow: 0 0 15px rgba(0, 245, 255, 0.8);
}

.camera-reel {
    position: absolute;
    top: -15px;
    left: 8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #444;
    box-shadow: 0 0 8px rgba(255, 234, 0, 0.7);
}

.camera-reel::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: inherit;
    border: 2px dotted #999;
}

@keyframes spin-camera {
    0% {
        transform: translateZ(0) rotateY(0deg);
    }
    50% {
        box-shadow:
            0 0 15px rgba(255, 0, 255, 0.9),
            0 0 30px rgba(0, 245, 255, 1);
    }
    100% {
        transform: translateZ(0) rotateY(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .main-navigation ul {
        flex-wrap: wrap;
    }
    .site-content {
        padding: 1.5rem 1rem;
    }
}
