/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (Extracted from Handcrafted Game Art)
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg-dark: #08090b;       /* Primary Canvas Background */
    --color-bg-panel: #151417;      /* Secondary Container Background */
    --color-bg-card: #1c1918;       /* Warm Earthy Card Background */
    --color-gold: #ed9528;          /* Rich Royal Gold Accent */
    --color-bronze: #d17535;        /* Secondary Warm Burnt Orange */
    --color-teal: #a3c8b6;          /* Divine Anointing Accent */
    --color-teal-glow: rgba(163, 200, 182, 0.35);
    --color-gold-glow: rgba(237, 149, 40, 0.35);
    
    /* Text Colors */
    --color-text-primary: #f5f3f0;  /* Parchment White */
    --color-text-secondary: #ac9a8d;/* Warm Sand */
    --color-text-muted: #73675e;    /* Muted Dust */

    /* Typography */
    --font-heading: 'Cinzel', Georgia, serif;
    --font-heading-deco: 'Cinzel Decorative', Georgia, serif;
    --font-serif: 'Lora', Georgia, serif;
    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions & Physics */
    --transition-speed: 0.35s;
    --transition-curve: cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Layout Sizes */
    --container-width: 1200px;
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--color-bg-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-gold) 0%, var(--color-bronze) 100%);
    border-radius: 5px;
    border: 2px solid var(--color-bg-dark);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* Typography Overrides */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    font-weight: 700;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ==========================================================================
   LAYOUT & CONTAINER
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.max-w-600 { max-width: 600px; margin-left: auto; margin-right: auto; }
.max-w-800 { max-width: 800px; margin-left: auto; margin-right: auto; }

.section {
    padding: 100px 0;
    position: relative;
}

.grid {
    display: grid;
    gap: 40px;
}

.grid-2-col {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3-col {
    grid-template-columns: repeat(3, 1fr);
}

.align-center {
    align-items: center;
}

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

.text-left {
    text-align: left;
}

/* ==========================================================================
   COMPONENTS: BUTTONS & BADGES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.1em;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-curve);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-bronze) 100%);
    color: var(--color-bg-dark);
    border: 1px solid var(--color-gold);
}

.btn-primary span {
    font-weight: 800;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--color-gold-glow);
}

.btn-secondary {
    background: rgba(25, 24, 27, 0.6);
    color: var(--color-text-primary);
    border: 1px solid rgba(237, 149, 40, 0.3);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(237, 149, 40, 0.15);
    border-color: var(--color-gold);
    color: var(--color-text-primary);
    transform: translateY(-3px);
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

/* Button Pulse/Glow Animation */
.btn-glow {
    box-shadow: 0 0 15px var(--color-gold-glow);
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 10px var(--color-gold-glow); }
    50% { box-shadow: 0 0 25px rgba(237, 149, 40, 0.6); }
    100% { box-shadow: 0 0 10px var(--color-gold-glow); }
}

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

/* Badges */
.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(237, 149, 40, 0.1);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    border-radius: 2px;
}

.badge-gold {
    background: rgba(237, 149, 40, 0.15);
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* ==========================================================================
   HERO / HEADER SECTION
   ========================================================================== */
.hero {
    min-height: 95vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.hero-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    filter: saturate(0.8) brightness(0.6);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, var(--color-bg-dark) 95%),
                linear-gradient(180deg, rgba(8,9,11,0.2) 0%, var(--color-bg-dark) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper {
    max-width: 620px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 25px rgba(237, 149, 40, 0.15));
}

.logo-transp {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.hero-subtitle {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-secondary);
    max-width: 750px;
    margin-bottom: 40px;
    font-style: italic;
}

.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-bottom: 45px;
    background: rgba(21, 20, 23, 0.65);
    border: 1px solid rgba(237, 149, 40, 0.15);
    padding: 12px 40px;
    border-radius: 4px;
    backdrop-filter: blur(8px);
}

.meta-item {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.meta-val {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-gold);
}

.meta-divider {
    width: 1px;
    height: 30px;
    background: rgba(237, 149, 40, 0.15);
}

.hero-actions {
    display: flex;
    gap: 20px;
}

/* ==========================================================================
   CINEMATIC DIVIDER
   ========================================================================== */
