/**
 * Midnight O.G - Cyberpunk Premium Cannabis Theme
 * Color Palette: Purple (#8B4FD9), White (#FFFFFF), Black (#000000), Grey (#2A2A2A), Tan (#C9A961)
 */

/* Custom Fonts */
@font-face {
    font-family: 'BelionRadego';
    src: url('../fonts/BelionRadego-zrO73.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pickyside';
    src: url('../fonts/PickysideRegular-vn7w4.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Cyberpunk Colors */
    --purple: #8B4FD9;
    --purple-dark: #6B2FA9;
    --purple-light: #B87FFF;
    --purple-glow: rgba(139, 79, 217, 0.5);
    
    --gold: #FFFFFF;
    --gold-dark: #E0E0E0;
    --gold-light: #FFFFFF;
    --gold-glow: rgba(255, 255, 255, 0.4);
    
    --tan: #C9A961;
    --tan-dark: #A88A3F;
    
    --black: #000000;
    --dark: #0A0A0A;
    --dark-grey: #1A1A1A;
    --grey: #2A2A2A;
    --light-grey: #3A3A3A;
    --text-grey: #CCCCCC;
    --text-light: #E0E0E0;
    
    /* Typography */
    --font-primary: 'Orbitron', sans-serif;
    --font-secondary: 'Rajdhani', sans-serif;
    --font-title: 'BelionRadego', 'Orbitron', sans-serif;
    --font-product: 'Pickyside', 'Rajdhani', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Effects */
    --glow-purple: 0 0 20px var(--purple-glow), 0 0 40px var(--purple-glow);
    --glow-gold: 0 0 20px var(--gold-glow), 0 0 40px var(--gold-glow);
    --glow-combined: 0 0 15px var(--purple-glow), 0 0 30px var(--gold-glow);
    
    /* Mouse position for gradients (updated by JavaScript) */
    --mouse-x: 50%;
    --mouse-y: 50%;
}

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

body {
    font-family: var(--font-secondary);
    background-color: var(--black);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
body::before {
    display: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
}

.cyber-title {
    font-family: var(--font-title);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: var(--glow-purple);
}

.cyber-glow {
    text-shadow: var(--glow-combined);
}

/* Navigation */
.main-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--purple);
    box-shadow: 0 2px 20px rgba(139, 79, 217, 0.3);
    overflow: visible;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    text-decoration: none;
    color: var(--purple);
    font-family: var(--font-title);
    font-weight: normal;
    transition: all 0.3s ease;
    height: 50px;
}

.logo:hover {
    text-shadow: var(--glow-gold);
    transform: scale(1.05);
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    margin: 0;
    padding: 4px;
    background: rgba(235, 225, 245, 0.92);
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-title);
    font-weight: normal;
    color: var(--purple);
    text-shadow: var(--glow-gold);
    font-size: 1.5rem;
    letter-spacing: 2px;
    white-space: nowrap;
    margin: 0;
    padding-top: 0.5em;
    padding-bottom: 0;
    display: inline-block;
    line-height: 0.85;
    vertical-align: middle;
    position: relative;
    margin-bottom: -0.35em;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: radial-gradient(ellipse 200px 2px at var(--mouse-x) 50%, var(--purple) 0%, var(--purple-light) 35%, rgba(255, 255, 255, 0.4) 50%, var(--purple-light) 65%, var(--purple) 100%);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dark-grey);
    border: 1px solid var(--purple);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: visible;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: var(--spacing-sm);
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 1px solid var(--grey);
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: var(--grey);
    color: var(--gold);
    padding-left: var(--spacing-md);
}

.language-menu {
    right: 0;
    left: auto;
    min-width: 150px;
}

