/* ==========================================================================
   MARKO.COM.HR — HOLOGRAPHIC EXECUTIVE DOSSIER & THEME MATRIX
   ========================================================================== */

/* --- Custom Font Declarations --- */
@font-face {
    font-family: 'Dali';
    font-style: normal;
    font-weight: normal;
    src: local('Dali'), url('../dali____.woff') format('woff'), url('dali____.woff') format('woff');
}

/* --- THEME DESIGN TOKENS --- */

/* 1. Main Default: Sapphire Blue Theme */
:root, [data-theme="blue"] {
    --bg-base: #030712;
    --bg-surface: #0b1329;
    --bg-surface-elevated: #111e3f;
    --bg-glass: rgba(11, 19, 41, 0.82);
    --bg-glass-card: rgba(17, 30, 63, 0.9);

    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(59, 130, 246, 0.45);
    --border-glow: rgba(96, 165, 250, 0.75);

    --primary-accent: #3b82f6;
    --primary-light: #bfdbfe;
    --primary-dark: #1d4ed8;
    --primary-gradient: linear-gradient(135deg, #60a5fa 0%, #3b82f6 40%, #2563eb 75%, #1e40af 100%);
    
    --secondary-accent: #38bdf8;
    --status-color: #60a5fa;

    --text-pure: #ffffff;
    --text-primary: #f0f9ff;
    --text-secondary: #93c5fd;
    --text-muted: #60a5fa;

    --spotlight-glow: radial-gradient(circle at 50% 30%, rgba(59, 130, 246, 0.16) 0%, rgba(37, 99, 235, 0.05) 50%, transparent 75%);
    --card-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.92), 0 0 35px rgba(59, 130, 246, 0.22);
}

/* 2. Obsidian Gold Theme */
[data-theme="gold"] {
    --bg-base: #090b10;
    --bg-surface: #11141d;
    --bg-surface-elevated: #181d2a;
    --bg-glass: rgba(17, 20, 29, 0.75);
    --bg-glass-card: rgba(22, 26, 38, 0.85);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(212, 175, 55, 0.35);
    --border-glow: rgba(212, 175, 55, 0.6);

    --primary-accent: #d4af37;
    --primary-light: #fdf3c6;
    --primary-dark: #8c6b14;
    --primary-gradient: linear-gradient(135deg, #c5a059 0%, #fdf3c6 40%, #b38728 75%, #aa771c 100%);
    
    --secondary-accent: #38bdf8;
    --status-color: #10b981;

    --text-pure: #ffffff;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --spotlight-glow: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.12) 0%, rgba(255, 180, 50, 0.03) 50%, transparent 75%);
    --card-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.15);
}

/* 3. Emerald Matrix Theme */
[data-theme="emerald"] {
    --bg-base: #040d0a;
    --bg-surface: #0a1813;
    --bg-surface-elevated: #10241d;
    --bg-glass: rgba(10, 24, 19, 0.78);
    --bg-glass-card: rgba(16, 36, 29, 0.88);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(16, 185, 129, 0.4);
    --border-glow: rgba(16, 185, 129, 0.7);

    --primary-accent: #10b981;
    --primary-light: #a7f3d0;
    --primary-dark: #047857;
    --primary-gradient: linear-gradient(135deg, #10b981 0%, #34d399 40%, #059669 80%, #064e3b 100%);
    
    --secondary-accent: #2dd4bf;
    --status-color: #34d399;

    --text-pure: #ffffff;
    --text-primary: #f0fdf4;
    --text-secondary: #86efac;
    --text-muted: #4ade80;

    --spotlight-glow: radial-gradient(circle at 50% 30%, rgba(16, 185, 129, 0.15) 0%, rgba(52, 211, 153, 0.04) 50%, transparent 75%);
    --card-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 35px rgba(16, 185, 129, 0.2);
}

/* 4. Noir Monochrome (Black & White) Theme */
[data-theme="mono"] {
    --bg-base: #000000;
    --bg-surface: #0a0a0a;
    --bg-surface-elevated: #151515;
    --bg-glass: rgba(10, 10, 10, 0.85);
    --bg-glass-card: rgba(18, 18, 18, 0.92);

    --border-subtle: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(255, 255, 255, 0.5);
    --border-glow: rgba(255, 255, 255, 0.85);

    --primary-accent: #ffffff;
    --primary-light: #e4e4e7;
    --primary-dark: #71717a;
    --primary-gradient: linear-gradient(135deg, #ffffff 0%, #d4d4d8 40%, #a1a1aa 75%, #52525b 100%);
    
    --secondary-accent: #a1a1aa;
    --status-color: #ffffff;

    --text-pure: #ffffff;
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;

    --spotlight-glow: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 50%, transparent 75%);
    --card-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.95), 0 0 35px rgba(255, 255, 255, 0.15);
}

