/*
Theme Name: All American Authenticators
Theme URI: https://allamericanauthenticators.com
Author: AAA Development Team
Author URI: https://allamericanauthenticators.com
Description: Custom retro arcade 8-bit themed WordPress theme for All American Authenticators trading card grading platform.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aaa-theme
Tags: retro, arcade, ecommerce, woocommerce, dark
*/

/* ==========================================================================
   CSS CUSTOM PROPERTIES
   ========================================================================== */

:root {
    /* Brand Colors */
    --neon-pink:    #FF006E;
    --neon-cyan:    #00D9FF;
    --neon-lime:    #39FF14;
    --neon-yellow:  #FFFF00;

    /* Background Colors */
    --bg-primary:   #0A0E27;
    --bg-secondary: #16213e;
    --bg-tertiary:  #1a1a2e;

    /* Text Colors */
    --text-white:   #FFFFFF;
    --text-light:   #E0E0E0;
    --text-muted:   #A0A0A0;

    /* Glows */
    --glow-pink:    0 0 15px rgba(255, 0, 110, 0.4);
    --glow-cyan:    0 0 15px rgba(0, 217, 255, 0.4);
    --glow-lime:    0 0 15px rgba(57, 255, 20, 0.4);

    /* Spacing */
    --space-xs:  4px;
    --space-sm:  8px;
    --space-md:  16px;
    --space-lg:  24px;
    --space-xl:  32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* Typography */
    --font-arcade: 'Press Start 2P', monospace;
    --font-ui:     'Orbitron', monospace;
    --font-body:   'VT323', monospace;
    --font-mono:   'Share Tech Mono', monospace;

    /* Transitions */
    --transition: 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition-fast: 0.2s ease;

    /* Container */
    --container-max: 1200px;

    /* Pixel Drop Shadows */
    --px-shadow-pink: 4px 4px 0 rgba(100, 0, 30, 0.85);
    --px-shadow-cyan: 4px 4px 0 rgba(0, 60, 80, 0.85);
    --px-shadow-lime: 4px 4px 0 rgba(0, 60, 0, 0.85);
}

/* ==========================================================================
   GOOGLE FONTS IMPORT
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Orbitron:wght@400;600;700;900&family=VT323&family=Share+Tech+Mono&display=swap');

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 19px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Full-page CRT scanline overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.065) 0px,
        rgba(0, 0, 0, 0.065) 1px,
        transparent 1px,
        transparent 4px
    );
    pointer-events: none;
    z-index: 9998;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--neon-cyan);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--neon-pink);
}

ul, ol {
    list-style: none;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-ui);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 24px rgba(0, 217, 255, 0.18);
}

h1 { font-size: clamp(28px, 5vw, 48px); }
h2 { font-size: clamp(22px, 4vw, 36px); }
h3 { font-size: clamp(18px, 3vw, 28px); }
h4 { font-size: clamp(16px, 2.5vw, 24px); }
h5 { font-size: clamp(14px, 2vw, 20px); }
h6 { font-size: 16px; }

p {
    margin-bottom: var(--space-md);
    color: var(--text-light);
}

p:last-child {
    margin-bottom: 0;
}

.font-arcade {
    font-family: var(--font-arcade);
    line-height: 1.8;
}

.font-mono {
    font-family: var(--font-mono);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
}

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

.site-main {
    flex: 1;
}

.section {
    padding: var(--space-3xl) 0;
}

.section-sm {
    padding: var(--space-2xl) 0;
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-lg); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-4,
    .grid-3,
    .grid-2 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SITE HEADER
   ========================================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    border-bottom: 2px solid var(--neon-pink);
    box-shadow: 0 2px 20px rgba(255, 0, 110, 0.3);
    backdrop-filter: blur(10px);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-xl);
    max-width: var(--container-max);
    margin: 0 auto;
    gap: var(--space-lg);
}

.site-logo {
    font-family: var(--font-arcade);
    font-size: 14px;
    color: var(--neon-pink);
    text-shadow: 0 0 10px rgba(255, 0, 110, 0.6), 0 0 20px rgba(255, 0, 110, 0.3);
    text-decoration: none;
    letter-spacing: 1px;
    line-height: 1.4;
    flex-shrink: 0;
    animation: neon-flicker 7s infinite;
}

.site-logo:hover {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

.site-logo span {
    display: block;
    font-size: 8px;
    color: var(--neon-cyan);
    letter-spacing: 3px;
}

/* Primary Navigation */
.primary-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.primary-nav a {
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: var(--space-xs) 0;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a {
    color: var(--neon-cyan);
    border-bottom-color: var(--neon-cyan);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--neon-pink);
    color: var(--neon-pink);
    padding: var(--space-xs) var(--space-sm);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    transition: all var(--transition-fast);
}

