/*
Theme Name: Bank Pro Video Neon Theme
Theme URI: https://bank-pro.com/bank-pro-video-neon-theme
Author: Bank Pro
Author URI: https://bank-pro.com
Description: Dark black & silver neon WooCommerce theme for online video stores with header product slider, product zoom, mini cart, spinning vintage camera preloader, glowing buttons and footer widget areas.
Version: 1.0
Text Domain: bank-pro-video-neon
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, #050505 0%, #111111 40%, #000000 100%));
    min-height: 100vh;
}

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

/* Top time bar */
.top-timebar {
    width: 100%;
    background: linear-gradient(90deg, #000000, #3c3c3c, #000000);
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 0.25rem 1.5rem;
    font-size: 0.75rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: #e0e0e0;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
}

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

/* Header */
.site-header {
    position: relative;
    padding: 1rem 2rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: radial-gradient(circle at top, #000000 0%, #111111 40%, #000000 100%);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(192, 192, 192, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
}

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

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

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

.neon-accent {
    color: #e0e0e0;
    text-shadow:
        0 0 6px rgba(255, 255, 255, 0.8),
        0 0 14px rgba(192, 192, 192, 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;
    transition: color 0.2s ease-out, transform 0.15s ease-out;
}

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

.main-navigation a:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

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

/* Site meta (cart) */
.site-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #d0d0d0;
}

.mini-cart {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    font-size: 0.85rem;
    text-decoration: none;
    color: #f5f5f5;
}

.mini-cart-count {
    min-width: 22px;
    height: 22px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, #c0c0c0 0%, #ffffff 40%, #777777 100%);
    box-shadow:
        0 0 6px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(192, 192, 192, 0.9);
    font-size: 0.7rem;
    color: #000;
}

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

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(260px, 1.2fr);
    gap: 2rem;
}

.content-main {
    min-width: 0;
}

/* Sidebar widgets */
.widget-area {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.widget {
    background: radial-gradient(circle at top, #111111 0%, #050505 60%, #000000 100%);
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    border: 1px solid rgba(192, 192, 192, 0.3);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.85);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.widget:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow:
        0 0 12px rgba(255, 255, 255, 0.55),
        0 18px 45px rgba(0, 0, 0, 0.95);
}

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

/* Footer widgets */
.footer-widgets {
    background: radial-gradient(circle at top, #070707 0%, #000000 60%, #050505 100%);
    border-top: 1px solid rgba(192, 192, 192, 0.35);
    padding: 2rem 1.5rem 1.5rem;
}

.footer-widgets-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

/* Footer bottom */
.site-footer-bottom {
    padding: 1rem 1.5rem 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #aaaaaa;
    background: #000000;
    border-top: 1px solid rgba(192, 192, 192, 0.35);
}

.site-footer-bottom a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
}

/* Buttons - silver neon glow with color shift on hover */
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.5rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    color: #000;
    background: linear-gradient(135deg, #ffffff, #c0c0c0, #f5f5f5);
    box-shadow:
        0 0 4px rgba(255, 255, 255, 0.9),
        0 0 10px rgba(192, 192, 192, 0.9),
        0 0 18px rgba(255, 255, 255, 0.8);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, filter 0.22s ease-out, background-position 0.3s ease-out;
    background-size: 200% 200%;
    background-position: 0% 50%;
}

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);
    background-position: 100% 50%;
    box-shadow:
        0 0 6px rgba(255, 255, 255, 1),
        0 0 18px rgba(192, 192, 192, 1),
        0 0 26px rgba(255, 255, 255, 0.95);
}