.nav-actions {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.nav-icon {
    background: transparent;
    border: 2px solid var(--purple);
    color: var(--text-light);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-icon:hover {
    border-color: var(--gold);
    box-shadow: var(--glow-gold);
    transform: scale(1.1);
}

.cart-icon {
    text-decoration: none;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--gold);
    color: var(--black);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.mobile-menu-btn {
    display: none;
}

/* Buttons */
.btn {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid;
    background: transparent;
    color: var(--text-light);
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse 200px 100% at var(--mouse-x) 50%, transparent 0%, rgba(139, 79, 217, 0.3) 28%, rgba(255, 255, 255, 0.15) 35%, rgba(184, 127, 255, 0.2) 50%, rgba(255, 255, 255, 0.15) 65%, rgba(139, 79, 217, 0.3) 72%, transparent 100%);
    transition: left 0.5s ease;
}

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

.btn-primary {
    border-color: var(--purple);
    color: var(--purple);
}

.btn-primary:hover {
    background: var(--purple);
    color: var(--black);
    box-shadow: var(--glow-purple);
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--black);
    box-shadow: var(--glow-gold);
    transform: translateY(-2px);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1.1rem;
}

.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: var(--glow-purple);
    }
    50% {
        box-shadow: var(--glow-combined);
    }
}

/* Cyberpunk Box */
.cyberpunk-box {
    background: var(--dark-grey);
    border: 2px solid var(--purple);
    position: relative;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
}

.cyberpunk-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: radial-gradient(ellipse 400px 400px at var(--mouse-x) var(--mouse-y), var(--purple) 0%, var(--purple-light) 25%, rgba(255, 255, 255, 0.3) 40%, var(--purple-dark) 55%, var(--purple) 85%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease, background 0.1s ease-out;
}

.cyberpunk-box:hover::before {
    opacity: 0.3;
}

.hover-glow:hover {
    box-shadow: var(--glow-combined);
    transform: translateY(-5px);
}

/* Hero Section */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--spacing-xl) var(--spacing-md);
    overflow: hidden;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 5rem;
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    font-weight: normal;
    color: var(--purple);
    text-shadow: var(--glow-gold);
}

.title-line {
    display: block;
    margin-bottom: 0.2em;
}

.title-line.highlight {
    color: var(--purple);
    text-shadow: var(--glow-gold);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--purple-light);
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 3px;
    display: block;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-grey);
    margin-bottom: var(--spacing-lg);
    margin-top: var(--spacing-md);
    max-width: 500px;
    line-height: 1.6;
    display: block;
}

.hero-visual {
    position: relative;
    height: 500px;
}

.cyber-grid {
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(139, 79, 217, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 79, 217, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--purple);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: radial-gradient(ellipse 2px 30px at 50% var(--mouse-y), var(--purple) 0%, var(--purple-light) 40%, rgba(255, 255, 255, 0.5) 50%, var(--purple-light) 60%, transparent 100%);
}

/* Sections */
.section-title {
    font-family: var(--font-title);
    text-align: center;
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    margin-top: var(--spacing-md);
    color: var(--purple);
    text-shadow: var(--glow-gold);
    font-weight: normal;
    line-height: 1.2;
    padding-top: var(--spacing-md);
}

/* Features */
.features-section {
    padding: var(--spacing-xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.feature-title {
    color: var(--purple);
    text-shadow: var(--glow-gold);
    margin-bottom: var(--spacing-xs);
    font-size: 1.3rem;
}

.feature-text {
    color: var(--text-grey);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.product-card {
    background: var(--dark-grey);
    border: 2px solid var(--purple);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: var(--black);
}

.product-3d-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.product-3d-preview canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--grey) 0%, var(--dark-grey) 100%);
    color: var(--purple-light);
    font-family: var(--font-product);
    font-size: 1rem;
    border: 2px dashed var(--purple);
    opacity: 0.7;
}

.product-badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: var(--gold);
    color: var(--black);
    padding: var(--spacing-xs) var(--spacing-sm);
    font-weight: bold;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.product-info {
    padding: var(--spacing-md);
    flex: 1;
}

.product-name {
    font-family: var(--font-product);
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
    font-size: 1.2rem;
    font-weight: normal;
}