.menu-toggle:hover {
    background: var(--neon-pink);
    color: var(--bg-primary);
}

@media (max-width: 1024px) {
    .primary-nav ul { gap: var(--space-lg); }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; align-items: center; }

    .primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-secondary);
        border-bottom: 2px solid var(--neon-pink);
        padding: var(--space-md) var(--space-xl);
    }

    .primary-nav.is-open { display: block; }

    .primary-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.site-footer {
    background: var(--bg-secondary);
    border-top: 2px solid var(--neon-pink);
    padding: var(--space-3xl) 0 var(--space-xl);
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .site-logo {
    display: inline-block;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-col h4 {
    font-family: var(--font-ui);
    font-size: 12px;
    color: var(--neon-cyan);
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.footer-col ul li {
    margin-bottom: var(--space-sm);
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--neon-pink);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
    .footer-bottom { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-ui);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 14px 28px;
    border: 3px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--neon-pink);
    color: var(--text-white);
    border-color: var(--neon-pink);
    box-shadow: var(--glow-pink), var(--px-shadow-pink);
    text-shadow: 0 0 10px rgba(255, 0, 110, 0.5);
}

.btn-primary:hover {
    background: transparent;
    color: var(--neon-pink);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.6), 2px 2px 0 rgba(100, 0, 30, 0.7);
    transform: translate(-2px, -4px);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.2), var(--px-shadow-cyan);
}

.btn-secondary:hover {
    background: var(--neon-cyan);
    color: var(--bg-primary);
    box-shadow: var(--glow-cyan), 2px 2px 0 rgba(0, 60, 80, 0.7);
    transform: translate(-2px, -4px);
}

.btn-lime {
    background: var(--neon-lime);
    color: var(--bg-primary);
    border-color: var(--neon-lime);
    box-shadow: var(--glow-lime), var(--px-shadow-lime);
}

.btn-lime:hover {
    background: transparent;
    color: var(--neon-lime);
    box-shadow: 0 0 30px rgba(57, 255, 20, 0.6), 2px 2px 0 rgba(0, 60, 0, 0.7);
    transform: translate(-2px, -4px);
}

.btn-sm {
    font-size: 11px;
    padding: 8px 16px;
    border-width: 2px;
}

.btn-lg {
    font-size: 16px;
    padding: 18px 36px;
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.graded-card-item {
    background: var(--bg-secondary);
    border: 3px solid var(--neon-cyan);
    overflow: hidden;
    transition: all var(--transition);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.1), 5px 5px 0 rgba(0, 60, 80, 0.7);
    display: flex;
    flex-direction: column;
}

.graded-card-item:hover {
    border-color: var(--neon-pink);
    box-shadow: var(--glow-pink), 5px 5px 0 rgba(100, 0, 30, 0.7);
    transform: translate(-3px, -7px);
    filter: drop-shadow(-2px 0 0 rgba(0, 217, 255, 0.25)) drop-shadow(2px 0 0 rgba(255, 0, 110, 0.25));
}

