/* 
 * STYLE.CSS
 * Design System de MKFPROD - Haute Couture Numérique
 * Palettes harmonieuses de luxe (Noir Obsidian, Or Métallique, Gris Platinium et accents Web3)
 */

:root {
    /* Color System */
    --bg-deep: #050507;
    --bg-card: rgba(15, 15, 22, 0.65);
    --bg-card-hover: rgba(22, 22, 32, 0.85);
    --bg-navbar: rgba(5, 5, 7, 0.8);
    --border-color: rgba(212, 175, 55, 0.12);
    --border-hover: rgba(212, 175, 55, 0.4);
    
    /* Accents */
    --gold-solid: #d4af37;
    --gold-light: #f3cf5a;
    --gold-dark: #aa771c;
    --gold-gradient: linear-gradient(135deg, #c5a045 0%, #f6f0c4 30%, #b8860b 70%, #d4af37 100%);
    --silver-solid: #cfcfd6;
    --blue-tech: #4e83ff;
    --green-success: #00e676;
    --red-error: #ff3d00;
    
    /* Text colors */
    --text-main: #ffffff;
    --text-muted: #9e9ea7;
    --text-gold: #e5c158;

    /* Fonts */
    --font-title: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Transitions & Shadows */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-luxury: 0 10px 40px -10px rgba(0, 0, 0, 0.7);
    --shadow-gold: 0 0 25px rgba(212, 175, 55, 0.15);
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    font-size: 91%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.55;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Ambient Glowing Backgrounds */
.glow-bg {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(160px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.12;
}
.glow-gold {
    background: var(--gold-solid);
    top: 10%;
    left: -10%;
    animation: floatingGlow 15s ease-in-out infinite alternate;
}
.glow-purple {
    background: #6200ea;
    bottom: 20%;
    right: -10%;
    animation: floatingGlow 20s ease-in-out infinite alternate-reverse;
}

@keyframes floatingGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(80px, 50px) scale(1.2); }
}

/* Utility Layouts */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-gradient {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-mono {
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.hidden {
    display: none !important;
}

/* Navigation Bar */
.navbar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-navbar);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: var(--transition-smooth);
}

.navbar-header.scrolled {
    padding: 0.8rem 0;
    background-color: rgba(5, 5, 7, 0.95);
    border-bottom: 1px solid var(--border-color);
}

.navbar-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.7rem;
}

.logo-img {
    height: 38px;
    width: auto;
    filter: drop-shadow(0 0 4px rgba(212, 175, 55, 0.3));
}

.logo-text {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-main);
    transition: var(--transition-smooth);
}

.logo-gold {
    color: var(--gold-solid);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-wrap: nowrap;
}

@media (max-width: 1200px) {
    .nav-menu {
        gap: 0.9rem;
    }
    .nav-item {
        font-size: 0.9rem !important;
    }
}

.nav-item {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.4rem 0;
    white-space: nowrap;
}

.nav-item:hover, .nav-item.active {
    color: var(--gold-light);
    text-shadow: 0 0 10px rgba(243, 207, 90, 0.4);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-solid);
    transition: var(--transition-smooth);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.btn-atelier {
    border: 1px solid var(--gold-solid);
    padding: 0.5rem 1.2rem;
    border-radius: 2px;
    color: var(--gold-solid);
}

.btn-atelier:hover {
    background: var(--gold-gradient);
    color: var(--bg-deep) !important;
    border-color: transparent;
}

.btn-atelier::after {
    display: none;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    padding: 0.5rem;
}

.mobile-toggle .bar {
    width: 25px;
    height: 1px;
    background-color: var(--text-main);
    transition: var(--transition-smooth);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 1.8rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-primary {
    background: var(--gold-gradient);
    color: var(--bg-deep);
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.25);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--gold-solid);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-text {
    background: none;
    border: none;
    color: var(--gold-solid);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.btn-text:hover {
    color: var(--gold-light);
    gap: 0.8rem;
}

/* Sections Structure */
section {
    padding: 7rem 0 5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 4px;
    color: var(--gold-solid);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.section-title {
    font-family: var(--font-title);
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.section-divider {
    width: 50px;
    height: 1px;
    background: var(--gold-solid);
    margin: 1.5rem auto 0;
}

/* HERO SECTION */
.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 6vh;
    padding-bottom: 3vh;
    padding-left: 7%;
    padding-right: 7%;
    gap: 4%;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.hero-content {
    flex: 1;
    max-width: 560px;
}

.hero-subtitle {
    font-size: 0.78rem;
    letter-spacing: 4px;
    color: var(--gold-solid);
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 3.2rem;
    line-height: 1.15;
    font-weight: 600;
    margin-bottom: 1.4rem;
}

.hero-description {
    font-size: 0.98rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.luxury-frame {
    position: relative;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
}

.hero-logo-large {
    width: 240px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.8)) saturate(1.1);
    animation: slowPulse 6s ease-in-out infinite alternate;
}

.hero-logo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.8)) saturate(1.1);
    animation: slowPulse 6s ease-in-out infinite alternate;
    border-radius: 4px;
}

@keyframes slowPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.8)) brightness(0.95); }
    100% { transform: scale(1.03); filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.25)) brightness(1.05); }
}

.frame-corners::before, .frame-corners::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border: 1px solid var(--gold-solid);
}

.frame-corners::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.frame-corners::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

/* PHILOSOPHY SECTION */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.philosophy-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem 2rem;
    border-radius: 2px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.philosophy-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-luxury), var(--shadow-gold);
}