.product-category {
    color: var(--purple-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
}

.product-pricing {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.product-price {
    color: var(--gold);
    font-size: 1.5rem;
    font-weight: bold;
    font-family: var(--font-primary);
}

.product-compare-price {
    color: var(--text-grey);
    text-decoration: line-through;
    font-size: 1rem;
}

.product-specs {
    display: flex;
    gap: var(--spacing-xs);
    flex-wrap: wrap;
}

.spec-badge {
    background: rgba(139, 79, 217, 0.2);
    border: 1px solid var(--purple);
    padding: 0.25rem var(--spacing-xs);
    font-size: 0.8rem;
    color: var(--purple-light);
}

.btn-add-cart {
    width: 100%;
    padding: var(--spacing-sm);
    background: transparent;
    border: 2px solid var(--purple);
    border-top: none;
    color: var(--purple);
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add-cart:hover {
    background: var(--purple);
    color: var(--black);
}

.section-footer {
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.category-card {
    padding: var(--spacing-lg);
    text-decoration: none;
    color: inherit;
    display: block;
    min-height: 200px;
    display: flex;
    align-items: center;
}

.category-content {
    width: 100%;
}

.category-name {
    font-family: var(--font-title);
    color: var(--purple);
    text-shadow: var(--glow-gold);
    font-size: 2rem;
    margin-bottom: var(--spacing-xs);
    font-weight: normal;
}

.category-count {
    color: var(--text-grey);
    margin-bottom: var(--spacing-sm);
}

.category-arrow {
    color: var(--purple);
    font-size: 2rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.category-card:hover .category-arrow {
    transform: translateX(10px);
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.search-overlay.active {
    display: flex;
}

.search-container {
    max-width: 800px;
    width: 90%;
    position: relative;
}

.search-input {
    width: 100%;
    padding: var(--spacing-md);
    background: var(--dark-grey);
    border: 2px solid var(--purple);
    color: var(--text-light);
    font-size: 1.5rem;
    font-family: var(--font-secondary);
    outline: none;
}

.search-input:focus {
    border-color: var(--gold);
    box-shadow: var(--glow-gold);
}

.search-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-results {
    margin-top: var(--spacing-md);
    max-height: 500px;
    overflow-y: auto;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    max-width: 500px;
    width: 90%;
    padding: var(--spacing-lg);
}

.age-verify-content {
    text-align: center;
}

.age-verify-content h2 {
    color: var(--purple);
    text-shadow: var(--glow-gold);
    margin-bottom: var(--spacing-md);
}

.button-group {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    margin: var(--spacing-md) 0;
}

.legal-note {
    font-size: 0.8rem;
    color: var(--text-grey);
    margin-top: var(--spacing-md);
}

/* Footer */
.main-footer {
    background: var(--dark-grey);
    border-top: 2px solid var(--purple);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-title {
    font-family: var(--font-title);
    color: var(--purple);
    text-shadow: var(--glow-gold);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-weight: normal;
}

.footer-subtitle {
    color: var(--purple-light);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    font-size: 1rem;
}

.footer-text {
    color: var(--text-grey);
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--text-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: var(--spacing-xs);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    border: 2px solid var(--purple);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: var(--glow-gold);
}

.footer-bottom {
    border-top: 1px solid var(--grey);
    padding-top: var(--spacing-md);
    text-align: center;
}

.footer-legal {
    margin-bottom: var(--spacing-md);
    font-size: 0.8rem;
    color: var(--text-grey);
    line-height: 1.8;
}

.footer-legal p {
    margin-bottom: var(--spacing-sm);
}

.footer-copyright {
    color: var(--text-grey);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--dark-grey);
        flex-direction: column;
        padding: var(--spacing-md);
        transition: left 0.3s ease;
        border-bottom: 2px solid var(--purple);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Product Detail Page */
.breadcrumb {
    padding: var(--spacing-md) 0;
    color: var(--text-grey);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--purple-light);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--gold);
}

.product-detail-section {
    padding: var(--spacing-lg) 0;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.product-gallery {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.main-product-image {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: var(--black);
    border: 2px solid var(--purple);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
}

.product-main-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-image-placeholder.large {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grey);
    color: var(--text-grey);
    font-size: 1.2rem;
}

.btn-3d-toggle {
    position: absolute;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid var(--gold);
    color: var(--gold);
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-3d-toggle:hover {
    background: var(--gold);
    color: var(--black);
    box-shadow: var(--glow-gold);
}

.product-3d-viewer {
    width: 100%;
    height: 600px;
    border: 2px solid var(--purple);
    margin-bottom: var(--spacing-md);
    background: var(--black);
    position: relative;
    overflow: hidden;
}

@media (max-width: 968px) {
    .product-3d-viewer {
        height: 400px;
        min-height: 300px;
    }
    
    .product-gallery {
        position: relative;
        top: 0;
    }
}

@media (max-width: 640px) {
    .product-3d-viewer {
        height: 300px;
        min-height: 250px;
    }
}

/* Product Tabs */
.product-tabs {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--grey);
}

.tab-btn {
    flex: 1;
    padding: var(--spacing-sm) var(--spacing-md);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-grey);
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.tab-btn:hover {
    color: var(--purple-light);
    background: rgba(139, 79, 217, 0.1);
}

.tab-btn.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

.tab-content-wrapper {
    position: relative;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.main-product-viewer {
    width: 100%;
    min-height: 600px;
    position: relative;
}

/* Lab Results & Specs Tab Styles */
.lab-specs-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.product-images-section {
    margin-bottom: var(--spacing-md);
}

.lab-results-section,
.technical-specs-section {
    padding: var(--spacing-md);
}

.section-title {
    color: var(--gold);
    font-family: var(--font-primary);
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--purple);
    padding-bottom: var(--spacing-sm);
}

.lab-test-link {
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.lab-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.lab-info-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    background: rgba(139, 79, 217, 0.1);
    border: 1px solid var(--purple);
    border-radius: 4px;
}

.lab-label {
    font-size: 0.85rem;
    color: var(--text-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lab-value {
    font-size: 1rem;
    color: var(--gold);
    font-weight: 600;
}

.technical-specs-section .specs-grid {
    margin-bottom: var(--spacing-md);
}

.tech-item {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: rgba(139, 79, 217, 0.05);
    border-left: 3px solid var(--purple);
}

.tech-item strong {
    color: var(--gold);
    display: block;
    margin-bottom: var(--spacing-xs);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.tech-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.tech-item.warning {
    background: rgba(220, 53, 69, 0.1);
    border-left-color: #dc3545;
}

.tech-item.warning strong {
    color: #ff6b7a;
}

.product-thumbnails {
    display: flex;
    gap: var(--spacing-sm);
    overflow-x: auto;
}

.thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid var(--grey);
    cursor: pointer;
    transition: all 0.3s ease;
}

.thumbnail:hover {
    border-color: var(--purple);
    transform: scale(1.1);
}

.product-title {
    font-family: var(--font-product);
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    color: var(--purple);
    text-shadow: var(--glow-gold);
    font-weight: normal;
}

.product-category-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: rgba(139, 79, 217, 0.2);
    border: 1px solid var(--purple);
    color: var(--purple-light);
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.product-pricing-large {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.product-price-large {
    font-size: 3rem;
    font-family: var(--font-primary);
    color: var(--gold);
    font-weight: 900;
}

.product-compare-price-large {
    font-size: 1.5rem;
    color: var(--text-grey);
    text-decoration: line-through;
}

.discount-badge {
    padding: var(--spacing-xs) var(--spacing-sm);
    background: var(--gold);
    color: var(--black);
    font-weight: bold;
    text-transform: uppercase;
}

.product-short-desc {
    font-size: 1.2rem;
    color: var(--text-grey);
    margin-bottom: var(--spacing-md);
}

.product-specifications {
    margin: var(--spacing-md) 0;
}

.specs-title {
    color: var(--purple);
    text-shadow: var(--glow-gold);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm);
    border-bottom: 1px solid var(--grey);
}

.spec-label {
    color: var(--text-grey);
}

.spec-value {
    color: var(--purple-light);
    font-weight: bold;
}

.legal-info-box {
    margin: var(--spacing-md) 0;
}

.legal-title {
    color: var(--purple);
    text-shadow: var(--glow-gold);
    margin-bottom: var(--spacing-sm);
}

.legal-list {
    list-style: none;
}

.legal-list li {
    padding: var(--spacing-xs) 0;
    color: var(--text-light);
}

.legal-list a {
    color: var(--purple-light);
    text-decoration: none;
}

.legal-list a:hover {
    color: var(--gold);
}

.product-actions {
    display: flex;
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
    align-items: center;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--purple);
}

.qty-btn {
    background: transparent;
    border: none;
    color: var(--purple);
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.5rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: var(--purple);
    color: var(--black);
}

#productQuantity {
    width: 60px;
    height: 40px;
    text-align: center;
    background: transparent;
    border: none;
    border-left: 1px solid var(--purple);
    border-right: 1px solid var(--purple);
    color: var(--text-light);
    font-size: 1.2rem;
    font-family: var(--font-secondary);
}

.stock-info {
    margin-bottom: var(--spacing-md);
    color: var(--purple-light);
    font-weight: 600;
}

.stock-info.out-of-stock {
    color: #ff4444;
}

.product-description,
.technical-details {
    margin: var(--spacing-md) 0;
}

.desc-title,
.tech-title {
    color: var(--purple);
    text-shadow: var(--glow-gold);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}

.desc-content {
    color: var(--text-grey);
    line-height: 1.8;
}

.tech-item {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--grey);
}

.tech-item.warning {
    border-left: 4px solid #ff4444;
    padding-left: var(--spacing-sm);
}

.related-products {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--purple);
}

/* Shop Page */
.shop-header {
    padding: var(--spacing-xl) 0;
    text-align: center;
    background: radial-gradient(ellipse 800px 400px at var(--mouse-x) var(--mouse-y), rgba(139, 79, 217, 0.2) 0%, rgba(184, 127, 255, 0.12) 35%, rgba(255, 255, 255, 0.08) 45%, rgba(184, 127, 255, 0.1) 55%, transparent 70%);
}

.page-title {
    font-family: var(--font-title);
    font-size: 4rem;
    margin-bottom: var(--spacing-sm);
    color: var(--purple);
    text-shadow: var(--glow-gold);
    font-weight: normal;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-grey);
}

.shop-section {
    padding: var(--spacing-lg) 0;
}

.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: var(--spacing-lg);
}

.shop-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-section {
    margin-bottom: var(--spacing-md);
}

.filter-title {
    color: var(--purple);
    text-shadow: var(--glow-gold);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    font-size: 1rem;
}

.filter-list {
    list-style: none;
}

.filter-link {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm);
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 1px solid var(--grey);
    transition: all 0.3s ease;
}

.filter-link:hover,
.filter-link.active {
    color: var(--gold);
    padding-left: var(--spacing-md);
}

.filter-count {
    color: var(--text-grey);
    font-size: 0.9rem;
}

/* Cart Page */
.cart-section {
    padding: var(--spacing-lg) 0;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--spacing-lg);
}

