/* ═══════════════════════════════════════════════════════════════════════════
   EUPHORIA - Cosmic Galaxy Design System
   Tailwind CSS Overrides & Galaxy Effects
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   CUSTOM PROPERTIES - GALAXY PALETTE
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    /* Deep Space Background - Ultra Dark Purple/Black */
    --void: #05000a;
    --deep-space: #0f0518;
    --nebula: #1a0b2e;

    /* Stellar Lights */
    --stellar: #ffffff;
    --silver: #b8b8d0;
    --platinum: #e0e0ff;

    /* Cosmic Galaxy Accents - Deep Purple/Violet Focus */
    --neon-purple: #9d4edd;
    --neon-pink: #f72585;
    /* Vibrant magenta for contrast */
    --neon-cyan: #4cc9f0;
    /* Kept for cool contrast, maybe unused or minimized */
    --neon-blue: #4361ee;
    --neon-violet: #7209b7;
    --cosmic-glow: #3a0ca3;

    /* Gradients */
    --gradient-galaxy: linear-gradient(135deg, #3a0ca3 0%, #7209b7 100%);
    --gradient-aurora: linear-gradient(135deg, #7209b7 0%, #f72585 50%, #4361ee 100%);
    --gradient-nebula: linear-gradient(135deg, #1a0b2e 0%, #240046 50%, #10002b 100%);

    --nav-height: 80px;
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIGHT MODE STYLES - Premium Design System
   ═══════════════════════════════════════════════════════════════════════════ */

body.light-mode {
    background: linear-gradient(135deg, #faf5ff 0%, #fef3f7 50%, #eff6ff 100%);
    background-attachment: fixed;
    color: #2d3748;
}

body.light-mode::before {
    display: none;
}

/* Light mode - reset backgrounds with glass effect */
body.light-mode .bg-void,
body.light-mode .bg-deep-space,
body.light-mode .bg-nebula {
    background-color: transparent !important;
    background-image: none !important;
}

body.light-mode section,
body.light-mode main,
body.light-mode .container {
    background-color: transparent !important;
}

/* Light mode - text color system */
body.light-mode,
body.light-mode .text-stellar,
body.light-mode .text-white {
    color: #1a202c !important;
}

body.light-mode .text-silver,
body.light-mode .text-silver\/80 {
    color: #4a5568 !important;
}

body.light-mode .text-platinum {
    color: #2d3748 !important;
}

/* Headings in light mode */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4,
body.light-mode h5,
body.light-mode h6 {
    color: #1a202c !important;
    text-shadow: none !important;
}

body.light-mode p,
body.light-mode span:not(.badge):not(.badge-success):not(.badge-danger),
body.light-mode label,
body.light-mode .text-xs,
body.light-mode .text-sm {
    color: #4a5568 !important;
}

/* Specific text overrides for cards */
body.light-mode .text-2xl,
body.light-mode .text-3xl,
body.light-mode .text-4xl,
body.light-mode .text-5xl {
    color: #1a202c !important;
}

body.light-mode .font-bold,
body.light-mode .font-space {
    color: inherit;
}

/* Keep gradient for REALITY text */
body.light-mode .text-transparent.bg-clip-text,
body.light-mode .animate-aurora {
    background: linear-gradient(135deg, #9d4edd 0%, #7209b7 50%, #f72585 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Light mode scrollbar */
body.light-mode::-webkit-scrollbar {
    width: 8px;
}

body.light-mode::-webkit-scrollbar-track {
    background: #f5f7fa;
}

body.light-mode::-webkit-scrollbar-thumb {
    background: #9d4edd;
    border-radius: 4px;
}

body.light-mode::-webkit-scrollbar-thumb:hover {
    background: #7209b7;
}

/* Light mode selection */
body.light-mode ::selection {
    background: #9d4edd;
    color: #ffffff;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIGHT MODE - NAVBAR (Keep Dark)
   ═══════════════════════════════════════════════════════════════════════════ */

body.light-mode #navbar {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(252, 248, 255, 0.95) 100%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.light-mode #navbar.scrolled {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 245, 255, 0.96) 100%) !important;
    backdrop-filter: none !important;
}

body.light-mode #nav-container {
    border-color: rgba(157, 78, 221, 0.15) !important;
}

body.light-mode #navbar.scrolled #nav-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 243, 255, 0.9) 100%) !important;
    border-color: rgba(157, 78, 221, 0.25) !important;
    box-shadow: 0 8px 32px rgba(157, 78, 221, 0.1), 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .nav-link {
    color: #2d3748 !important;
}

body.light-mode .nav-link:hover {
    color: #9d4edd !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIGHT MODE - BUTTONS
   ═══════════════════════════════════════════════════════════════════════════ */

body.light-mode .btn {
    background: linear-gradient(135deg, #9d4edd 0%, #7209b7 100%) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(157, 78, 221, 0.35) !important;
    text-shadow: none !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

body.light-mode .btn:hover {
    background: linear-gradient(135deg, #7209b7 0%, #f72585 100%) !important;
    box-shadow: 0 8px 25px rgba(114, 9, 183, 0.45) !important;
    transform: translateY(-3px) !important;
}

body.light-mode .btn::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent) !important;
}

body.light-mode .btn-primary {
    background: linear-gradient(135deg, #9d4edd 0%, #7209b7 100%) !important;
}

body.light-mode .btn-primary:hover {
    background: linear-gradient(135deg, #7209b7 0%, #f72585 100%) !important;
    box-shadow: 0 8px 30px rgba(114, 9, 183, 0.5) !important;
}

body.light-mode .btn-secondary,
body.light-mode .btn-cosmic {
    background: rgba(157, 78, 221, 0.1) !important;
    color: #7209b7 !important;
    border: 2px solid #9d4edd !important;
    box-shadow: none !important;
}

body.light-mode .btn-secondary:hover,
body.light-mode .btn-cosmic:hover {
    background: linear-gradient(135deg, #9d4edd 0%, #7209b7 100%) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 8px 25px rgba(157, 78, 221, 0.4) !important;
    transform: translateY(-3px) !important;
}

body.light-mode .btn-cosmic::before {
    background: linear-gradient(135deg, #9d4edd, #7209b7, #f72585) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIGHT MODE - CARDS & COMPONENTS
   ═══════════════════════════════════════════════════════════════════════════ */

body.light-mode .product-card,
body.light-mode .card,
body.light-mode .lift-card,
body.light-mode .zero-g {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 245, 255, 0.9) 100%) !important;
    backdrop-filter: none !important;
    border: 1px solid rgba(157, 78, 221, 0.2) !important;
    box-shadow: 0 4px 20px rgba(157, 78, 221, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

body.light-mode .product-card:hover,
body.light-mode .card:hover,
body.light-mode .lift-card:hover,
body.light-mode .zero-g:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(245, 240, 255, 1) 100%) !important;
    border-color: rgba(157, 78, 221, 0.4) !important;
    box-shadow: 0 12px 40px rgba(157, 78, 221, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

body.light-mode .product-card::before {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.15), transparent, rgba(76, 201, 240, 0.1)) !important;
}

body.light-mode .product-card img {
    filter: saturate(1) contrast(1.05) !important;
}

body.light-mode .product-card:hover img {
    filter: saturate(1.1) contrast(1.1) !important;
}

/* Light mode - specific card backgrounds */
body.light-mode .bg-deep-space,
body.light-mode .bg-deep-space\/50,
body.light-mode .bg-deep-space\/80,
body.light-mode .bg-deep-space\/90 {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(250, 245, 255, 0.85) 100%) !important;
    backdrop-filter: none !important;
}

body.light-mode .bg-black\/50 {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 246, 255, 0.9) 100%) !important;
}

body.light-mode [class*="bg-gradient-to-br"] {
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.9), rgba(250, 245, 255, 0.8)) !important;
}

/* Newsletter and special sections */
body.light-mode .border-neon-purple\/30,
body.light-mode .border-neon-purple\/50 {
    border-color: rgba(157, 78, 221, 0.25) !important;
}

body.light-mode .border-neon-cyan\/30,
body.light-mode .border-neon-cyan\/50 {
    border-color: rgba(14, 165, 233, 0.25) !important;
}

/* Service cards (Wholesale/Custom) */
body.light-mode .rounded-2xl,
body.light-mode .rounded-3xl {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 245, 255, 0.9) 100%) !important;
    backdrop-filter: none !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIGHT MODE - FORMS & INPUTS
   ═══════════════════════════════════════════════════════════════════════════ */

body.light-mode .form-input,
body.light-mode input[type="text"],
body.light-mode input[type="email"],
body.light-mode input[type="password"],
body.light-mode input[type="number"],
body.light-mode input[type="date"],
body.light-mode input[type="search"],
body.light-mode textarea,
body.light-mode select {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 245, 255, 0.9) 100%) !important;
    border: 1px solid rgba(157, 78, 221, 0.25) !important;
    color: #1a202c !important;
    box-shadow: 0 2px 8px rgba(157, 78, 221, 0.06) !important;
}

body.light-mode .form-input::placeholder,
body.light-mode input::placeholder,
body.light-mode textarea::placeholder {
    color: #a0aec0 !important;
}

body.light-mode .form-input:focus,
body.light-mode input:focus,
body.light-mode textarea:focus,
body.light-mode select:focus {
    outline: none !important;
    border-color: #9d4edd !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 243, 255, 1) 100%) !important;
    box-shadow: 0 0 0 3px rgba(157, 78, 221, 0.12), 0 4px 12px rgba(157, 78, 221, 0.15) !important;
}

body.light-mode .form-label {
    color: #4a5568 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIGHT MODE - FOOTER
   ═══════════════════════════════════════════════════════════════════════════ */

body.light-mode footer {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 245, 255, 0.9) 100%) !important;
    backdrop-filter: none !important;
    border-top: 1px solid rgba(157, 78, 221, 0.2) !important;
}

body.light-mode footer h3,
body.light-mode footer h4,
body.light-mode footer .text-stellar {
    color: #1a202c !important;
}

body.light-mode footer p,
body.light-mode footer span,
body.light-mode footer .text-silver {
    color: #4a5568 !important;
}

body.light-mode footer a:not(.btn) {
    color: #7209b7 !important;
}

body.light-mode footer a:not(.btn):hover {
    color: #9d4edd !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIGHT MODE - UTILITY ELEMENTS
   ═══════════════════════════════════════════════════════════════════════════ */

body.light-mode .text-neon,
body.light-mode .text-neon-purple {
    color: #9d4edd !important;
    text-shadow: none !important;
}

body.light-mode .text-neon-cyan {
    color: #0891b2 !important;
}

body.light-mode .text-neon-pink {
    color: #db2777 !important;
}

body.light-mode .border-glow {
    border-color: rgba(157, 78, 221, 0.2) !important;
    box-shadow: 0 0 15px rgba(157, 78, 221, 0.1) !important;
}

body.light-mode .galaxy-border::before {
    background: linear-gradient(90deg, transparent, rgba(157, 78, 221, 0.3), rgba(114, 9, 183, 0.2), rgba(247, 37, 133, 0.2), transparent) !important;
}

body.light-mode .flash-message {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(157, 78, 221, 0.2) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIGHT MODE - BADGES & STATUS
   ═══════════════════════════════════════════════════════════════════════════ */

body.light-mode .badge,
body.light-mode .badge-success,
body.light-mode .badge-danger,
body.light-mode .badge-warning {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.15), rgba(114, 9, 183, 0.1)) !important;
    color: #7209b7 !important;
    border: 1px solid rgba(157, 78, 221, 0.3) !important;
}

body.light-mode .badge-success {
    background: rgba(34, 197, 94, 0.15) !important;
    color: #16a34a !important;
    border-color: rgba(34, 197, 94, 0.3) !important;
}

body.light-mode .badge-danger {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #dc2626 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   LIGHT MODE - LINKS & MISC
   ═══════════════════════════════════════════════════════════════════════════ */

body.light-mode a:not(.btn):not(.nav-link) {
    color: #7209b7 !important;
}

body.light-mode a:not(.btn):not(.nav-link):hover {
    color: #9d4edd !important;
}

body.light-mode hr,
body.light-mode [class*="border-white"] {
    border-color: rgba(157, 78, 221, 0.15) !important;
}

/* Hide dark mode elements in light mode */
body.light-mode .star-field,
body.light-mode .shooting-stars {
    display: none !important;
}

/* Light mode animation adjustments */
body.light-mode .animate-aurora {
    filter: drop-shadow(0 0 20px rgba(157, 78, 221, 0.2));
}

body.light-mode .text-gradient {
    background: linear-gradient(135deg, #9d4edd, #7209b7, #f72585) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* ═══════════════════════════════════════════════════════════════════════════
   BASE RESET & BACKGROUND
   ═══════════════════════════════════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--void);
    background-image:
        radial-gradient(ellipse at 20% 80%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
    background-attachment: fixed;
    color: var(--stellar);
    font-family: 'Orbitron', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Starfield Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(168, 85, 247, 0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(6, 182, 212, 0.6), transparent),
        radial-gradient(1px 1px at 160px 120px, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 200px 50px, rgba(236, 72, 153, 0.5), transparent),
        radial-gradient(1px 1px at 250px 160px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(2px 2px at 300px 100px, rgba(139, 92, 246, 0.5), transparent);
    background-size: 350px 200px;
    animation: twinkle 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--void);
}

::-webkit-scrollbar-thumb {
    background: var(--neon-purple);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-pink);
}

/* Selection */
::selection {
    background: var(--neon-purple);
    color: var(--stellar);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANTIGRAVITY NAVBAR STATES
   ═══════════════════════════════════════════════════════════════════════════ */

#navbar {
    background: transparent;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    background: rgba(5, 0, 10, 0.5);
    /* Slight tint initially */
}

#navbar.scrolled {
    background: rgba(3, 0, 20, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

#navbar.scrolled #nav-container {
    max-width: 800px;
    margin: 1rem auto;
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    background: rgba(10, 10, 26, 0.6);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.2);
}

/* ═══════════════════════════════════════════════════════════════════════════
   BUTTONS - GALAXY GLOW
   ═══════════════════════════════════════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(168, 85, 247, 0.4);
    background: rgba(168, 85, 247, 0.1);
    color: var(--stellar);
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
    will-change: transform;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
    will-change: left;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    background: rgba(168, 85, 247, 0.2);
    border-color: var(--neon-purple);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4), 0 10px 40px rgba(0, 0, 0, 0.3);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--gradient-galaxy);
    border: none;
    color: var(--stellar);
}

.btn-primary:hover {
    background: var(--gradient-aurora);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.5), 0 0 80px rgba(236, 72, 153, 0.3);
}

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 0.8rem;
}

/* Cosmic Button Variant */
.btn-cosmic {
    background: rgba(10, 10, 26, 0.8);
    border: 1px solid rgba(168, 85, 247, 0.4);
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    color: var(--stellar);
}

.btn-cosmic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--gradient-galaxy);
    transition: width 0.4s var(--ease-out);
    z-index: -1;
}

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