.banner-divider {
    position: relative;
    background-color: var(--color-bg-dark);
    padding: 0;
    margin: 0;
    overflow: hidden;
    border-top: 1px solid rgba(237, 149, 40, 0.15);
    border-bottom: 1px solid rgba(237, 149, 40, 0.15);
}

.banner-image-container {
    position: relative;
    width: 100%;
    max-height: 480px;
    display: flex;
}

.wide-banner {
    width: 100%;
    height: auto;
    object-fit: cover;
    max-height: 480px;
    filter: saturate(0.9) brightness(0.7);
}

.vignette-left, .vignette-right {
    position: absolute;
    top: 0;
    width: 15%;
    height: 100%;
}

.vignette-left {
    left: 0;
    background: linear-gradient(90deg, var(--color-bg-dark) 0%, transparent 100%);
}

.vignette-right {
    right: 0;
    background: linear-gradient(-90deg, var(--color-bg-dark) 0%, transparent 100%);
}

/* ==========================================================================
   ABOUT & LORE SECTION
   ========================================================================== */
.about-section {
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-panel) 100%);
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    color: var(--color-text-primary);
    margin-bottom: 30px;
}

.narrative {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    margin-bottom: 25px;
    line-height: 1.7;
}

.highlight-box {
    border-left: 3px solid var(--color-gold);
    padding-left: 20px;
    margin-bottom: 35px;
    font-family: var(--font-sans);
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--color-text-primary);
}

.evangelism-note {
    background: rgba(8, 9, 11, 0.4);
    border: 1px solid rgba(237, 149, 40, 0.1);
    padding: 24px;
    border-radius: 4px;
}

.evangelism-note h3 {
    font-size: 1.1rem;
    color: var(--color-gold);
    margin-bottom: 12px;
}

.evangelism-note p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Card Stack Visual */
.card-stack-visual {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 460px;
    margin: 0 auto;
}

.visual-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 400px;
    background: radial-gradient(circle, var(--color-gold-glow) 0%, transparent 70%);
    z-index: 0;
    opacity: 0.8;
}

.stacked-card {
    position: absolute;
    width: 240px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: all var(--transition-speed) var(--transition-curve);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.card-back-img {
    z-index: 1;
    transform: rotate(-10deg) translate(-30px, 30px);
    opacity: 0.65;
}

.card-saul-img {
    z-index: 2;
    transform: rotate(5deg) translate(30px, 15px);
    opacity: 0.8;
}

.card-david-img {
    z-index: 3;
    transform: rotate(-2deg);
}

.card-stack-visual:hover .card-back-img {
    transform: rotate(-16deg) translate(-75px, 20px) scale(1.02);
    opacity: 0.85;
}

.card-stack-visual:hover .card-saul-img {
    transform: rotate(12deg) translate(75px, 0px) scale(1.02);
    opacity: 0.95;
}

.card-stack-visual:hover .card-david-img {
    transform: scale(1.05) translateY(-15px);
    box-shadow: 0 15px 35px var(--color-gold-glow);
}

/* ==========================================================================
   HOW TO PLAY SECTION
   ========================================================================== */
.rules-section {
    background-color: var(--color-bg-panel);
    border-top: 1px solid rgba(237, 149, 40, 0.1);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: 60px;
}

.rules-grid {
    margin-bottom: 80px;
}

.rule-card {
    background: rgba(8, 9, 11, 0.5);
    border: 1px solid rgba(237, 149, 40, 0.1);
    padding: 40px 30px;
    border-radius: 4px;
    transition: all var(--transition-speed) var(--transition-curve);
    position: relative;
}

.rule-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.rule-num {
    font-family: var(--font-heading-deco);
    font-size: 2.2rem;
    color: var(--color-gold);
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--color-gold-glow);
}

.rule-card h3 {
    font-size: 1.3rem;
    color: var(--color-text-primary);
    margin-bottom: 15px;
}