.cart-table th,
.cart-table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--grey);
}

.cart-table th {
    color: var(--purple);
    text-shadow: var(--glow-gold);
    text-transform: uppercase;
    font-size: 0.9rem;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 2px solid var(--purple);
}

.cart-item-name {
    font-family: var(--font-product);
    color: var(--text-light);
    font-weight: normal;
}

.cart-item-price {
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: bold;
}

.cart-summary {
    background: var(--dark-grey);
    border: 2px solid var(--purple);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--grey);
}

.summary-row.total {
    border-bottom: none;
    border-top: 2px solid var(--purple);
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-md);
}

.summary-label {
    color: var(--text-grey);
}

.summary-value {
    color: var(--text-light);
    font-weight: bold;
}

.summary-row.total .summary-label,
.summary-row.total .summary-value {
    color: var(--gold);
    font-size: 1.3rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.pagination-link {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 2px solid var(--purple);
    color: var(--purple);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-link:hover,
.pagination-link.active {
    background: var(--purple);
    color: var(--black);
}

/* Notifications */
.notification {
    position: fixed;
    top: 100px;
    right: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--dark-grey);
    border: 2px solid var(--purple);
    color: var(--text-light);
    z-index: 4000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    max-width: 400px;
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification-success {
    border-color: var(--gold);
}

.notification-error {
    border-color: #ff4444;
}

/* Search Results */
.search-result-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--grey);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: var(--grey);
    padding-left: var(--spacing-lg);
}