/* --- Base & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    min-height: 100%;
    overflow-x: hidden;
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.5s ease, color 0.5s ease;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Dali Signature Monogram */
.dali-monogram {
    font-family: 'Dali', serif;
    font-weight: normal;
    text-transform: lowercase;
    line-height: 1;
}

/* --- Ambient Particles & Glow --- */
.cosmic-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

.ambient-lighting {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.radial-spotlight {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100vw;
    max-width: 1300px;
    max-height: 1300px;
    background: var(--spotlight-glow);
    border-radius: 50%;
    filter: blur(50px);
    transition: all 0.8s ease;
}

.screen-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
}

/* --- App Header & Navigation --- */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.25rem 2.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 50;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: linear-gradient(to bottom, var(--bg-glass) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.4s ease;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.brand-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: default;
}

.brand-badge .dali-monogram {
    font-size: 2rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.brand-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    color: var(--text-pure);
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--status-color);
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--status-color);
    box-shadow: 0 0 8px var(--status-color);
    animation: statusBlink 2s infinite ease-in-out;
}

@keyframes statusBlink {
    0%, 100% { opacity: 0.9; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

/* Theme Switcher Matrix */
.theme-selector {
    display: flex;
    align-items: center;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    padding: 0.25rem;
    border-radius: 9999px;
    gap: 0.2rem;
}

.theme-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    border-radius: 9999px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-btn:hover {
    color: var(--text-pure);
    background: rgba(255, 255, 255, 0.06);
}

.theme-btn.active {
    background: var(--bg-surface-elevated);
    color: var(--text-pure);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.theme-swatch {
    width: 9px;
    height: 9px;
    border-radius: 50%;
}

.swatch-gold { background: linear-gradient(135deg, #d4af37, #fef1b8); }
.swatch-blue { background: linear-gradient(135deg, #60a5fa, #1d4ed8); }
.swatch-emerald { background: linear-gradient(135deg, #10b981, #a7f3d0); }
.swatch-mono { background: linear-gradient(135deg, #ffffff, #27272a); }

.btn-tool {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-tool:hover {
    background: var(--bg-surface-elevated);
    color: var(--text-pure);
    border-color: var(--border-accent);
    transform: translateY(-1px);
}

/* Sound active icon state */
.sound-active .icon-audio-off { display: none; }
.sound-active .icon-audio-on { display: block; }
body:not(.sound-active) .icon-audio-on { display: none; }
body:not(.sound-active) .icon-audio-off { display: block; }


/* --- Main Experience Stage --- */
.main-stage {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 6.5rem 1.5rem 4rem;
}

/* ==========================================================================
   STAGE 1: THE FLOATING HERO SMART-CARD
   ========================================================================== */
.hero-card-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
}

.is-card-view .hero-card-container {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.is-dossier-view .hero-card-container {
    opacity: 0;
    transform: scale(0.85) translateY(-30px);
    pointer-events: none;
    position: absolute;
}

.hero-card {
    position: relative;
    width: 490px;
    height: 265px;
    border-radius: 20px;
    background: var(--bg-glass-card);
    border: 1px solid var(--border-accent);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    cursor: pointer;
    overflow: hidden;
    user-select: none;
    outline: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
    animation: floatLevitate 5s ease-in-out infinite;
}

@keyframes floatLevitate {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.4deg); }
}

.hero-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--border-glow);
    box-shadow: 0 35px 70px -15px rgba(0, 0, 0, 0.9), 0 0 45px var(--border-accent);
}

.hero-card:focus-visible {
    box-shadow: 0 0 0 3px var(--primary-accent), var(--card-shadow);
}

/* Holographic Shimmer & Specular Highlights */
.holo-foil {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.22) 0%, rgba(212, 175, 55, 0.15) 30%, transparent 65%);
    mix-blend-mode: overlay;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.card-border-beam {
    position: absolute;
    inset: -1.5px;
    border-radius: 20px;
    background: var(--primary-gradient);
    opacity: 0.45;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1.5px;
    pointer-events: none;
}

.card-glass-specular {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
    pointer-events: none;
}

/* Background Photo on Left Side */
.card-bg-photo {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 55%;
    background-image: url('pp.jpg');
    background-size: cover;
    background-position: center 20%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    opacity: 0.82;
    filter: contrast(1.1) brightness(0.95);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 42%, rgba(0,0,0,0.5) 70%, transparent 100%);
    mask-image: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 42%, rgba(0,0,0,0.5) 70%, transparent 100%);
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease;
    z-index: 2;
}

.hero-card:hover .card-bg-photo {
    opacity: 0.95;
    transform: scale(1.03);
    filter: contrast(1.15) brightness(1.02);
}

/* Atmospheric Gradient Blend across the Card */
.card-gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.25) 35%, var(--bg-surface) 75%, var(--bg-surface-elevated) 100%);
    pointer-events: none;
    z-index: 3;
    transition: background 0.3s ease;
}

/* Inner Hero Card Layout (Right-Shifted Content) */
.hero-card-inner {
    position: relative;
    height: 100%;
    padding: 1.6rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: right;
    align-items: flex-end;
    margin-left: auto;
    width: 58%;
    z-index: 5;
}

.card-brand-header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.card-brand-header .monogram-wrapper .dali-monogram {
    font-size: 3.2rem;
    line-height: 0.75;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.card-main-titles {
    margin: 0.4rem 0;
    width: 100%;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--text-pure);
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.9);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--primary-accent);
    line-height: 1.35;
}