.card-icon {
    font-size: 2rem;
    color: var(--gold-solid);
    margin-bottom: 1.5rem;
}

.philosophy-card h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.philosophy-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.editorial-block {
    display: flex;
    border: 1px solid var(--border-color);
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.4) 0%, rgba(10, 10, 15, 0.8) 100%);
    backdrop-filter: blur(10px);
    margin-top: 2rem;
}

.editorial-text {
    flex: 2;
    padding: 3.5rem;
    border-right: 1px solid var(--border-color);
}

.editorial-text h3 {
    font-family: var(--font-title);
    font-size: 1.6rem;
    color: var(--gold-solid);
    margin-bottom: 1.2rem;
}

.editorial-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.editorial-video-panel {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000;
    min-height: 250px;
}

.editorial-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.editorial-video-panel:hover .editorial-video {
    transform: scale(1.05);
    opacity: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 40px rgba(5, 5, 7, 0.9);
    pointer-events: none;
    background: linear-gradient(180deg, transparent 60%, rgba(5, 5, 7, 0.4) 100%);
}

.editorial-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-num {
    display: block;
    font-family: var(--font-title);
    font-size: 2.2rem;
    color: var(--text-main);
    font-weight: 700;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 2px;
}

/* PORTFOLIO / COLLECTION */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3rem;
    width: 100%;
    box-sizing: border-box;
}

.filter-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--gold-solid);
    color: var(--text-main);
    background: rgba(212, 175, 55, 0.05);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    transition: var(--transition-smooth);
}

.portfolio-item-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.2rem;
    position: relative;
    border-radius: 2px;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    transition: var(--transition-smooth);
}

.portfolio-item-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow: var(--shadow-luxury);
}

.item-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-solid);
    border-bottom: 1px solid var(--gold-solid);
    padding-bottom: 2px;
}

.item-header h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.item-status {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
}

.status-op {
    background: rgba(0, 230, 118, 0.08);
    color: var(--green-success);
    border: 1px solid rgba(0, 230, 118, 0.2);
}

.status-dev {
    background: rgba(78, 131, 255, 0.08);
    color: var(--blue-tech);
    border: 1px solid rgba(78, 131, 255, 0.2);
}

.item-description {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.item-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-tech {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: 'Courier New', Courier, monospace;
}

/* MODALS */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 5, 0.85);
    backdrop-filter: blur(8px);
}

.modal-container {
    background: #0f0f15;
    border: 1px solid var(--gold-solid);
    width: 90%;
    max-width: 680px;
    max-height: 85vh;
    border-radius: 4px;
    z-index: 2001;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), var(--shadow-gold);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.modal.active .modal-container {
    transform: translateY(0);
}

.modal-small {
    max-width: 480px;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-content {
    padding: 2.5rem;
    overflow-y: auto;
    flex: 1;
}

.catalog-group-title {
    font-family: var(--font-title);
    font-size: 1.2rem;
    color: var(--text-main);
    border-left: 3px solid var(--gold-solid);
    padding-left: 0.8rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.catalog-group-title .group-subtitle {
    font-size: 0.85rem;
    font-family: var(--font-body);
    color: var(--text-muted);
    font-weight: 300;
    margin-left: 0.5rem;
}



/* Modal project content specific styles */
.proj-det-header {
    margin-bottom: 2rem;
}

.proj-det-header h2 {
    font-family: var(--font-title);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.proj-det-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.proj-det-tech {
    color: var(--gold-solid);
    font-family: 'Courier New', Courier, monospace;
}

.proj-det-body h4 {
    font-family: var(--font-title);
    font-size: 0.95rem;
    color: var(--gold-solid);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 1.5rem 0 0.8rem;
}

.proj-det-body p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.proj-det-body ul {
    list-style-type: none;
    padding-left: 0.5rem;
}

.proj-det-body li {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.proj-det-body li::before {
    content: '▪';
    color: var(--gold-solid);
}

.proj-det-footer {
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.8rem;
    width: 100%;
    box-sizing: border-box;
}

/* CLIENT TERMINAL & PORTFOLIO */
.terminal-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.terminal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 4px;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
}

.terminal-login {
    max-width: 480px;
    margin: 0 auto;
}

.terminal-login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.terminal-logo-spin {
    height: 70px;
    width: auto;
    margin-bottom: 1.2rem;
    animation: rotateSlow 20s linear infinite;
}

@keyframes rotateSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.terminal-login-header h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.terminal-login-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.8rem 1.2rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.9rem;
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold-solid);
    background: rgba(255, 255, 255, 0.05);
}

.form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.login-hint {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1rem;
    font-style: italic;
}

/* Dashboard View styling */
.terminal-dashboard {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dash-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .dash-bottom-grid {
        grid-template-columns: 1fr;
    }
}

.client-profile-card .profile-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--gold-solid);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: var(--gold-solid);
    background: rgba(212, 175, 55, 0.03);
}

.profile-meta h4 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 500;
}

.client-badge {
    font-size: 0.68rem;
    background: var(--gold-solid);
    color: var(--bg-deep);
    padding: 1px 8px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.logout-btn {
    position: absolute;
    top: 0.2rem;
    right: 0;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.logout-btn:hover {
    color: var(--red-error);
}

.profile-info-list .info-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}

.profile-info-list .info-label {
    color: var(--text-muted);
}

.project-status-card h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--gold-solid);
    font-weight: 500;
}

.project-in-progress .project-meta {
    display: flex;
    flex-direction: column;
    font-size: 0.85rem;
    gap: 0.3rem;
    margin-bottom: 1rem;
}