.search-result-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid var(--purple);
}

.search-result-info h4 {
    font-family: var(--font-product);
    color: var(--text-light);
    margin-bottom: var(--spacing-xs);
    font-weight: normal;
}

.search-result-price {
    color: var(--gold);
    font-weight: bold;
}

.no-products {
    text-align: center;
    padding: var(--spacing-xl);
    color: var(--text-grey);
}

@media (max-width: 968px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .shop-layout {
        grid-template-columns: 1fr;
    }
    
    .shop-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .product-title {
        font-size: 2rem;
    }
    
    .product-price-large {
        font-size: 2rem;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .cart-table {
        font-size: 0.9rem;
    }
    
    .cart-item-image {
        width: 60px;
        height: 60px;
    }
}

/* Cannabis Leaf Cursor Tracker */
@media (hover: hover) and (pointer: fine) {
    .cannabis-cursor {
        position: fixed;
        width: 45px;
        height: 45px;
        pointer-events: none;
        z-index: 9999;
        opacity: 0;
        transform: translate(-50%, -50%);
        transition: opacity 0.3s ease, transform 0.05s ease-out;
        mix-blend-mode: screen;
        display: block;
    }

    .cannabis-cursor.active {
        opacity: 1;
    }

    .cannabis-cursor svg {
        width: 100%;
        height: 100%;
        animation: leafPulse 2s ease-in-out infinite;
        filter: none;
    }

    .cannabis-cursor svg .leaf-border {
        filter: none;
    }

    .cannabis-cursor.hover {
        transform: translate(-50%, -50%) scale(1.5);
    }

    .cannabis-cursor.hover svg .leaf-fill {
        fill: #B87FFF;
        opacity: 1;
    }

    .cannabis-cursor.hover svg .leaf-border {
        stroke-width: 15;
    }

    @keyframes leafPulse {
        0%, 100% {
            transform: scale(1) rotate(0deg);
            opacity: 0.8;
        }
        50% {
            transform: scale(1.1) rotate(5deg);
            opacity: 1;
        }
    }

    /* Hide default cursor on interactive elements when custom cursor is active */
    body {
        cursor: none;
    }

    a, button, .product-card, .btn, input, textarea, select, .nav-link, .dropdown-item {
        cursor: none;
    }
}

/* Hide custom cursor on touch devices */
@media (hover: none) or (pointer: coarse) {
    .cannabis-cursor {
        display: none !important;
    }
}

/* Points Widget - Floating Corner Widget */
.points-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: var(--font-secondary);
}