.card-action-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
}

.expand-prompt {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--primary-light);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 0.68rem;
}

.pulse-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-pure);
    animation: ringPulse 1.8s infinite ease-in-out;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 var(--border-glow); }
    50% { transform: scale(1.15); box-shadow: 0 0 0 6px transparent; }
}


/* ==========================================================================
   STAGE 2: THE EXPANDED EXECUTIVE DOSSIER WORKSPACE
   ========================================================================== */
.expanded-dossier {
    position: relative;
    width: 100%;
    max-width: 920px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 30;
}

.is-dossier-view .expanded-dossier {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.is-card-view .expanded-dossier {
    opacity: 0;
    transform: translateY(40px) scale(0.96);
    pointer-events: none;
    position: absolute;
}

/* Dossier Top Bar */
.dossier-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
}

.dossier-title-group {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.dossier-pill {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--primary-accent);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-accent);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
}

.dossier-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-pure);
    letter-spacing: -0.02em;
}

.btn-action-collapse {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    border-radius: 9999px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action-collapse:hover {
    background: var(--bg-surface-elevated);
    border-color: var(--border-accent);
    color: var(--text-pure);
    transform: translateY(-1px);
}

.dossier-bottom-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

/* Dossier 2-Row Grid Layout:
   Top Row: About Marko & Socials (Left) | Say Hi Inquiries (Right)
   Bottom Row: Projects & Systems (Spans full width across both cards above)
*/
.dossier-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

.panel-about {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.panel-contact {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.panel-project {
    grid-column: 1 / -1;
}

.about-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-subtle);
}

.dossier-panel {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-subtle);
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dossier-panel:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.65), 0 0 25px rgba(212, 175, 55, 0.08);
}

.dossier-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.panel-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--primary-accent);
    margin-bottom: 0.85rem;
}

/* Panel 1: About */
.about-hero {
    margin-bottom: 0.85rem;
}

.about-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 0.3rem;
    line-height: 1.15;
}

.about-lead {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.about-body {
    font-size: 0.86rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 1rem;
}

.skill-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: auto;
}

.chip {
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

/* Panel 2: Contact */
.contact-prompt {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 1.25rem;
}

.contact-box {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1rem;
}

.contact-email-val {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-pure);
    letter-spacing: 0.02em;
}

.contact-button-row {
    display: flex;
    gap: 0.5rem;
}

.btn-dossier {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.6rem 0.9rem;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary-action {
    flex: 1;
    background: var(--primary-gradient);
    color: #0c0e14;
    border: none;
    font-weight: 700;
}

.btn-primary-action:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.btn-secondary-action {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.btn-secondary-action:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--border-accent);
    color: var(--text-pure);
}

.btn-icon-only {
    width: 2.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.btn-icon-only:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-pure);
    border-color: var(--border-accent);
}

/* Panel 3: Socials */
.social-intro {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.social-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.social-hub-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.95rem;
    border-radius: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.25s ease;
}

.social-hub-pill:hover {
    background: var(--bg-surface-elevated);
    border-color: var(--primary-accent);
    color: var(--text-pure);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Panel 4: Projects & Systems (Full-Width Span with Spacious Cards) */
.panel-project {
    grid-column: 1 / -1;
    padding: 2.25rem 2rem;
}

.projects-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.project-showcase-link {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    padding: 1.25rem;
    border-radius: 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    position: relative;
}

.project-showcase-link:hover {
    border-color: var(--border-accent);
    background: var(--bg-surface-elevated);
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* Screenshot Preview Frame */
.project-thumb-frame {
    position: relative;
    width: 100%;
    height: 128px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.project-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-showcase-link:hover .project-thumb-img {
    transform: scale(1.06);
}

.project-thumb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(12, 14, 20, 0.55) 100%);
    pointer-events: none;
}

.project-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.65rem;
}