.proj-name {
    font-weight: 500;
}

.proj-ver {
    color: var(--text-muted);
}

.progress-bar-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 2px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.progress-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.progress-steps .step i {
    font-size: 0.85rem;
}

.progress-steps .step.done {
    color: var(--gold-solid);
}

.progress-steps .step.active {
    color: var(--text-main);
}

/* Vault Assets */
.vault-card .vault-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding-bottom: 1.2rem;
    margin-bottom: 1.5rem;
}

.vault-header h3 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 500;
}

.vault-net-status {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
}

.vault-net-status i {
    font-size: 0.5rem;
}

.text-success {
    color: var(--green-success);
}

.vault-assets {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.asset-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 2px;
}

.asset-row.brand-stable {
    background: rgba(212, 175, 55, 0.02);
    border-color: rgba(212, 175, 55, 0.15);
}

.asset-info {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.asset-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gold-gradient);
    color: var(--bg-deep);
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.asset-logo.eth {
    background: rgba(255,255,255,0.05);
    color: #a3b0d6;
    border: 1px solid rgba(255,255,255,0.1);
}

.asset-logo.sei {
    background: #500000;
    color: #ff334b;
    border: 1px solid #ff334b;
}

.asset-logo.usdt {
    background: #009393;
    color: #00ffc4;
}

.asset-names {
    display: flex;
    flex-direction: column;
}

.asset-ticker {
    font-weight: 500;
    font-size: 0.95rem;
}

.asset-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.asset-balance {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.balance-num {
    font-weight: 500;
    font-size: 1.05rem;
}

.balance-fiat {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Buy Stablecoins Widget */
.deposit-card h3 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    margin-bottom: 0.4rem;
    font-weight: 500;
}

.deposit-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
}

.input-amount-wrapper {
    margin-bottom: 1.2rem;
}

.input-group-fiat {
    position: relative;
    display: flex;
    align-items: center;
}

.input-group-fiat input {
    padding-right: 3.5rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.currency-tag {
    position: absolute;
    right: 1.2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.receive-calc {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.9rem 1.2rem;
    border-radius: 2px;
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
    border-left: 2px solid var(--gold-solid);
}

.receive-calc strong {
    color: var(--gold-solid);
    font-size: 1.05rem;
}

.payment-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.pay-tab {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    padding: 0.7rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    cursor: pointer;
    border-radius: 2px;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
}

.pay-tab.active {
    border-color: var(--gold-solid);
    color: var(--gold-solid);
    background: rgba(212, 175, 55, 0.03);
}

.payment-panel {
    display: none;
}

.payment-panel.active {
    display: block;
}

.stripe-badge-shield {
    display: block;
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
}

.stripe-badge-shield i {
    color: #635bff;
}

.web3-status {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.2rem;
    font-size: 0.85rem;
    border-radius: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1.2rem;
}

.web3-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--red-error);
}

.web3-status.connected .web3-dot {
    background-color: var(--green-success);
}

.swap-form {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.2rem;
    margin-top: 1.2rem;
}

.swap-conversion-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

/* LEDGER/TRANSACTION TABLE */
.ledger-card {
    margin-top: 1rem;
}

.ledger-card h3 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.ledger-table-container {
    width: 100%;
    overflow-x: auto;
}

.ledger-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    text-align: left;
}

.ledger-table th {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.8rem 1rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.ledger-table td {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.ledger-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.01);
}

.tx-amount-plus {
    color: var(--green-success);
    font-weight: 500;
}

.tx-status-success {
    color: var(--green-success);
}

/* STRIPE MODAL DETAILS */
.stripe-modal-content {
    padding: 2rem 1.5rem;
    position: relative;
}

.stripe-logo-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

.stripe-tag {
    background: #635bff;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    padding: 2px 8px;
    border-radius: 4px;
    letter-spacing: -0.5px;
}

.stripe-logo-header h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

.stripe-order-summary {
    display: flex;
    justify-content: space-between;
    background: rgba(99, 91, 255, 0.05);
    border: 1px solid rgba(99, 91, 255, 0.15);
    padding: 1rem 1.2rem;
    border-radius: 4px;
    font-size: 0.88rem;
    margin-bottom: 1.8rem;
}

.stripe-order-summary strong {
    color: #a49eff;
}

.card-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.card-icon-inside {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
}

.card-input-wrapper input {
    padding-left: 2.8rem;
}

.stripe-overlay-status {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f0f15;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    z-index: 10;
    padding: 2rem;
    text-align: center;
}

.spinner-luxury {
    width: 45px;
    height: 45px;
    border: 2px solid rgba(212, 175, 55, 0.08);
    border-top: 2px solid var(--gold-solid);
    border-radius: 50%;
    animation: rotateSlow 0.8s linear infinite;
    margin-bottom: 1.5rem;
}

.success-icon {
    font-size: 3rem;
    color: var(--green-success);
    margin-bottom: 1.2rem;
}

.animate-scale {
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes zoomIn {
    0% { transform: scale(0.3); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* CONTACT SECTION */
.contact-grid {
    display: grid;
    grid-template-columns: 4.5fr 5.5fr;
    gap: 3rem;
}

.contact-info h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold-solid);
}

.contact-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.method-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.method-icon {
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--gold-solid);
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.01);
}

.method-details {
    display: flex;
    flex-direction: column;
}