.card-image-wrap {
    width: 100%;
    aspect-ratio: 5/7;
    background: var(--bg-primary);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.graded-card-item:hover .card-image-wrap img {
    transform: scale(1.05);
}

.card-body {
    padding: var(--space-md);
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.card-title {
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-meta {
    font-size: 12px;
    color: var(--text-muted);
}

.card-grade-badge {
    font-family: var(--font-mono);
    font-size: 22px;
    font-weight: 700;
    color: var(--neon-yellow);
    text-align: center;
    padding: var(--space-sm);
    background: rgba(255, 255, 0, 0.05);
    border: 2px solid var(--neon-yellow);
    margin: var(--space-xs) 0;
}

.card-grade-badge span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
}

.card-cert {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
}

.card-price {
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 700;
    color: var(--neon-lime);
    margin-top: auto;
}

/* ==========================================================================
   BADGES
   ========================================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
}

.badge-sport {
    background: rgba(0, 217, 255, 0.1);
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
}

.badge-grade-10 { background: var(--neon-lime); color: var(--bg-primary); }
.badge-grade-9  { background: #7fff00; color: var(--bg-primary); }
.badge-grade-8  { background: var(--neon-yellow); color: var(--bg-primary); }
.badge-grade-7  { background: #FFD700; color: var(--bg-primary); }
.badge-grade-6  { background: #FFA500; color: var(--bg-primary); }
.badge-grade-5  { background: #FF7F50; color: var(--bg-primary); }
.badge-grade-4  { background: #FF6347; color: var(--text-white); }
.badge-grade-3  { background: #FF4500; color: var(--text-white); }
.badge-grade-2  { background: #FF0000; color: var(--text-white); }
.badge-grade-1  { background: #8B0000; color: var(--text-white); }

/* Order Status Badges */
.badge-awaiting { background: rgba(255,255,0,.1);  color: var(--neon-yellow); border: 1px solid var(--neon-yellow); }
.badge-arrived  { background: rgba(255,215,0,.1);  color: #FFD700;            border: 1px solid #FFD700; }
.badge-ready    { background: rgba(0,217,255,.1);  color: var(--neon-cyan);   border: 1px solid var(--neon-cyan); }
.badge-shipped  { background: rgba(57,255,20,.1);  color: var(--neon-lime);   border: 1px solid var(--neon-lime); }

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-xs);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
textarea,
select {
    width: 100%;
    background: var(--bg-tertiary);
    color: var(--text-white);
    border: 2px solid var(--bg-secondary);
    border-radius: 0;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    transition: all var(--transition-fast);
    appearance: none;
    -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus,
select:focus {
    border-color: var(--neon-cyan);
    outline: none;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.25);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300D9FF' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

:focus-visible {
    outline: 3px solid var(--neon-pink);
    outline-offset: 2px;
}

/* ==========================================================================
   SECTION HEADERS
   ========================================================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-label {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--neon-pink);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-ui);
    font-size: clamp(24px, 4vw, 36px);
    color: var(--text-white);
    margin-bottom: var(--space-md);
}

.section-title span {
    color: var(--neon-cyan);
}

.section-desc {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--neon-pink), transparent);
    margin: var(--space-lg) 0;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 80% 50%, rgba(0, 217, 255, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 50%, rgba(255, 0, 110, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 130% 130% at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
}

.hero-grid-bg {
    position: absolute;
    inset: -20%;
    background-image:
        linear-gradient(rgba(0, 217, 255, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 217, 255, 0.09) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    transform: perspective(400px) rotateX(8deg) scale(1.15);
    transform-origin: bottom center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--neon-lime);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-family: var(--font-arcade);
    font-size: clamp(20px, 4vw, 36px);
    color: var(--text-white);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    animation: glitch-hero 9s ease infinite;
}

.hero-title .highlight {
    color: var(--neon-pink);
    text-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
}

.hero-title .highlight-cyan {
    color: var(--neon-cyan);
    text-shadow: var(--glow-cyan);
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: var(--space-2xl);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-mono);
    font-size: 32px;
    font-weight: 700;
    color: var(--neon-yellow);
    display: block;
}

.hero-stat-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================================================
   HOW IT WORKS / FEATURE ICONS
   ========================================================================== */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    position: relative;
}

.step-item {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-secondary);
    border: 2px solid var(--bg-tertiary);
    position: relative;
    transition: all var(--transition);
}

.step-item:hover {
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-arcade);
    font-size: 10px;
    color: var(--neon-pink);
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
}

.step-icon {
    font-size: 48px;
    margin-bottom: var(--space-md);
    display: block;
}

.step-title {
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--neon-cyan);
    margin-bottom: var(--space-sm);
}

.step-desc {
    font-size: 14px;
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .steps-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SERVICE PACKAGES
   ========================================================================== */

.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.package-card {
    background: var(--bg-secondary);
    border: 3px solid var(--bg-tertiary);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition);
    position: relative;
}

.package-card.featured {
    border-color: var(--neon-pink);
    box-shadow: var(--glow-pink);
}