.points-widget-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    border: 2px solid var(--gold);
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(139, 79, 217, 0.4), 0 0 20px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    padding: 0;
}

.points-widget-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(139, 79, 217, 0.6), 0 0 30px rgba(255, 255, 255, 0.5);
}

.points-widget-toggle svg {
    width: 28px;
    height: 28px;
}

.points-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--gold);
    color: var(--black);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid var(--black);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.points-widget-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    max-width: calc(100vw - 40px);
    background: var(--dark);
    border: 2px solid var(--purple);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.8), 0 0 20px var(--purple-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.points-widget-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.points-widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--grey);
    background: linear-gradient(135deg, var(--purple-dark), var(--purple));
}

.points-widget-header h3 {
    margin: 0;
    color: var(--gold);
    font-family: var(--font-primary);
    font-size: 1.1rem;
    text-transform: uppercase;
}

.points-widget-close {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.points-widget-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.points-widget-content {
    padding: var(--spacing-md);
}

.points-display {
    text-align: center;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--grey);
    margin-bottom: var(--spacing-md);
}

.points-value {
    margin-bottom: var(--spacing-xs);
}

.points-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    font-family: var(--font-primary);
    line-height: 1;
}

.points-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--spacing-xs);
}

.lifetime-points {
    font-size: 0.85rem;
    color: var(--text-grey);
    margin-top: var(--spacing-sm);
}