.method-details span {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.method-details strong {
    font-size: 0.95rem;
    font-weight: 400;
}

.contact-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.8rem;
    border-radius: 2px;
    backdrop-filter: blur(10px);
}

/* FOOTER */
.footer-atelier {
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    background-color: #030304;
    padding: 4rem 0 2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-container {
    display: grid;
    grid-template-columns: 4fr 2fr 4fr;
    gap: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    height: 38px;
    width: auto;
    align-self: flex-start;
}

.footer-brand p {
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links h4, .footer-legal h4 {
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--text-main);
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--gold-solid);
    padding-left: 3px;
}

.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.copyright {
    display: block;
    margin-top: 1rem;
    font-size: 0.75rem;
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
    .hero-section {
        flex-direction: column-reverse;
        padding-top: 15vh;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .philosophy-grid, .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .editorial-block {
        flex-direction: column;
    }
    
    .editorial-text {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 2.5rem;
    }
    
    .terminal-dashboard {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-legal {
        grid-column: span 2;
    }
}

@media (max-width: 1180px) {
    section {
        padding: 5rem 0 3rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .philosophy-grid, .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mobile-toggle {
        display: flex;
        z-index: 1001;
        order: 1;
        margin-right: 1rem;
    }
    
    .logo-link {
        order: 2;
    }
    
    .bar-badge {
        display: none !important;
    }
    
    .lang-switcher {
        margin-left: auto;
        margin-right: 1rem;
        flex-shrink: 0;
        z-index: 1001;
        order: 3;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 70px);
        background: rgba(7, 7, 9, 0.98);
        backdrop-filter: blur(15px);
        border-right: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 2.5rem 2rem;
        gap: 1.5rem;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
    }
    
    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        font-size: 1.1rem !important;
        width: 100%;
        text-align: left;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    .luxury-frame {
        width: 100%;
        max-width: 480px;
        padding: 1rem;
        margin: 0 auto;
    }
    
    .footer-atelier {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .philosophy-grid, .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .portfolio-filters {
        justify-content: center !important;
        gap: 0.5rem !important;
        padding: 0 0.4rem !important;
        margin-bottom: 1.8rem !important;
    }
    .filter-btn {
        padding: 0.4rem 0.85rem !important;
        font-size: 0.75rem !important;
        flex: 0 1 auto !important;
        white-space: nowrap !important;
    }
    .modal-container {
        width: 94% !important;
        max-height: 90vh !important;
        margin: 0 auto !important;
    }
    .modal-content {
        padding: 1.2rem 1rem !important;
    }
    .proj-det-footer {
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: center !important;
        gap: 0.6rem !important;
        margin-top: 1.2rem !important;
        padding-top: 1rem !important;
    }
    .proj-det-footer .btn,
    .proj-det-footer a.btn {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }
}

/* --- BAR & LOUNGE APP STORE ENHANCEMENTS --- */
.bar-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0.25rem 0.65rem;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 20px;
    color: var(--gold-light);
    margin-left: 0.5rem;
}

.neon-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--gold-light);
    text-transform: uppercase;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    margin-bottom: 1rem;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.bar-neon-frame {
    position: relative;
}

.video-container-relative {
    position: relative;
    display: block;
    width: 480px;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    border-radius: 4px;
    overflow: hidden;
}

.bar-cocktail-glow {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 2.2rem;
    background: rgba(15, 15, 22, 0.9);
    border: 1px solid var(--gold-solid);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px var(--gold-solid);
    animation: pulseCocktail 3s ease-in-out infinite;
    z-index: 10;
}

.bar-cocktail-glow i {
    color: var(--gold-light);
    font-size: 1.5rem;
}

@keyframes pulseCocktail {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(212, 175, 55, 0.4); }
    50% { transform: scale(1.1); box-shadow: 0 0 35px rgba(243, 207, 90, 0.8); }
}

/* Barman Section Widget */
.barman-section {
    padding: 2rem 0 4rem;
}

.barman-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-luxury);
    position: relative;
    overflow: hidden;
}

.barman-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: var(--gold-gradient);
}

.barman-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.barman-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-solid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.barman-title h3 {
    font-family: var(--font-title);
    font-size: 1.4rem;
    color: var(--gold-light);
}

.barman-title p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.barman-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.cocktail-option {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.cocktail-option:hover {
    background: rgba(212, 175, 55, 0.12);
    border-color: var(--gold-solid);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.15);
}

.cocktail-icon {
    font-size: 1.4rem;
}

.barman-speech {
    margin-top: 1.8rem;
    padding: 1.2rem 1.5rem;
    background: rgba(212, 175, 55, 0.08);
    border-left: 3px solid var(--gold-solid);
    border-radius: 0 12px 12px 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-style: italic;
    color: var(--text-gold);
    animation: fadeIn 0.4s ease-out;
}

/* Drink Badges on Portfolio Cards */
.item-badge-drink {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 0.8rem;
}

.modal-ingredients-list {
    list-style: none;
    margin: 0.8rem 0 1.5rem;
}

.modal-ingredients-list li {
    padding: 0.4rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: #e0e0e0;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.8rem;
}

.item-header h3 {
    margin: 0 !important;
}

.item-price {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--gold-solid);
    white-space: nowrap;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

/* Lang Switcher - Positioned cleanly inside navbar without right-side overflow */
.lang-switcher {
    display: flex;
    gap: 0.35rem;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
    z-index: 10;
}

.lang-btn {
    background: rgba(10, 10, 15, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-muted);
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-smooth);
    letter-spacing: 1px;
}