.project-title-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.project-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--primary-accent);
    border: 1px solid var(--border-subtle);
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.project-showcase-link:hover .project-icon-box {
    background: var(--primary-accent);
    color: #0c0e14;
    border-color: var(--primary-accent);
}

.project-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-pure);
}

.badge-live-pulse {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 0.18rem 0.5rem;
    border-radius: 9999px;
    white-space: nowrap;
}

.badge-beta-pulse {
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 0.18rem 0.5rem;
    border-radius: 9999px;
    white-space: nowrap;
}

.project-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

.project-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.95rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-accent);
}

.project-showcase-link:hover .project-card-footer svg {
    transform: translate(2px, -2px);
    transition: transform 0.2s ease;
}

.project-footer-neutral {
    color: var(--text-secondary);
    font-style: italic;
    opacity: 0.75;
}

/* MarkoPolo Explorer Showcase Card with subtle background texture */
.project-card-markopolo {
    position: relative;
    background-image: linear-gradient(135deg, rgba(12, 14, 20, 0.92) 0%, rgba(12, 14, 20, 0.8) 100%), url('markopolo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: default;
}

.project-card-markopolo:hover {
    background-image: linear-gradient(135deg, rgba(12, 14, 20, 0.85) 0%, rgba(12, 14, 20, 0.7) 100%), url('markopolo.png');
}


/* ==========================================================================
   INQUIRY FORM & SUCCESS STATE STYLING
   ========================================================================== */
.form-honeypot {
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-align: left;
}

.form-group label {
    font-family: 'Inter', sans-serif;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
}

.form-input {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    color: var(--text-pure);
    outline: none;
    transition: all 0.2s ease;
}

.form-input:focus {
    border-color: var(--primary-accent);
    box-shadow: 0 0 0 2px var(--border-glow);
    background: var(--bg-surface-elevated);
}

.form-textarea-large {
    resize: vertical;
    min-height: 90px;
    font-family: inherit;
    line-height: 1.45;
}

.form-submit-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

/* Success Confirmation Box */
.inquiry-success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem 0.5rem;
    animation: fadeInScale 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.success-icon-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: var(--status-color);
    margin-bottom: 0.65rem;
}

.success-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-pure);
    margin-bottom: 0.25rem;
}

.success-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.confirmed-email-box {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-accent);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin-bottom: 0.85rem;
    text-align: left;
}

.confirmed-label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary-accent);
    margin-bottom: 0.3rem;
}

.confirmed-email-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.confirmed-address {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-pure);
}

.btn-copy-mini {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-copy-mini:hover {
    background: var(--primary-gradient);
    color: #0c0e14;
    border-color: transparent;
}

.btn-text-link {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s ease;
}

.btn-text-link:hover {
    color: var(--text-pure);
}


/* ==========================================================================
   SOCIAL HUB PILLS & LOCK BADGES
   ========================================================================== */
.pill-badge-verified {
    font-family: 'Inter', sans-serif;
    font-size: 0.58rem;
    font-weight: 800;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    margin-left: 0.1rem;
}

.pill-lock-icon {
    font-size: 0.7rem;
    margin-left: 0.1rem;
    opacity: 0.8;
}

button.social-hub-pill {
    cursor: pointer;
    font-family: inherit;
}


/* ==========================================================================
   ACCESS DENIED MODAL (EASTER EGG)
   ========================================================================== */
.access-denied-modal {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.access-denied-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.access-denied-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 10, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.access-denied-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    background: var(--bg-surface);
    border: 1px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 35px rgba(239, 68, 68, 0.25);
    border-radius: 20px;
    padding: 2.25rem 2rem;
    text-align: center;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    overflow: hidden;
}

.access-denied-modal.is-open .access-denied-card {
    transform: scale(1);
    animation: securityGlitch 0.4s ease-out;
}

@keyframes securityGlitch {
    0% { transform: scale(0.92) translate(-2px, 2px); }
    25% { transform: scale(1.02) translate(2px, -2px); }
    50% { transform: scale(0.99) translate(-1px, 1px); }
    100% { transform: scale(1) translate(0, 0); }
}

.denied-icon-glitch {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.denied-badge-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.12);
    border: 2px solid rgba(239, 68, 68, 0.6);
    color: #ef4444;
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.3);
}

.denied-status-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 0.6rem;
}