.tier-display {
    margin-bottom: var(--spacing-md);
}

.tier-badge {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 6px;
    margin-bottom: var(--spacing-sm);
    border: 2px solid;
}

.tier-badge.tier-bronze {
    background: rgba(184, 115, 51, 0.2);
    border-color: #B87333;
    color: #D4A574;
}

.tier-badge.tier-silver {
    background: rgba(192, 192, 192, 0.2);
    border-color: #C0C0C0;
    color: #E0E0E0;
}

.tier-badge.tier-gold {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--gold);
    color: var(--gold-light);
}

.tier-badge.tier-platinum {
    background: rgba(229, 228, 226, 0.2);
    border-color: #E5E4E2;
    color: #F5F5F5;
}

.tier-icon {
    font-size: 1.5rem;
}

.tier-name {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.next-tier-info {
    margin-top: var(--spacing-sm);
}

.next-tier-text {
    font-size: 0.85rem;
    color: var(--text-grey);
    margin-bottom: var(--spacing-xs);
}

.next-tier-text strong {
    color: var(--gold);
}

.tier-progress {
    margin-top: var(--spacing-xs);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--grey);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--light-grey);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--purple), var(--gold));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--purple-glow);
}

.benefits-list {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--grey);
}

.benefits-list h4 {
    color: var(--gold);
    font-size: 0.95rem;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-primary);
}

.benefits-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-xs) 0;
    color: var(--text-grey);
    font-size: 0.9rem;
}

.benefit-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.points-widget-footer {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--grey);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.btn-small {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    font-size: 0.9rem;
    text-align: center;
    display: block;
}

.points-badge-new {
    background: var(--purple);
    color: var(--gold);
    font-weight: 900;
    font-size: 1rem;
}

/* Points Intro (for non-logged-in users) */
.points-intro {
    text-align: center;
}

.points-intro-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.points-intro h4 {
    color: var(--gold);
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
}

.points-intro-text {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.points-how-it-works {
    text-align: left;
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    background: rgba(139, 79, 217, 0.1);
    border: 1px solid var(--purple);
    border-radius: 8px;
}

.points-how-it-works h5 {
    color: var(--purple-light);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    font-size: 1rem;
}

.points-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.points-steps li {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    color: var(--text-light);
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--gold);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.tier-preview {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--gold);
    border-radius: 8px;
}

.tier-preview h5 {
    color: var(--gold);
    margin-bottom: var(--spacing-md);
    text-transform: uppercase;
    font-size: 1rem;
}

.tier-list-mini {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.tier-mini {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-light);
    font-size: 0.9rem;
}

.tier-icon-mini {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

/* Earn Points Info Styles */
.earn-points-info {
    margin: var(--spacing-md) 0;
    padding: var(--spacing-md);
    background: rgba(139, 79, 217, 0.1);
    border: 1px solid var(--purple);
    border-radius: 8px;
}

.earn-points-info h4 {
    color: var(--gold);
    font-size: 0.95rem;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-primary);
}