.package-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-5px);
}

.package-label {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--neon-pink);
    color: var(--text-white);
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 700;
    padding: 4px 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.package-cards-count {
    font-family: var(--font-arcade);
    font-size: 32px;
    color: var(--neon-yellow);
    display: block;
    margin-bottom: var(--space-xs);
}

.package-cards-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-lg);
}

.package-price {
    font-family: var(--font-mono);
    font-size: 36px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--space-lg);
}

.package-price span {
    font-size: 16px;
    color: var(--text-muted);
}

.package-features {
    text-align: left;
    margin-bottom: var(--space-xl);
}

.package-features li {
    font-size: 13px;
    color: var(--text-muted);
    padding: var(--space-xs) 0;
    padding-left: var(--space-md);
    position: relative;
}

.package-features li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--neon-lime);
    font-size: 10px;
}

@media (max-width: 1024px) {
    .packages-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .packages-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonial-card {
    background: var(--bg-secondary);
    border: 2px solid var(--bg-tertiary);
    padding: var(--space-xl);
    transition: all var(--transition);
}

.testimonial-card:hover {
    border-color: var(--neon-cyan);
}

.testimonial-stars {
    color: var(--neon-yellow);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
}

.testimonial-quote {
    font-size: 15px;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--neon-pink);
    object-fit: cover;
    overflow: hidden;
    background: var(--bg-tertiary);
    flex-shrink: 0;
}

.testimonial-avatar-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--neon-pink);
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.testimonial-name {
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--text-white);
}

.testimonial-location {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================================================
   GRADED CARD DETAIL PAGE
   ========================================================================== */

.card-detail-layout {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--space-3xl);
    align-items: start;
}

