/* MAMMON: THE VOID & THE GOLD - DARK LUXURY THEME */
:root {
    --void-black: #050505;
    --obsidian: #0a0a0a;
    --royal-gold: #D4AF37;
    --gold-light: #FDC830;
    --gold-dark: #8a6e2f;
    --text-white: rgba(255, 255, 255, 0.95);
    --text-muted: rgba(255, 255, 255, 0.6);
    --card-bg: rgba(255, 255, 255, 0.03);
}

body {
    background-color: var(--void-black);
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    padding-top: 80px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5 {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-gold-gradient {
    background: linear-gradient(to right, var(--royal-gold), var(--gold-light), var(--royal-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 4s linear infinite;
}

/* UTILITIES */
.glass-dark {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* ENHANCED SERVICE CARDS */
.service-card-luxury {
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 2.5rem;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card-luxury:hover {
    transform: translateY(-10px);
    border-color: var(--royal-gold);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-card-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--royal-gold), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card-luxury:hover::before {
    transform: scaleX(1);
}

/* Archetype Cards */
.archetype-card {
    background: linear-gradient(145deg, #0a0a0a, #151515);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
}

.archetype-card:hover {
    border-color: var(--royal-gold);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.archetype-icon {
    font-size: 2rem;
    color: var(--royal-gold);
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Benefit Tokens */
.benefit-token {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--royal-gold);
    padding: 1.2rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.benefit-token:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(10px);
}

.benefit-icon {
    color: var(--royal-gold);
    font-size: 1.2rem;
    margin-right: 1.5rem;
    min-width: 30px;
    text-align: center;
}

/* Cinematic Text */
.voice-of-void {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    position: relative;
    display: inline-block;
    padding: 2rem 0;
}

.voice-of-void::before, .voice-of-void::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--royal-gold), transparent);
}

.voice-of-void::before { top: 0; }
.voice-of-void::after { bottom: 0; }

/* Portal CTA Frame */
.portal-frame-cta {
    position: relative;
    padding: 3rem;
    background: radial-gradient(circle at center, #111, #000);
    border: 1px solid rgba(212, 175, 55, 0.3);
    overflow: hidden;
}

.portal-frame-cta::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, transparent, var(--royal-gold), transparent);
    z-index: -1;
    animation: spin-slow 10s linear infinite;
    opacity: 0.5;
}

@keyframes spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.obsidian-card {
    background: var(--obsidian);
    border: 1px solid rgba(212, 175, 55, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.obsidian-card:hover {
    border-color: var(--royal-gold);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--royal-gold), var(--gold-dark));
    color: #000;
    padding: 1rem 2.5rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 1px;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.btn-gold:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    color: #000;
}

.btn-wire-gold {
    background: transparent;
    border: 1px solid var(--royal-gold);
    color: var(--royal-gold);
    padding: 1rem 2.5rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-wire-gold:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-light);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

/* ANIMATIONS & SCROLL REVEAL */
@keyframes shine {
    to { background-position: 200% center; }
}

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

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

/* Scroll Reveal Classes */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays if needed */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* IMAGE BLENDING & FRAMES */
.blend-screen { mix-blend-mode: screen; }
.blend-overlay { mix-blend-mode: overlay; }

/* Hero Portal Frame */
.portal-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    height: 80vh;
    max-height: 800px;
    z-index: 0;
    opacity: 0.6;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
    filter: contrast(1.1) sepia(0.3) saturate(0.8);
}

.portal-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Relic Frames */
.relic-frame {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 4px;
    padding: 5px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.relic-frame::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(212, 175, 55, 0.6);
    pointer-events: none;
    z-index: 2;
}

.relic-frame img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    filter: contrast(1.1);
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* RITUAL PORTAL EFFECT */
.ritual-portal {
    position: relative;
    overflow: hidden;
    border-radius: 50% 50% 10% 10% / 15% 15% 5% 5%;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.2), inset 0 0 100px rgba(0,0,0,0.8);
    border: 1px solid rgba(212, 175, 55, 0.4);
    mask-image: radial-gradient(ellipse at center, black 60%, transparent 95%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 60%, transparent 95%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.ritual-portal:hover {
    transform: scale(1.02);
    box-shadow: 0 0 80px rgba(212, 175, 55, 0.4), inset 0 0 50px rgba(0,0,0,0.5);
    border-color: var(--royal-gold);
    mask-image: radial-gradient(ellipse at center, black 70%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 70%, transparent 100%);
}

.ritual-portal img {
    width: 100%;
    height: auto;
    display: block;
    filter: contrast(1.1) brightness(0.8) sepia(0.2);
    mix-blend-mode: screen;
}

/* SECTION SPECIFIC */
.mammon-hero {
    min-height: 100vh;
    background: radial-gradient(circle at center, #1a1a1a, #000 80%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* TIMELINE (GOLDEN PATH) */
.golden-path {
    position: relative;
    padding: 4rem 0;
}

.golden-path::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--royal-gold), transparent);
    transform: translateX(-50%);
}

.timeline-node {
    position: relative;
    margin-bottom: 4rem;
    width: 100%;
    display: flex;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.timeline-node.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

.node-content {
    width: 45%;
    margin-left: auto;
    padding-left: 3rem;
    position: relative;
}

.timeline-node:nth-child(even) .node-content {
    margin-left: 0;
    margin-right: auto;
    padding-left: 0;
    padding-right: 3rem;
    text-align: right;
}

.node-marker {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--void-black);
    border: 2px solid var(--royal-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--royal-gold);
    z-index: 2;
    transition: all 0.5s ease;
}

.timeline-node.reveal-active .node-marker {
    box-shadow: 0 0 20px var(--royal-gold), 0 0 40px var(--royal-gold);
    background: var(--royal-gold);
}

/* CUSTOM LIST STYLING */
.check-list-luxury {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
    display: inline-block;
    min-width: 250px;
}

.check-list-luxury li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.check-list-luxury li::before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--royal-gold);
    font-weight: bold;
    font-family: 'Font Awesome 5 Free';
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .golden-path::before { left: 20px; }
    .timeline-node { flex-direction: column; }
    .node-content { width: 100%; padding-left: 3rem; text-align: left; }
    .timeline-node:nth-child(even) .node-content { padding-right: 0; padding-left: 3rem; text-align: left; margin-left: 0; }
    .node-marker { left: 20px; }
    .portal-frame { width: 90%; height: 50vh; }
    .relic-frame { max-width: 100%; margin: 0 1rem; }
    section { padding: 4rem 0 !important; }
    .mammon-hero { min-height: 80vh; }
    .timeline-node:last-child { margin-bottom: 0; }
    .timeline-node { margin-bottom: 3rem; }
}

/* FOOTER OVERRIDES */
footer {
    background-color: #000 !important;
    border-top: 1px solid var(--royal-gold) !important;
    color: var(--text-muted) !important;
}

footer .container {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
}

footer h4 {
    color: var(--royal-gold) !important;
}

footer p, footer li a {
    color: var(--text-white) !important;
}

footer li a:hover {
    color: var(--royal-gold) !important;
}