.rule-card p {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Spotlight Card #5 */
.card-spotlight {
    background: radial-gradient(circle at top right, rgba(163, 200, 182, 0.08) 0%, rgba(8, 9, 11, 0.9) 80%);
    border: 1px solid rgba(163, 200, 182, 0.25);
    border-radius: 8px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 
                0 0 25px rgba(163, 200, 182, 0.05);
}

.spotlight-border {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px double rgba(163, 200, 182, 0.1);
    pointer-events: none;
}

.spotlight-img-container {
    position: relative;
    max-width: 280px;
    margin: 0 auto;
}

.spotlight-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 350px;
    background: radial-gradient(circle, var(--color-teal-glow) 0%, transparent 70%);
    z-index: 0;
}

.spotlight-card-art {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 1;
    transition: transform var(--transition-speed) var(--transition-curve);
}

.spotlight-img-container:hover .spotlight-card-art {
    transform: scale(1.04) rotate(1deg);
    box-shadow: 0 15px 35px var(--color-teal-glow);
}

.spotlight-details {
    z-index: 1;
}

.spotlight-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(163, 200, 182, 0.15);
    border: 1px solid var(--color-teal);
    color: var(--color-teal);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
    border-radius: 2px;
}

.spotlight-title {
    font-size: 2rem;
    color: var(--color-text-primary);
    margin-bottom: 20px;
}

.spotlight-desc {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 25px;
}

.spotlight-bullet-list {
    list-style: none;
}

.spotlight-bullet-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.spotlight-bullet-list li strong {
    color: var(--color-teal);
}

.spotlight-bullet-list li::before {
    content: "◈";
    position: absolute;
    left: 0;
    color: var(--color-teal);
}

/* ==========================================================================
   INTERACTIVE CARD GALLERY SECTION
   ========================================================================== */
.gallery-section {
    background-color: var(--color-bg-dark);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0 60px 0;
}

.filter-btn {
    background: rgba(21, 20, 23, 0.6);
    border: 1px solid rgba(237, 149, 40, 0.15);
    color: var(--color-text-secondary);
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    border-radius: 4px;
    transition: all var(--transition-speed) var(--transition-curve);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--color-gold);
    color: var(--color-bg-dark);
    border-color: var(--color-gold);
    font-weight: 700;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.gallery-item-wrapper {
    perspective: 1000px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-card-container {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 5;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    transform-style: preserve-3d;
    transition: transform var(--transition-speed) var(--transition-curve), 
                box-shadow var(--transition-speed) var(--transition-curve);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    backface-visibility: hidden;
    background-color: var(--color-bg-card);
}

.gallery-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 9, 11, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    backdrop-filter: blur(2px);
    z-index: 2;
}

.gallery-card-overlay span {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    padding: 8px 16px;
    border-radius: 4px;
    letter-spacing: 0.1em;
    transform: translateY(10px);
    transition: transform var(--transition-speed) var(--transition-curve);
}

/* Hover and active states */
.gallery-card-container:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 12px 25px var(--color-gold-glow);
    border-color: rgba(237, 149, 40, 0.4);
}

.gallery-card-container:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-card-container:hover .gallery-card-overlay span {
    transform: translateY(0);
}

/* ==========================================================================
   CREATOR SECTION
   ========================================================================== */
.creator-section {
    background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-panel) 100%);
    border-top: 1px solid rgba(237, 149, 40, 0.1);
}

.creator-name {
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: 20px;
}

.creator-text p {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.photoshop-statement {
    font-style: italic;
    border-left: 2px solid rgba(237, 149, 40, 0.3);
    padding-left: 15px;
    color: var(--color-text-primary) !important;
}

/* Profile Photo */
.profile-medallion {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto 30px auto;
}

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--color-gold-glow) 0%, transparent 70%);
    z-index: 0;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px double var(--color-gold);
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: transform var(--transition-speed) ease;
}

.profile-photo:hover {
    transform: scale(1.03) rotate(2deg);
}

/* Anti AI Badge */
.badge-anti-ai {
    display: inline-block;
    background: rgba(8, 9, 11, 0.85);
    border: 1px solid var(--color-gold);
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 2;
    position: relative;
    backdrop-filter: blur(5px);
}

.badge-inner {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--color-text-primary);
    text-align: left;
}

.badge-inner svg {
    color: var(--color-gold);
    flex-shrink: 0;
}