.card-gallery-main {
    aspect-ratio: 5/7;
    background: var(--bg-secondary);
    border: 3px solid var(--neon-cyan);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-gallery-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-gallery-thumbs {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.card-gallery-thumb {
    width: 80px;
    height: 112px;
    border: 2px solid var(--bg-tertiary);
    overflow: hidden;
    cursor: pointer;
    transition: border-color var(--transition-fast);
    object-fit: cover;
}

.card-gallery-thumb:hover,
.card-gallery-thumb.active {
    border-color: var(--neon-pink);
}

.grading-box {
    background: var(--bg-secondary);
    border: 3px solid var(--neon-yellow);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.grading-box-header {
    font-family: var(--font-ui);
    font-size: 11px;
    color: var(--neon-yellow);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
}

.overall-grade-display {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 0, 0.04);
    margin-bottom: var(--space-lg);
}

.overall-grade-number {
    font-family: var(--font-mono);
    font-size: 72px;
    font-weight: 700;
    color: var(--neon-yellow);
    line-height: 1;
}

.overall-grade-label {
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

.subgrades {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.subgrade-item {
    background: var(--bg-tertiary);
    padding: var(--space-sm) var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.subgrade-label {
    font-size: 12px;
    color: var(--text-muted);
}

.subgrade-value {
    font-family: var(--font-mono);
    font-size: 16px;
    font-weight: 700;
    color: var(--neon-cyan);
}

.cert-box {
    background: var(--bg-tertiary);
    border: 2px solid var(--bg-secondary);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.cert-number-display {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 700;
    color: var(--neon-pink);
    letter-spacing: 3px;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.cert-number-display:hover {
    color: var(--neon-cyan);
}

.pop-report {
    background: var(--bg-secondary);
    border: 2px solid var(--bg-tertiary);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.pop-report-header {
    font-family: var(--font-ui);
    font-size: 11px;
    color: var(--neon-lime);
    letter-spacing: 3px;
    margin-bottom: var(--space-lg);
}

.pop-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--bg-tertiary);
}

.pop-row:last-child {
    border-bottom: none;
}

.pop-grade {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 700;
    color: var(--neon-yellow);
    width: 30px;
}

.pop-bar-wrap {
    flex: 1;
    height: 8px;
    background: var(--bg-tertiary);
    position: relative;
}

.pop-bar {
    height: 100%;
    background: var(--neon-cyan);
    transition: width 0.6s ease;
}

.pop-count {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-muted);
    width: 60px;
    text-align: right;
}

@media (max-width: 1024px) {
    .card-detail-layout { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SEARCH & FILTERS
   ========================================================================== */

.search-bar {
    display: flex;
    gap: 0;
    margin-bottom: var(--space-xl);
}

.search-bar input {
    flex: 1;
    border-right: none;
    font-size: 16px;
}

.search-bar .btn {
    flex-shrink: 0;
    border-left: none;
}

.filters-panel {
    background: var(--bg-secondary);
    border: 2px solid var(--bg-tertiary);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
    align-items: end;
}

/* ==========================================================================
   ORDER STATUS TIMELINE
   ========================================================================== */

.order-timeline {
    display: flex;
    align-items: flex-start;
    position: relative;
    gap: 0;
    overflow-x: auto;
}

.order-timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 24px;
    right: 24px;
    height: 2px;
    background: var(--bg-tertiary);
    z-index: 0;
}

.timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0 var(--space-sm);
    min-width: 120px;
}

.timeline-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid var(--bg-tertiary);
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-sm);
    font-size: 16px;
    transition: all var(--transition-fast);
}

.timeline-step.active .timeline-dot {
    border-color: var(--neon-pink);
    box-shadow: var(--glow-pink);
    background: var(--neon-pink);
}

.timeline-step.completed .timeline-dot {
    border-color: var(--neon-lime);
    background: var(--neon-lime);
    color: var(--bg-primary);
}

.timeline-label {
    font-family: var(--font-ui);
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-step.active .timeline-label,
.timeline-step.completed .timeline-label {
    color: var(--text-white);
}

/* ==========================================================================
   DASHBOARD
   ========================================================================== */

.dashboard-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.dashboard-sidebar {
    background: var(--bg-secondary);
    border: 2px solid var(--bg-tertiary);
    padding: var(--space-lg);
    position: sticky;
    top: 100px;
}

.dashboard-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.dashboard-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-ui);
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
}

.dashboard-nav a:hover,
.dashboard-nav a.active {
    color: var(--neon-cyan);
    border-left-color: var(--neon-cyan);
    background: rgba(0, 217, 255, 0.05);
}

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

.dashboard-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.stat-box {
    background: var(--bg-secondary);
    border: 2px solid var(--bg-tertiary);
    padding: var(--space-lg);
    text-align: center;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 36px;
    font-weight: 700;
    color: var(--neon-yellow);
    display: block;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th {
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 600;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 2px solid var(--neon-cyan);
    background: var(--bg-tertiary);
}

.orders-table td {
    padding: var(--space-md);
    border-bottom: 1px solid var(--bg-tertiary);
    font-size: 14px;
    color: var(--text-light);
    vertical-align: middle;
}

.orders-table tr:hover td {
    background: rgba(0, 217, 255, 0.03);
}

@media (max-width: 1024px) {
    .dashboard-layout { grid-template-columns: 1fr; }
    .dashboard-sidebar { position: static; }
}

@media (max-width: 768px) {
    .dashboard-stat-grid { grid-template-columns: 1fr; }
    .orders-table { font-size: 12px; }
    .orders-table th, .orders-table td { padding: var(--space-sm); }
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq-item {
    background: var(--bg-secondary);
    border: 2px solid var(--bg-tertiary);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item.open {
    border-color: var(--neon-cyan);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    cursor: pointer;
    text-align: left;
}

.faq-q-text {
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--text-white);
    text-transform: none;
}

.faq-icon {
    color: var(--neon-cyan);
    font-size: 20px;
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 var(--space-lg) var(--space-lg);
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ==========================================================================
   RETRO DECORATIVE ELEMENTS
   ========================================================================== */

.neon-box {
    border: 3px solid var(--neon-pink);
    box-shadow: var(--glow-pink), inset 0 0 20px rgba(255, 0, 110, 0.05);
}

.neon-box-cyan {
    border: 3px solid var(--neon-cyan);
    box-shadow: var(--glow-cyan), inset 0 0 20px rgba(0, 217, 255, 0.05);
}

.pixel-corner {
    position: relative;
}

.pixel-corner::before,
.pixel-corner::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
}

.pixel-corner::before {
    top: -3px;
    left: -3px;
    border-top: 3px solid var(--neon-pink);
    border-left: 3px solid var(--neon-pink);
}

.pixel-corner::after {
    bottom: -3px;
    right: -3px;
    border-bottom: 3px solid var(--neon-cyan);
    border-right: 3px solid var(--neon-cyan);
}

.scanlines {
    background-image: repeating-linear-gradient(
        0deg,
        rgba(255, 0, 110, 0.02),
        rgba(255, 0, 110, 0.02) 1px,
        transparent 1px,
        transparent 2px
    );
}

/* ==========================================================================
   CAROUSEL
   ========================================================================== */

.carousel-wrap {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 100%;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.carousel-btn {
    width: 48px;
    height: 48px;
    background: var(--bg-secondary);
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.carousel-btn:hover {
    background: var(--neon-cyan);
    color: var(--bg-primary);
}

.carousel-dots {
    display: flex;
    gap: var(--space-sm);
}

.carousel-dot {
    width: 8px;
    height: 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-dot.active {
    background: var(--neon-pink);
    border-color: var(--neon-pink);
    box-shadow: 0 0 8px var(--neon-pink);
}

/* ==========================================================================
   WOOCOMMERCE OVERRIDES
   ========================================================================== */

.woocommerce-page .woocommerce {
    color: var(--text-light);
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background: var(--bg-secondary);
    border-left: 4px solid var(--neon-cyan);
    color: var(--text-light);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);
}

.woocommerce-error {
    border-left-color: var(--neon-pink);
}

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    background: var(--neon-pink) !important;
    color: var(--text-white) !important;
    font-family: var(--font-ui) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    border: 3px solid var(--neon-pink) !important;
    border-radius: 0 !important;
    padding: 12px 24px !important;
    transition: all var(--transition) !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: transparent !important;
    color: var(--neon-pink) !important;
}

/* Forms */
.woocommerce form .form-row label {
    color: var(--neon-cyan);
    font-family: var(--font-ui);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==========================================================================
   UTILITY
   ========================================================================== */

.text-center { text-align: center; }
.text-pink    { color: var(--neon-pink) !important; }
.text-cyan    { color: var(--neon-cyan) !important; }
.text-lime    { color: var(--neon-lime) !important; }
.text-yellow  { color: var(--neon-yellow) !important; }
.text-muted   { color: var(--text-muted) !important; }

.bg-secondary { background: var(--bg-secondary); }
.bg-tertiary  { background: var(--bg-tertiary); }

.mb-0  { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--neon-pink);
    color: var(--text-white);
    padding: var(--space-sm) var(--space-md);
    z-index: 9999;
    font-family: var(--font-ui);
    font-size: 12px;
}

.skip-link:focus {
    top: 0;
}

/* Spinner */
.spinner {
    width: 36px;
    height: 36px;
    border: 4px solid rgba(0, 217, 255, 0.2);
    border-top-color: var(--neon-cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: var(--space-xl) auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================================================
   RETRO-FUTURE KEYFRAME ANIMATIONS
   ========================================================================== */

@keyframes neon-flicker {
    0%, 17%, 21%, 26%, 54%, 58%, 100% {
        text-shadow: 0 0 10px rgba(255, 0, 110, 0.6), 0 0 20px rgba(255, 0, 110, 0.3);
        opacity: 1;
    }
    19%, 24%, 56% {
        text-shadow: none;
        opacity: 0.86;
    }
}

@keyframes glitch-hero {
    0%, 87%, 100% {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.12);
        transform: none;
    }
    88% {
        text-shadow: -4px 0 0 rgba(0, 217, 255, 0.9), 4px 0 0 rgba(255, 0, 110, 0.9);
        transform: translate(3px, 0) skew(-1.5deg);
    }
    89% {
        text-shadow: 4px 0 0 rgba(0, 217, 255, 0.9), -4px 0 0 rgba(255, 0, 110, 0.9);
        transform: translate(-3px, 0) skew(1.5deg);
    }
    90% {
        text-shadow: -2px 0 0 rgba(0, 217, 255, 0.5), 2px 0 0 rgba(255, 0, 110, 0.5);
        transform: translate(1px, 0);
    }
    91% {
        text-shadow: 0 0 8px rgba(255, 255, 255, 0.12);
        transform: none;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    .site-header,
    .site-footer,
    .hero-actions,
    .btn { display: none !important; }

    body {
        background: white;
        color: black;
    }
}