.btn-cosmic:hover {
    border-color: transparent;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.4), 0 0 60px rgba(114, 9, 183, 0.2);
    transform: translateY(-3px);
    color: var(--stellar);
}

.w-100 {
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════════
   CARDS - GALAXY GLASS
   ═══════════════════════════════════════════════════════════════════════════ */

.lift-card,
.zero-g {
    position: relative;
    z-index: 1;
}

.product-card {
    background: rgba(15, 5, 24, 0.4);
    /* Darker, more glass-like */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(168, 85, 247, 0.1);
    border-radius: 4px;
    /* Minimalist corners */
    overflow: hidden;
    transition: all 0.5s var(--ease-out);
    position: relative;
    will-change: transform;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    z-index: -1;
    background: linear-gradient(135deg, var(--neon-purple), transparent, var(--neon-cyan));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-card:hover::before {
    opacity: 0.5;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(168, 85, 247, 0.2);
    border-color: rgba(168, 85, 247, 0.5);
}

.product-card img {
    transition: transform 0.8s var(--ease-out), filter 0.4s ease;
    filter: saturate(0.8) contrast(1.1);
    will-change: transform;
}

.product-card:hover img {
    transform: scale(1.08);
    filter: saturate(1.1) contrast(1.1);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FORMS - GALAXY INPUT
   ═══════════════════════════════════════════════════════════════════════════ */

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(10, 10, 26, 0.6);
    border: 1px solid rgba(168, 85, 247, 0.2);
    color: var(--stellar);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-out);
}

.form-input:focus {
    outline: none;
    border-color: var(--neon-purple);
    background: rgba(10, 10, 26, 0.8);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

.form-input::placeholder {
    color: var(--silver);
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--silver);
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.15em;
    color: var(--neon-purple);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════════════════════ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(168, 85, 247, 0.6);
    }
}

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

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-glow {
    animation: glow 3s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════════════════════ */

.section-padding {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
}

.text-gradient {
    background: var(--gradient-aurora);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: aurora 5s ease infinite;
}

.text-neon {
    color: var(--neon-purple);
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
}

.border-glow {
    border: 1px solid rgba(168, 85, 247, 0.3);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.1);
}

