:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #00f3ff;
    /* Cyberpunk Cyan */
    --accent-secondary: #ff0080;
    /* Hot Pink */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.15);
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    background: radial-gradient(circle at 50% 50%, #1a0b2e 0%, #000000 80%);
    background-attachment: fixed;
    color: var(--text-color);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Cursor styles removed */

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.5);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

.logo {
    height: 40px;
    filter: invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

nav ul {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    font-size: 0.9rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.cta-button {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-family: var(--font-main);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--text-color);
    color: var(--bg-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 2;
    text-align: center;
}

h1.glitch {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    position: relative;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: -2px;
}

/* Simple Glitch Effect */
h1.glitch::before,
h1.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: var(--bg-color); Removed to avoid black bars on gradient */
}

h1.glitch::before {
    left: 2px;
    text-shadow: -1px 0 red;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

h1.glitch::after {
    left: -2px;
    text-shadow: -1px 0 blue;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(14px, 9999px, 121px, 0);
    }

    20% {
        clip: rect(69px, 9999px, 76px, 0);
    }

    40% {
        clip: rect(62px, 9999px, 32px, 0);
    }

    60% {
        clip: rect(100px, 9999px, 96px, 0);
    }

    80% {
        clip: rect(5px, 9999px, 69px, 0);
    }

    100% {
        clip: rect(25px, 9999px, 16px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(122px, 9999px, 57px, 0);
    }

    20% {
        clip: rect(12px, 9999px, 47px, 0);
    }

    40% {
        clip: rect(4px, 9999px, 50px, 0);
    }

    60% {
        clip: rect(107px, 9999px, 63px, 0);
    }

    80% {
        clip: rect(51px, 9999px, 126px, 0);
    }

    100% {
        clip: rect(117px, 9999px, 14px, 0);
    }
}

.subtitle {
    font-size: 1.2rem;
    color: #888;
    margin: 2rem 0;
    font-weight: 300;
    letter-spacing: 2px;
    opacity: 0;
    /* Animated in */
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards 0.5s;
}

.explore-btn {
    display: inline-block;
    padding: 1rem 3rem;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards 0.8s;
}

.explore-btn:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.glowing-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 128, 0.15) 0%, rgba(0, 243, 255, 0.1) 40%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    animation: orb-pulse 8s infinite alternate;
}

@keyframes orb-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Products Section */
.products-section {
    padding: 5rem 10%;
    min-height: 100vh;
    background: transparent;
}

.section-title {
    font-size: 4rem;
    margin-bottom: 4rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: -2px;
    background: linear-gradient(to right, #fff, #666);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 3rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.4s ease, border-color 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-secondary);
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.3);
}

.product-image {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.product-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s ease;
}

.glass-card:hover .product-image img {
    transform: scale(1.05) rotate(-2deg);
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.price {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 300;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.glass-card:hover .overlay {
    opacity: 1;
}

.add-btn {
    padding: 1rem 2rem;
    background: var(--text-color);
    color: var(--bg-color);
    border: none;
    font-weight: 600;
    cursor: none;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.glass-card:hover .add-btn {
    transform: translateY(0);
}

/* Footer */
footer {
    padding: 3rem;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    margin-top: 5rem;
}

.footer-logo {
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.socials {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.socials a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s;
}

.socials a:hover {
    color: var(--text-color);
}

@media (max-width: 768px) {
    h1.glitch {
        font-size: 4rem;
    }

    .glass-header {
        padding: 1rem;
    }

    nav {
        display: none;
    }
}

/* Placeholder for missing images */
.placeholder-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.placeholder-image::after {
    content: 'VYNOR';
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    letter-spacing: 5px;
    transform: rotate(-45deg);
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        left: 100%;
    }
}

/* Authentication Styles */
.auth-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at 50% 50%, #1a0b2e 0%, #000000 80%);
}

.auth-card {
    min-width: 400px;
    padding: 3rem;
    text-align: center;
}

.auth-card h2 {
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #aaa;
}

.input-group input {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    color: var(--text-color);
    font-family: var(--font-main);
    transition: 0.3s;
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
}

.full-width {
    width: 100%;
    margin-top: 1rem;
    cursor: pointer;
}

.auth-footer {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #888;
}

.auth-footer a {
    color: var(--accent-color);
    text-decoration: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Profile / Dashboard */
.profile-container {
    padding: 8rem 10% 5rem;
    min-height: 100vh;
}

.profile-header {
    margin-bottom: 3rem;
}

.accent-text {
    color: var(--accent-color);
    font-weight: 600;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.dashboard-card {
    min-height: 300px;
}

.dashboard-card h3 {
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: var(--accent-secondary);
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.order-list {
    list-style: none;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.status.delivered {
    color: #00ff88;
}

.status.processing {
    color: #ffa500;
}

/* Messages */
.success-msg {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid #00ff88;
    color: #00ff88;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.error-msg {
    background: rgba(255, 0, 85, 0.1);
    border: 1px solid #ff0055;
    color: #ff0055;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

/* Autocomplete Suggestions */
.suggestions-list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 5, 20, 0.95);
    border: 1px solid var(--glass-border);
    border-top: none;
    border-radius: 0 0 5px 5px;
    z-index: 1000;
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
    display: none;
}

.suggestions-list li {
    padding: 0.8rem;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.2s;
}

.suggestions-list li:hover {
    background: var(--accent-color);
    color: #000;
}

/* --- Admin Dashboard Layout --- */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: rgba(10, 5, 20, 0.8);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    position: fixed;
    height: 100%;
}

.admin-content {
    flex: 1;
    margin-left: 250px;
    /* Width of sidebar */
    padding: 3rem;
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 3rem;
    color: var(--text-color);
    text-decoration: none;
    text-align: center;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    margin-bottom: 1rem;
}

.sidebar-link {
    display: block;
    padding: 0.8rem 1rem;
    color: #888;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
    font-weight: 500;
}

.sidebar-link:hover,
.sidebar-link.active {
    background: var(--glass-bg);
    color: white;
    border-left: 3px solid var(--accent-secondary);
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* Product Variants */
.variant-btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    min-width: 60px;
    text-align: center;
}

.variant-btn:hover {
    border-color: var(--accent-color);
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
    transform: translateY(-2px);
}

input[type="radio"]:checked+.variant-btn {
    background: var(--accent-color);
    color: #000;
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
    font-weight: 600;
    transform: translateY(-2px);
}

input[type="radio"]:disabled+.variant-btn {
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: line-through;
    border-color: #333;
    pointer-events: none;
}