.lang-btn:hover, .lang-btn.active {
    border-color: var(--gold-solid);
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.15);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* Gaming Section */
.gaming-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.gaming-card {
    background: var(--bg-card);
    border: 1px solid rgba(78, 131, 255, 0.15);
    border-radius: 4px;
    padding: 2.2rem;
    position: relative;
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 300px;
    transition: var(--transition-smooth);
}

.gaming-card:hover {
    transform: translateY(-5px);
    border-color: rgba(78, 131, 255, 0.5);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(78, 131, 255, 0.15);
}

.gaming-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--blue-tech);
    border-bottom: 1px solid var(--blue-tech);
    padding-bottom: 2px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    align-self: flex-start;
}

/* Redundant navbar overrides removed - now unified in 1180px media query */

@media (max-width: 768px) {
    .gaming-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0.8rem;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .neon-tag {
        font-size: 0.7rem;
        padding: 0.35rem 0.75rem;
        letter-spacing: 0.8px;
    }
}

@media (min-width: 1025px) and (min-height: 750px) {
    body {
        height: 100vh;
        width: 100vw;
        overflow: hidden;
    }

    .hero-section {
        height: 100vh;
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 50px;
        box-sizing: border-box;
        overflow: hidden;
    }
}

.footer-atelier {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 7, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 0.8rem 0;
}

/* Hide default sections that are not hero */
main > section:not(.hero-section) {
    display: none !important;
}

/* Modal windows system styles */
.window-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1500;
}

.window-popup.active {
    opacity: 1;
    pointer-events: auto;
}

.window-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(3, 3, 5, 0.82);
    backdrop-filter: blur(6px);
    transition: all 0.35s ease;
}

.window-container {
    background: linear-gradient(135deg, rgba(12, 12, 18, 0.98) 0%, rgba(6, 6, 9, 0.99) 100%);
    border: 1px solid var(--border-color);
    width: 92%;
    max-width: 1100px;
    height: 82vh;
    border-radius: 4px;
    z-index: 1501;
    position: relative;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.9), var(--shadow-gold);
    display: flex;
    flex-direction: column;
    transform: scale(0.96) translateY(15px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    overflow: hidden;
}

.window-popup.active .window-container {
    transform: scale(1) translateY(0);
    border-color: var(--border-hover);
}

.window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2.2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    background: rgba(8, 8, 12, 0.85);
}

.window-header h3 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin: 0;
}

.window-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-smooth);
}

.window-close:hover {
    color: var(--gold-solid);
    transform: scale(1.15);
}

.window-body {
    padding: 2.5rem;
    overflow-y: auto;
    flex-grow: 1;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-solid) rgba(255, 255, 255, 0.02);
}

.window-body::-webkit-scrollbar {
    width: 6px;
}

.window-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.window-body::-webkit-scrollbar-thumb {
    background-color: var(--border-hover);
    border-radius: 3px;
}