.badge-inner span {
    font-size: 0.85rem;
    font-family: var(--font-heading);
    line-height: 1.3;
    letter-spacing: 0.05em;
}

.badge-inner span small {
    color: var(--color-text-secondary);
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
}

.creator-action-box {
    background: rgba(8, 9, 11, 0.4);
    border: 1px solid rgba(237, 149, 40, 0.1);
    border-radius: 4px;
    padding: 30px;
    margin-top: 35px;
}

.creator-action-box h4 {
    font-size: 1.15rem;
    color: var(--color-text-primary);
    margin-bottom: 12px;
}

.creator-action-box p {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

/* ==========================================================================
   EPIC PURCHASE / CTA SECTION
   ========================================================================== */
.purchase-section {
    background-color: var(--color-bg-dark);
    position: relative;
    overflow: hidden;
}

.purchase-card {
    background: radial-gradient(circle at center, rgba(21, 20, 23, 0.95) 0%, rgba(15, 14, 17, 0.95) 100%);
    border: 1px solid rgba(237, 149, 40, 0.25);
    border-radius: 8px;
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.purchase-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, var(--color-gold-glow) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

.purchase-title {
    font-size: 3rem;
    color: var(--color-text-primary);
    margin-bottom: 25px;
    z-index: 1;
    position: relative;
}

.purchase-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 40px;
    z-index: 1;
    position: relative;
}

.pricing-box {
    margin-bottom: 45px;
    z-index: 1;
    position: relative;
}

.price-retail {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-gold);
    font-weight: 700;
}

.shipping-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

.security-badges {
    margin-top: 30px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */
.site-footer {
    background-color: var(--color-bg-dark);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.disclaimer {
    font-size: 0.75rem;
    color: rgba(115, 103, 94, 0.6);
    margin-top: 10px;
}

/* ==========================================================================
   INTERACTIVE LIGHTBOX MODAL
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.lightbox[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 9, 11, 0.93);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    z-index: 1001;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.9);
    transition: transform 0.35s var(--transition-curve);
}

.lightbox[aria-hidden="false"] .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8),
                0 0 40px var(--color-gold-glow);
    border: 1px solid rgba(255, 255, 255, 0.15);
    object-fit: contain;
}

.lightbox-caption {
    margin-top: 20px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-gold);
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px var(--color-gold-glow);
    text-align: center;
}

/* Close & Nav Buttons */
.lightbox-close, .lightbox-nav {
    position: absolute;
    background: rgba(21, 20, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1002;
    transition: all 0.2s ease;
    border-radius: 50%;
}

.lightbox-close:hover, .lightbox-nav:hover {
    background: var(--color-gold);
    color: var(--color-bg-dark);
    border-color: var(--color-gold);
    transform: scale(1.1);
}

.lightbox-close {
    top: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-next {
    right: 40px;
}

/* ==========================================================================
   ANIMATIONS & SCROLL TRIGGERS
   ========================================================================== */
.animate-fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--transition-curve) forwards;
}

.animate-fade-in-delay-1 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--transition-curve) 0.2s forwards;
}

.animate-fade-in-delay-2 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--transition-curve) 0.4s forwards;
}

.animate-fade-in-delay-3 {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s var(--transition-curve) 0.6s forwards;
}

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

/* Scroll Trigger Defaults */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s var(--transition-curve);
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulse-slow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-pulse {
    animation: pulse-slow 4s infinite ease-in-out;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .card-spotlight {
        padding: 40px 30px;
    }
    
    .lightbox-nav {
        width: 50px;
        height: 50px;
    }
    
    .lightbox-prev { left: 20px; }
    .lightbox-next { right: 20px; }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    .grid-2-col, .grid-3-col {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-subtitle {
        font-size: 1.15rem;
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 320px;
        padding: 20px;
    }
    
    .meta-divider {
        width: 80%;
        height: 1px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .card-stack-visual {
        height: 380px;
        max-width: 320px;
    }
    
    .stacked-card {
        width: 180px;
    }
    
    .profile-medallion {
        width: 220px;
        height: 220px;
    }
    
    .lightbox-close {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .lightbox-nav {
        display: none; /* Hide arrow navigation on mobile touch screens - users swipe or click backdrop */
    }
    
    .purchase-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}