/* Entry & cards */
article {
    background: radial-gradient(circle at top, #101010 0%, #050505 55%, #000000 100%);
    border-radius: 1.1rem;
    padding: 1.2rem 1.4rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(192, 192, 192, 0.28);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

article:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow:
        0 0 12px rgba(255, 255, 255, 0.55),
        0 22px 55px rgba(0, 0, 0, 0.98);
}

.entry-meta {
    font-size: 0.75rem;
    color: #b0b0b0;
    margin-bottom: 0.4rem;
}

/* Pagination */
.pagination,
.nav-links {
    margin-top: 1.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    border-radius: 999px;
    padding: 0 0.75rem;
    font-size: 0.75rem;
    text-decoration: none;
    color: #e0e0e0;
    border: 1px solid rgba(192, 192, 192, 0.5);
    transition: background 0.18s ease-out, color 0.18s ease-out, box-shadow 0.18s ease-out, transform 0.15s ease-out;
}

.page-numbers:hover {
    background: linear-gradient(135deg, #ffffff, #9f9f9f);
    color: #000;
    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 20px rgba(192, 192, 192, 0.95);
    transform: translateY(-1px);
}

.page-numbers.current {
    background: #ffffff;
    color: #000;
    box-shadow:
        0 0 10px rgba(255, 255, 255, 1),
        0 0 24px rgba(192, 192, 192, 1);
}

/* WooCommerce product grid & hover animation */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: radial-gradient(circle at top, #101010 0%, #050505 55%, #000000 100%);
    border-radius: 1rem;
    padding: 0.9rem;
    border: 1px solid rgba(192, 192, 192, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.9);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow:
        0 0 12px rgba(255, 255, 255, 0.55),
        0 22px 52px rgba(0, 0, 0, 0.98);
}

/* Product images zoom on hover */
.woocommerce ul.products li.product a img,
.woocommerce div.product div.images img {
    border-radius: 0.9rem;
    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.06);
    box-shadow:
        0 0 14px rgba(255, 255, 255, 0.9),
        0 0 26px rgba(192, 192, 192, 0.95);
}

/* Header product slider */
.header-product-slider {
    width: 100%;
    padding: 0.75rem 0 0.2rem;
    background: radial-gradient(circle at top, #111111 0%, #000000 70%);
    border-top: 1px solid rgba(192, 192, 192, 0.4);
    border-bottom: 1px solid rgba(192, 192, 192, 0.3);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.08);
}

.header-product-slider-inner {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.header-product-slider-track {
    display: flex;
    gap: 1rem;
    will-change: transform;
    transition: transform 0.6s ease-out;
}

.header-product-slide {
    min-width: 190px;
    max-width: 210px;
    flex: 0 0 auto;
}

.header-product-card {
    background: radial-gradient(circle at top, #151515 0%, #050505 55%, #000000 100%);
    border-radius: 0.9rem;
    padding: 0.6rem;
    border: 1px solid rgba(192, 192, 192, 0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: transform 0.18s ease-out, box-shadow 0.18s ease-out, border-color 0.18s ease-out;
}

.header-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.85);
    box-shadow:
        0 0 12px rgba(255, 255, 255, 0.55),
        0 16px 40px rgba(0, 0, 0, 0.98);
}

.header-product-card img {
    border-radius: 0.75rem;
}

/* Preloader with spinning vintage camera */
#preloader {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle, #050505 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: 84px;
    height: 54px;
    position: relative;
    border-radius: 14px;
    background: linear-gradient(145deg, #2b2b2b, #050505);
    box-shadow:
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 26px rgba(192, 192, 192, 1);
    animation: spin-camera 1.6s linear infinite;
}

.camera-lens {
    position: absolute;
    top: 50%;
    left: 52%;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ffffff, #bfbfbf, #050505);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.9);
}

.camera-reel {
    position: absolute;
    top: -16px;
    left: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 3px solid #666666;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.75);
}

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

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

/* Responsive */
@media (max-width: 960px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .content-layout {
        grid-template-columns: 1fr;
    }
    .site-content {
        padding: 1.75rem 1.1rem 2rem;
    }
}

@media (max-width: 600px) {
    .top-timebar {
        justify-content: center;
    }
}