/* Adjust paddings for sections inside window bodies */
.window-body section {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.window-body .container {
    padding: 0 !important;
    max-width: 100% !important;
}

/* Prevent double overlays on mobile */
@media (max-width: 768px) {
    .window-container {
        width: 95%;
        height: 86vh;
    }
    .window-body {
        padding: 1.5rem;
    }
}

/* Hide cocktail glow icon when any popup window is active to avoid obstructing content */
body:has(.window-popup.active) .bar-cocktail-glow {
    display: none !important;
}

/* Distinct subtle tints for cards based on their status */
.portfolio-item-card.card-dispo {
    background: linear-gradient(135deg, rgba(15, 15, 22, 0.65) 0%, rgba(0, 230, 118, 0.02) 100%);
    border-color: rgba(0, 230, 118, 0.15);
}
.portfolio-item-card.card-dispo:hover {
    background: linear-gradient(135deg, rgba(22, 22, 32, 0.85) 0%, rgba(0, 230, 118, 0.05) 100%);
    border-color: rgba(0, 230, 118, 0.4);
}

.portfolio-item-card.card-beta {
    background: linear-gradient(135deg, rgba(15, 15, 22, 0.65) 0%, rgba(212, 175, 55, 0.02) 100%);
    border-color: rgba(212, 175, 55, 0.15);
}
.portfolio-item-card.card-beta:hover {
    background: linear-gradient(135deg, rgba(22, 22, 32, 0.85) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-color: rgba(212, 175, 55, 0.4);
}

.portfolio-item-card.card-dev {
    background: linear-gradient(135deg, rgba(15, 15, 22, 0.65) 0%, rgba(78, 131, 255, 0.02) 100%);
    border-color: rgba(78, 131, 255, 0.15);
}
.portfolio-item-card.card-dev:hover {
    background: linear-gradient(135deg, rgba(22, 22, 32, 0.85) 0%, rgba(78, 131, 255, 0.05) 100%);
    border-color: rgba(78, 131, 255, 0.4);
}

/* ====================================================
   ALFRED BUTLER CHATBOT STYLES
   ==================================================== */
.alfred-chat-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1rem;
    max-height: calc(82vh - 100px);
}

.alfred-profile-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 1.5rem;
    background: rgba(212, 175, 55, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.alfred-avatar {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e1e2d 0%, #0d0d15 100%);
    border: 1.5px solid var(--gold-solid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold-solid);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.alfred-avatar .online-indicator {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--green-success);
    border: 2px solid #000;
}

.alfred-info h4 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.badge-status-gold {
    font-size: 0.7rem;
    font-family: var(--font-body);
    background: rgba(212, 175, 55, 0.15);
    color: var(--gold-light);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-weight: 500;
}

.alfred-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.alfred-chat-box {
    flex: 1;
    overflow-y: auto;
    background: rgba(5, 5, 8, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    min-height: 260px;
    max-height: 380px;
}

.chat-message {
    display: flex;
    gap: 0.8rem;
    max-width: 88%;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-message.alfred-msg {
    align-self: flex-start;
}

.chat-message.user-msg {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-solid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--gold-solid);
    flex-shrink: 0;
}

.user-msg .msg-avatar {
    background: rgba(78, 131, 255, 0.15);
    border-color: var(--blue-tech);
    color: var(--blue-tech);
}

.msg-bubble {
    background: rgba(18, 18, 26, 0.9);
    border: 1px solid var(--border-color);
    padding: 0.8rem 1.1rem;
    border-radius: 4px;
    position: relative;
}

.user-msg .msg-bubble {
    background: rgba(25, 30, 48, 0.9);
    border-color: rgba(78, 131, 255, 0.3);
}

.msg-author {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold-light);
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.user-msg .msg-author {
    color: var(--blue-tech);
    text-align: right;
}

.msg-bubble p {
    font-size: 0.88rem;
    color: var(--text-main);
    line-height: 1.5;
    font-weight: 300;
    margin: 0;
}

.synthesis-card {
    background: rgba(212, 175, 55, 0.05);
    border: 1px dashed var(--gold-solid);
    padding: 1rem;
    border-radius: 4px;
    margin-top: 0.8rem;
}

.synthesis-card h5 {
    font-family: var(--font-title);
    color: var(--gold-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.synthesis-card ul {
    list-style: none;
    padding: 0;
    font-size: 0.82rem;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.alfred-chips {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.chip-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.4rem 0.9rem;
    font-size: 0.78rem;
    border-radius: 20px;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.chip-btn:hover {
    border-color: var(--gold-solid);
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-1px);
}

.alfred-input-form {
    display: flex;
    gap: 0.6rem;
}

.alfred-input-form input {
    flex: 1;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.75rem 1rem;
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    transition: var(--transition-smooth);
}

.alfred-input-form input:focus {
    outline: none;
    border-color: var(--gold-solid);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* ====================================================
   PERSONAL SPACE OVERHAUL STYLES
   ==================================================== */
.auth-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.auth-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 0.6rem 1.2rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 2px solid transparent;
}

.auth-tab.active {
    color: var(--gold-light);
    border-bottom-color: var(--gold-solid);
    font-weight: 600;
}

.dash-user-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.8rem;
    margin-bottom: 1.8rem;
    background: linear-gradient(135deg, rgba(20, 20, 30, 0.8) 0%, rgba(10, 10, 15, 0.9) 100%);
    border: 1px solid var(--border-color);
}

.web3-network-pill {
    font-size: 0.78rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--gold-light);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
}

.dash-modules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
}

@media (max-width: 900px) {
    .dash-modules-grid {
        grid-template-columns: 1fr;
    }
}

.module-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.8rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.module-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-luxury);
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.module-header h3 {
    font-family: var(--font-title);
    font-size: 1.05rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
}

.module-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}

/* Cozy Lounge Chat */
.cozy-badge {
    font-size: 0.72rem;
    color: var(--green-success);
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.cozy-chat-container {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background: rgba(5, 5, 8, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 0.8rem;
}

.cozy-messages-log {
    max-height: 150px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.cozy-msg {
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 0.4rem;
}

.cozy-msg.system-msg {
    background: rgba(212, 175, 55, 0.05);
    border: 1px dashed rgba(212, 175, 55, 0.2);
    padding: 0.4rem 0.6rem;
    border-radius: 3px;
    color: var(--text-muted);
}

.cozy-msg .user-name {
    font-weight: 600;
}

.cozy-msg .msg-time {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.cozy-msg p {
    margin: 0.1rem 0 0;
    color: var(--text-main);
    font-weight: 300;
}

.cozy-input-bar {
    display: flex;
    gap: 0.5rem;
}

.cozy-input-bar input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
    border-radius: 2px;
}

/* Web3 Wallet Module */
.badge-sei {
    font-size: 0.7rem;
    background: rgba(78, 131, 255, 0.15);
    color: var(--blue-tech);
    border: 1px solid rgba(78, 131, 255, 0.3);
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-family: var(--font-body);
}

.web3-wallet-box {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.wallet-address-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    padding: 0.6rem 0.9rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

.btn-copy-sm {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--gold-solid);
    color: var(--gold-light);
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-copy-sm:hover {
    background: var(--gold-solid);
    color: #000;
}

.wallet-balances-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
}

.w-bal-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
}

.w-bal-title {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.w-bal-num {
    font-size: 1.05rem;
    color: var(--gold-light);
    font-family: var(--font-title);
}

.w-bal-fiat {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.wallet-actions-row {
    display: flex;
    gap: 0.6rem;
}

.btn-sm {
    padding: 0.4rem 0.9rem !important;
    font-size: 0.75rem !important;
}

/* Investment Proposals Card */
.badge-invest {
    font-size: 0.72rem;
    color: var(--gold-solid);
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.invest-deals-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.invest-deal-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 0.9rem;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.deal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.deal-header h4 {
    font-size: 0.9rem;
    color: var(--text-main);
    margin: 0;
}

.deal-status {
    font-size: 0.68rem;
    color: #ff9800;
    margin-left: 0.5rem;
    font-weight: 300;
}

.deal-target {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.deal-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.deal-perks {
    font-size: 0.78rem;
    color: var(--text-main);
    margin: 0;
}

/* Referral Program Card */
.chronos-badge {
    font-size: 0.72rem;
    color: var(--blue-tech);
    background: rgba(78, 131, 255, 0.1);
    border: 1px solid rgba(78, 131, 255, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
}

.referral-box {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.referral-box label {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.ref-input-group {
    display: flex;
    gap: 0.5rem;
}

.ref-input-group input {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    color: var(--text-gold);
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.78rem;
    padding: 0.5rem;
    border-radius: 2px;
}

.ref-metrics-row {
    display: flex;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.6rem 1rem;
    border-radius: 3px;
}

.ref-metric {
    display: flex;
    flex-direction: column;
}

.ref-metric span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.ref-metric strong {
    font-size: 0.95rem;
    color: var(--gold-light);
}

.ref-chronos-note {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(212, 175, 55, 0.04);
    border: 1px dashed rgba(212, 175, 55, 0.2);
    padding: 0.5rem 0.8rem;
    border-radius: 3px;
}

/* Fix Alfred chat layout: lock input at bottom and scroll only the message box */
#win-barman .window-body {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0.8rem !important; /* Reduced padding to save vertical space */
}

#win-barman .alfred-chat-wrapper {
    height: 100%;
    max-height: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem; /* Reduced gap */
}

#win-barman .alfred-profile-card {
    padding: 0.6rem 1rem; /* Compact header */
}

#win-barman .alfred-chat-box {
    flex-grow: 1;
    max-height: none;
    min-height: 120px; /* Allow dynamic shrink to prevent bottom bar cut-off */
    overflow-y: auto;
}

/* Responsive adjustment for mobile viewports */
@media (max-width: 768px) {
    #win-barman .window-body {
        padding: 0.5rem !important;
    }
    #win-barman .alfred-profile-card {
        padding: 0.5rem;
        gap: 0.8rem;
    }
    #win-barman .alfred-profile-card h4 {
        font-size: 0.95rem;
    }
    #win-barman .alfred-chips {
        gap: 0.4rem;
    }
    #win-barman .chip-btn {
        padding: 0.3rem 0.6rem;
        font-size: 0.72rem;
    }
}

/* ====================================================
   ESPACE PERSONNEL PREMIUM REDESIGN
   ==================================================== */
.dash-user-bar {
    background: linear-gradient(135deg, rgba(20, 20, 28, 0.95) 0%, rgba(8, 8, 12, 0.98) 100%) !important;
    border: 1px solid rgba(212, 175, 55, 0.15) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
    border-radius: 6px !important;
}

.module-card {
    background: rgba(12, 12, 18, 0.75) !important;
    backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 6px !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.module-card:hover {
    border-color: rgba(212, 175, 55, 0.25) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.05) !important;
    transform: translateY(-2px);
}

.w-bal-card {
    background: rgba(255, 255, 255, 0.015) !important;
    border: 1px solid rgba(255, 255, 255, 0.03) !important;
    border-radius: 4px !important;
    padding: 0.85rem !important;
    transition: all 0.3s ease !important;
}

.w-bal-card:hover {
    background: rgba(212, 175, 55, 0.03) !important;
    border-color: rgba(212, 175, 55, 0.15) !important;
    transform: translateY(-2px);
}

.w-bal-title {
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px;
    color: var(--text-muted) !important;
}

.w-bal-num {
    color: var(--text-main) !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    margin: 0.2rem 0 !important;
    display: block;
}

.w-bal-fiat {
    color: var(--gold-light) !important;
    font-size: 0.72rem !important;
}

/* Projects Table Premium Overhaul */
.dash-projects-table-wrapper {
    background: rgba(5, 5, 8, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.8rem;
}

.dash-projects-table {
    width: 100%;
    border-collapse: collapse;
}

.dash-projects-table th {
    background: rgba(212, 175, 55, 0.03) !important;
    border-bottom: 2px solid rgba(212, 175, 55, 0.15) !important;
    color: var(--text-muted) !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 0.9rem 1rem !important;
}

.dash-projects-table td {
    padding: 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02) !important;
    color: var(--text-main);
    font-size: 0.84rem;
}

.dash-projects-table tr {
    transition: background 0.2s ease;
}

.dash-projects-table tr:hover {
    background: rgba(212, 175, 55, 0.02) !important;
}

.btn-copy-sm {
    background: rgba(212, 175, 55, 0.06) !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: var(--gold-light) !important;
    border-radius: 3px !important;
    padding: 0.3rem 0.7rem !important;
    font-family: var(--font-body);
    font-size: 0.75rem !important;
    cursor: pointer;
    transition: all 0.25s ease !important;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-copy-sm:hover {
    background: var(--gold-solid) !important;
    color: #000 !important;
    border-color: var(--gold-solid) !important;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.btn-remove-row {
    background: none !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.35) !important;
    border-radius: 3px !important;
    padding: 0.3rem 0.55rem !important;
    cursor: pointer;
    transition: all 0.25s ease !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem !important;
}

.btn-remove-row:hover {
    background: rgba(255, 77, 77, 0.15) !important;
    border-color: rgba(255, 77, 77, 0.5) !important;
    color: #ff4d4d !important;
    transform: scale(1.1);
}

/* Dashboard Quick Nav Bar (Mobile 9:16 & Desktop) */
.dash-quick-nav {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.4rem 0.2rem;
    margin: 0.8rem 0 1.2rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.dash-quick-nav::-webkit-scrollbar {
    display: none;
}

.dash-nav-btn {
    background: rgba(212, 175, 55, 0.05) !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    color: var(--gold-light) !important;
    border-radius: 20px !important;
    padding: 0.4rem 0.9rem !important;
    font-size: 0.74rem !important;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease !important;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
}

.dash-nav-btn:hover, .dash-nav-btn.active {
    background: var(--gold-solid) !important;
    color: #000 !important;
    font-weight: 700 !important;
    border-color: var(--gold-solid) !important;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.3);
}

/* Referral & Message Input Overhauls */
.ref-input-group {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.ref-input-group input {
    flex: 1;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 3px !important;
    padding: 0.6rem 0.8rem !important;
    color: var(--gold-light) !important;
    font-family: var(--font-body);
    font-size: 0.82rem !important;
}

.ref-metrics-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    margin-top: 1rem;
}

.ref-metric {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    padding: 0.75rem;
    text-align: center;
}

.ref-metric span {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.ref-metric strong {
    font-size: 1.05rem;
    color: var(--gold-light);
    font-family: var(--font-title);
}

/* Direct email text fields */
.direct-email-card input, .direct-email-card textarea {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 3px !important;
    color: var(--text-main) !important;
    padding: 0.65rem 0.8rem !important;
    font-size: 0.84rem !important;
    transition: border-color 0.3s ease;
}

.direct-email-card input:focus, .direct-email-card textarea:focus {
    border-color: rgba(212, 175, 55, 0.4) !important;
    outline: none;
}

/* Gold Button Custom Style */
.btn-gold {
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%) !important;
    border: 1px solid #d4af37 !important;
    color: #000 !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25) !important;
    transition: all 0.3s ease !important;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #f3e5ab 0%, #d4af37 100%) !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5) !important;
    transform: translateY(-1px);
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 0 0 20px rgba(212, 175, 55, 0.3);
    }
    100% {
        transform: scale(1.05);
        text-shadow: 0 0 20px rgba(212, 175, 55, 0.8), 0 0 40px rgba(212, 175, 55, 0.5), 0 0 60px rgba(212, 175, 55, 0.3);
    }
}

.btn-copy-addr {
    transition: all 0.2s ease;
}
.btn-copy-addr:hover {
    opacity: 0.7;
    transform: scale(1.15);
}

/* Hide top email banner / email bar in normal and fullscreen modes */
.user-email-banner,
.email-top-banner,
.dash-client-email,
#dash-client-email,
.top-email-bar,
.client-email-tag {
    display: none !important;
}

:fullscreen .user-email-banner,
:fullscreen .email-top-banner,
:fullscreen #dash-client-email,
:fullscreen .top-email-bar,
:fullscreen .client-email-tag,
:-webkit-full-screen .user-email-banner,
:-webkit-full-screen .email-top-banner,
:-webkit-full-screen #dash-client-email,
:-webkit-full-screen .top-email-bar,
:-webkit-full-screen .client-email-tag {
    display: none !important;
}

/* Desktop Navbar Always Visible in Fullscreen & Standalone PWA Mode */
.navbar-header {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
    background-color: rgba(5, 5, 7, 0.92) !important;
    backdrop-filter: blur(16px) !important;
}

/* Ensure Page Content stays below navbar */
main {
    padding-top: 70px;
}

/* Minimal & Ultra-Compact Footer CGU Bar */
.footer-atelier {
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    background-color: rgba(3, 3, 5, 0.95) !important;
    padding: 0.5rem 1.5rem !important;
    margin-top: 0 !important;
    width: 100% !important;
    font-size: 0.72rem !important;
    backdrop-filter: blur(8px) !important;
}

.footer-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 1rem !important;
    grid-template-columns: none !important;
}