/* Gallery Border */
.galaxy-border {
    position: relative;
}

.galaxy-border::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-purple), var(--neon-pink), transparent);
}

/* Flash messages */
.flash-message {
    animation: fadeInUp 0.5s ease-out;
    background: rgba(10, 10, 26, 0.9);
    border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Product Image Gallery */
.thumbnail-item {
    position: relative;
    transition: all 0.3s ease;
}

.thumbnail-item.active {
    box-shadow: 0 0 20px rgba(157, 78, 221, 0.5);
}

.thumbnail-item:hover {
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════
   ADVANCED BACKGROUND EFFECTS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Shooting Stars */
.shooting-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.shooting-stars::before,
.shooting-stars::after {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--stellar));
    opacity: 0;
    transform: rotate(45deg);
    animation: shoot 5s ease-in-out infinite;
}

.shooting-stars::after {
    top: -20%;
    right: -20%;
    animation-delay: 2.5s;
    height: 150px;
}

@keyframes shoot {
    0% {
        transform: translate(0, 0) rotate(45deg);
        opacity: 0;
    }

    5% {
        opacity: 1;
    }

    20% {
        transform: translate(-800px, 800px) rotate(45deg);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* Aurora Text Animation */
@keyframes aurora-text {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animate-aurora {
    background-size: 200% auto;
    animation: aurora-text 4s linear infinite;
}

/* Floating Animation */
@keyframes float-y {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float-y 4s ease-in-out infinite;
}

/* Marquee */
.animate-marquee {
    animation: marquee 20s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* 3D Perspective for Saturn */
.perspective-1000 {
    perspective: 1000px;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }

    #navbar.scrolled #nav-container {
        max-width: 100%;
        margin: 0;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    body::before {
        background-size: 200px 150px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN - MOBILE FIRST
   ═══════════════════════════════════════════════════════════════════════════ */

/* Mobile styles (up to 640px) */
@media (max-width: 640px) {
    /* Typography */
    h1, .text-6xl, .text-7xl {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    h2, .text-5xl {
        font-size: 1.75rem !important;
    }
    
    h3, .text-4xl {
        font-size: 1.5rem !important;
    }
    
    .text-3xl {
        font-size: 1.25rem !important;
    }
    
    .text-2xl {
        font-size: 1.125rem !important;
    }
    
    .text-xl {
        font-size: 1rem !important;
    }
    
    /* Spacing */
    .section-padding {
        padding: 2rem 0 !important;
    }
    
    .px-6 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .py-20 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    .py-32 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }
    
    .gap-8 {
        gap: 1.5rem !important;
    }
    
    .gap-12 {
        gap: 2rem !important;
    }
    
    /* Buttons */
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.7rem;
        width: 100%;
        justify-content: center;
    }
    
    .btn-primary {
        padding: 0.75rem 1.5rem;
    }
    
    /* Forms */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    textarea,
    select {
        font-size: 16px !important; /* Prevent zoom on iOS */
    }
    
    /* Cards */
    .card, .admin-card {
        margin-bottom: 1rem;
    }
    
    /* Grid layouts */
    .grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Flex direction */
    .flex-row {
        flex-direction: column;
    }
    
    /* Images */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Navbar mobile */
    #navbar {
        padding: 0.5rem 0;
    }
    
    .nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.7rem;
    }
    
    /* Product cards */
    .product-card {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    /* Modals */
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-content {
        border-radius: 0.5rem;
    }
    
    /* Tables */
    .admin-table {
        font-size: 0.75rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 0.5rem;
    }
    
    /* Table horizontal scroll */
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: block;
        width: 100%;
    }
    
    table {
        min-width: 100%;
        white-space: nowrap;
    }
    
    /* Stack action buttons vertically on mobile */
    .btn-group {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
    }
    
    .btn-group .btn {
        width: 100%;
        margin: 0;
    }
    
    /* Hide elements on mobile */
    .hidden-mobile {
        display: none !important;
    }
    
    /* Overflow handling */
    .overflow-x-auto {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Product grid on mobile */
    .product-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Form improvements */
    .form-row {
        flex-direction: column !important;
    }
    
    .form-group {
        width: 100% !important;
        margin-bottom: 1rem;
    }
    
    /* Image upload preview */
    .image-preview {
        max-width: 100% !important;
    }
    
    /* Stats cards */
    .stat-card {
        min-width: 100% !important;
    }
}

/* Tablet styles (641px to 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
    h1, .text-6xl, .text-7xl {
        font-size: 3rem !important;
    }
    
    h2, .text-5xl {
        font-size: 2.5rem !important;
    }
    
    .section-padding {
        padding: 3rem 0 !important;
    }
    
    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .btn {
        padding: 0.875rem 2rem;
    }
}

/* Desktop styles (1025px and up) */
@media (min-width: 1025px) {
    .container {
        max-width: 1280px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    button, .btn, a {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Disable hover effects on touch devices */
    .btn:hover,
    .nav-link:hover,
    .card:hover {
        transform: none;
    }
}

/* Landscape mobile */
@media (max-width: 896px) and (orientation: landscape) {
    .py-20, .py-32 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .min-h-screen {
        min-height: auto !important;
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    body::before {
        display: none;
    }
    
    .no-print {
        display: none !important;
    }
    
    a {
        text-decoration: underline;
    }
}