.earn-points-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.earn-points-base,
.earn-points-multiplier {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
}

.earn-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.earn-text {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.earn-text strong {
    color: var(--gold);
}

.earn-example {
    display: block;
    color: var(--text-grey);
    font-size: 0.85rem;
    margin-top: var(--spacing-xs);
    font-style: italic;
}

.earn-points-note {
    margin-top: var(--spacing-xs);
    padding-top: var(--spacing-xs);
    border-top: 1px solid var(--grey);
}

.earn-points-note small {
    color: var(--text-grey);
    font-size: 0.8rem;
}

.earn-points-explanation {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.earn-points-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: rgba(139, 79, 217, 0.05);
    border-radius: 6px;
}

.earn-points-item strong {
    color: var(--gold);
    display: block;
    margin-bottom: var(--spacing-xs);
}

.earn-points-item small {
    color: var(--text-grey);
    font-size: 0.85rem;
}

.multiplier-list {
    list-style: none;
    padding: 0;
    margin: var(--spacing-xs) 0 0 0;
}

.multiplier-list li {
    padding: var(--spacing-xs) 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

.earn-points-note-box {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--gold);
    border-radius: 6px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.earn-points-note-box strong {
    color: var(--gold);
}

/* Account Dashboard Earn Points Section */
.earn-points-section {
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 2px solid var(--grey);
}

.earn-points-title {
    color: var(--gold);
    font-family: var(--font-primary);
    font-size: 1.3rem;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

.earn-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.earn-points-card {
    background: var(--dark-grey);
    border: 2px solid var(--grey);
    border-radius: 8px;
    padding: var(--spacing-md);
    transition: all 0.3s ease;
}

.earn-points-card:hover {
    border-color: var(--purple);
    box-shadow: 0 4px 20px rgba(139, 79, 217, 0.3);
}

.earn-card-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid var(--grey);
}

.earn-card-icon {
    font-size: 2rem;
}

.earn-card-header h4 {
    color: var(--purple-light);
    margin: 0;
    font-size: 1.1rem;
}

.earn-card-content {
    color: var(--text-light);
}

.earn-rate-large {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-primary);
}

.earn-examples {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-grey);
}

.earn-examples strong {
    color: var(--text-light);
}

.tier-multiplier-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tier-multiplier-list li {
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-xs);
    background: rgba(139, 79, 217, 0.05);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 0.9rem;
}

.tier-multiplier-list li.current-tier {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
}

.earn-points-important {
    margin-top: var(--spacing-lg);
}

.important-note {
    background: rgba(139, 79, 217, 0.1);
    border: 2px solid var(--purple);
    border-radius: 8px;
    padding: var(--spacing-md);
}

.important-note strong {
    color: var(--gold);
    display: block;
    margin-bottom: var(--spacing-sm);
    font-size: 1rem;
}

.important-note ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.important-note li {
    padding: var(--spacing-xs) 0;
    padding-left: var(--spacing-md);
    position: relative;
    color: var(--text-light);
    line-height: 1.6;
}

.important-note li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--purple);
    font-weight: bold;
}

.important-note li strong {
    color: var(--gold);
    display: inline;
    margin: 0;
    font-size: inherit;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .points-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .points-widget-toggle {
        width: 55px;
        height: 55px;
    }
    
    .points-widget-panel {
        width: calc(100vw - 30px);
        max-width: 320px;
        bottom: 75px;
    }
}

/* Scrollbar styling for widget panel */
.points-widget-panel::-webkit-scrollbar {
    width: 6px;
}

.points-widget-panel::-webkit-scrollbar-track {
    background: var(--dark-grey);
}

.points-widget-panel::-webkit-scrollbar-thumb {
    background: var(--purple);
    border-radius: 3px;
}

.points-widget-panel::-webkit-scrollbar-thumb:hover {
    background: var(--purple-light);
}