.footer-legal {
    display: flex !important;
    flex-direction: row !important;
    gap: 0.8rem !important;
    align-items: center !important;
}

.footer-legal a {
    color: rgba(212, 175, 55, 0.6) !important;
    font-size: 0.72rem !important;
    text-decoration: none !important;
    transition: var(--transition-smooth);
}

.footer-legal a:hover {
    color: var(--gold-solid) !important;
    text-decoration: underline !important;
}

/* Mobile 9:16 Responsive Overhaul for Personal Space Window (#win-terminal) */
@media (max-width: 768px) {
    #win-terminal .window-container {
        width: 96% !important;
        max-height: 94vh !important;
        padding: 0.7rem !important;
        border-radius: 8px !important;
        margin: 0 auto !important;
    }
    
    #win-terminal .window-header {
        padding: 0.5rem 0.2rem 0.8rem 0.2rem !important;
    }
    
    #win-terminal .window-body {
        padding: 0.4rem 0 !important;
    }

    #win-terminal .section-header {
        margin-bottom: 0.8rem !important;
    }

    #win-terminal .section-title {
        font-size: 1.25rem !important;
    }

    #win-terminal .section-desc {
        font-size: 0.78rem !important;
        margin-bottom: 0.6rem !important;
    }

    .dash-user-bar {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.8rem !important;
        padding: 0.8rem !important;
    }

    .user-bar-right {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .dash-projects-table-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 4px;
    }

    .dash-projects-table {
        min-width: 540px !important;
    }

    .dash-projects-table th, .dash-projects-table td {
        padding: 0.55rem 0.6rem !important;
        font-size: 0.75rem !important;
    }

    .dash-bottom-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .terminal-card {
        padding: 0.85rem !important;
    }

    .alfred-inline-chat-wrapper {
        padding: 0.6rem !important;
    }
}