.denied-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.04em;
    margin-bottom: 0.25rem;
}

.denied-punchline {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #f87171;
    margin-bottom: 0.85rem;
}

.denied-explanation {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.highlight-platform {
    color: var(--text-pure);
    font-weight: 700;
}

.denied-action-row {
    display: flex;
    gap: 0.65rem;
}

.denied-action-row .btn-dossier {
    flex: 1;
}


/* ==========================================================================
   TOAST BANNER NOTIFICATION
   ========================================================================== */
.toast-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(40px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--status-color);
    color: #ffffff;
    padding: 0.65rem 1.35rem;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    z-index: 120;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-banner.is-active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}


/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 820px) {
    .app-header {
        padding: 1rem 1.25rem;
    }

    .status-indicator {
        display: none;
    }

    .main-stage {
        padding: 5.5rem 1.25rem 3rem;
    }

    .hero-card-container {
        width: 100%;
        max-width: 540px;
    }

    .hero-card {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 250px;
        border-radius: 18px;
    }

    .card-bg-photo {
        width: 55%;
        opacity: 0.75;
    }

    .card-gradient-overlay {
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.3) 30%, var(--bg-surface) 68%, var(--bg-surface-elevated) 100%);
    }

    .hero-card-inner {
        width: 65%;
        padding: 1.5rem 1.4rem;
    }

    .hero-title {
        font-size: 1.7rem;
    }

    .hero-tagline {
        font-size: 0.6rem;
    }

    .card-brand-header .monogram-wrapper .dali-monogram {
        font-size: 2.8rem;
    }

    .dossier-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .projects-stack {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .form-row-dual {
        grid-template-columns: 1fr;
    }

    .theme-label {
        display: none;
    }

    .theme-btn {
        padding: 0.4rem;
    }
}

@media (max-width: 480px) {
    .main-stage {
        padding: 5rem 0.85rem 2.5rem;
    }

    .hero-card {
        width: 100%;
        min-height: 230px;
        border-radius: 16px;
    }

    .card-bg-photo {
        width: 58%;
        opacity: 0.7;
    }

    .hero-card-inner {
        width: 70%;
        padding: 1.3rem 1.1rem;
    }

    .hero-title {
        font-size: 1.45rem;
    }

    .hero-tagline {
        font-size: 0.54rem;
        letter-spacing: 0.12em;
    }

    .card-brand-header .monogram-wrapper .dali-monogram {
        font-size: 2.4rem;
    }
}

/* ==========================================================================
   Site Footer & 7-Click Secret Administrator Block
   ========================================================================== */
.site-footer {
    width: 100%;
    max-width: 1200px;
    margin: 2.5rem auto 3rem;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-copyright-btn {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    padding: 0.6rem 1.2rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    user-select: none;
    -webkit-user-select: none;
}

.footer-copyright-btn:hover {
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.04);
}

.footer-copyright-btn:active {
    transform: scale(0.97);
}

/* Hidden Administrator Block */
.admin-secret-block {
    display: none;
    width: 100%;
    max-width: 780px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(12, 14, 20, 0.95) 100%);
    border: 1px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(16, 185, 129, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1.75rem;
    animation: adminSlideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.admin-secret-block.active {
    display: block;
}

@keyframes adminSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.admin-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-badge-indicator {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #10b981;
}

.admin-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: adminPulse 1.5s infinite;
}

@keyframes adminPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.btn-admin-close {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-admin-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.4);
}

.admin-actions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.admin-action-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.25rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

.admin-action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.admin-whatsapp-card:hover {
    border-color: #25d366;
    background: rgba(37, 211, 102, 0.08);
}

.admin-play-card:hover {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.08);
}

.admin-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    flex-shrink: 0;
}

.whatsapp-icon-box {
    background: rgba(37, 211, 102, 0.15);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.35);
}

.play-icon-box {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.admin-pewpew-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(239, 68, 68, 0.45));
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-play-card:hover .admin-pewpew-img {
    transform: scale(1.15) rotate(-6deg);
}

.admin-action-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    flex-grow: 1;
}

.admin-action-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    font-weight: 700;
}

.admin-action-value {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-pure);
}

.admin-btn-tag {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-pure);
    white-space: nowrap;
}

.admin-whatsapp-card:hover .admin-btn-tag {
    background: #25d366;
    color: #0c0e14;
    border-color: #25d366;
}

.admin-play-card:hover .admin-btn-tag {
    background: #f59e0b;
    color: #0c0e14;
    border-color: #f59e0b;
}

@media (max-width: 640px) {
    .admin-actions-grid {
        grid-template-columns: 1fr;
    }
}

