/* 
   Nolvirank Craft - The Dragon Vault
   UI/UX CSS Architecture 
*/

:root {
    /* Color Palette */
    --bg-void: #040404;
    --bg-secondary: #111111;
    --obsidian: #1F2937;
    
    --primary-gold: #FBBF24;
    --primary-gold-glow: rgba(251, 191, 36, 0.4);
    --dragon-crimson: #991B1B;
    --emerald-jade: #10B981;
    
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    
    --text-main: #FAFAFA;
    --text-muted: #D1D5DB;

    /* Metrics & Easing */
    --dock-width: 95px;
    --dock-expanded: 260px;
    --curve: cubic-bezier(0.19, 1, 0.22, 1);
    
    /* Fonts */
    --font-fantasy: 'Cinzel', serif;
    --font-ui: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ================= RESET & BASE ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none; /* App-like feel */
}

body {
    background-color: var(--bg-void);
    color: var(--text-main);
    font-family: var(--font-ui);
    height: 100vh;
    width: 100vw;
    overflow: hidden; /* No scrolling, purely application layout */
    -webkit-font-smoothing: antialiased;
}

/* ================= COMPLIANCE BANNER ================= */
.top-disclaimer-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(4, 4, 4, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    text-align: center;
    padding: 8px 15px;
    font-size: 0.7rem;
    color: var(--text-muted);
    z-index: 1000;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ================= CINEMATIC BACKGROUND ================= */
.cinematic-environment {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: -10;
    background: radial-gradient(circle at 50% 50%, #1a1a1a 0%, var(--bg-void) 100%);
}

.env-base-bg, .env-ruins {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.env-ruins {
    opacity: 0.15;
    transform: scale(1.05);
    animation: slowBreathe 20s infinite alternate ease-in-out;
}

.env-volumetric-light {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(251, 191, 36, 0.03) 45deg, transparent 90deg, rgba(251, 191, 36, 0.02) 135deg, transparent 180deg);
    animation: slowRotate 60s linear infinite;
    pointer-events: none;
}

.env-fog {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 40vh;
    background: linear-gradient(to top, var(--bg-void) 0%, transparent 100%);
    pointer-events: none;
}

.env-embers {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.ember {
    position: absolute;
    bottom: -10px;
    width: 3px;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-gold), 0 0 20px var(--dragon-crimson);
    opacity: 0;
    animation: floatUp 5s linear infinite;
}

/* ================= LEFT COMMAND DOCK ================= */
.command-dock-left {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: var(--dock-width);
    height: 85vh;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 20px 0;
    transition: width 0.5s var(--curve), background 0.3s ease;
    z-index: 50;
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 30px rgba(0,0,0,0.5), inset 1px 1px 0px rgba(255,255,255,0.1);
}

.command-dock-left:hover {
    width: var(--dock-expanded);
    background: rgba(25, 25, 25, 0.4);
}

.dock-menu {
    list-style: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-x: hidden;
    overflow-y: auto;
}

.dock-menu::-webkit-scrollbar { display: none; }

.dock-item {
    width: 100%;
    padding: 0 25px;
    display: flex;
    align-items: center;
}

.bottom-item {
    margin-top: auto;
}

.dock-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    width: 100%;
    height: 50px;
    cursor: pointer;
    border-radius: 15px;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    padding-left: 10px;
}

.dock-btn svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    transition: all 0.3s ease;
}

.dock-label {
    margin-left: 20px;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s ease, transform 0.3s var(--curve);
    transform: translateX(-10px);
    letter-spacing: 0.5px;
}

.command-dock-left:hover .dock-label {
    opacity: 1;
    transform: translateX(0);
}

.dock-btn:hover, .dock-item.active .dock-btn {
    color: var(--primary-gold);
    background: rgba(251, 191, 36, 0.1);
}

.dock-item.active .dock-btn {
    color: var(--primary-gold);
    box-shadow: inset 3px 0 0 var(--primary-gold);
}

.dock-btn:hover svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px var(--primary-gold-glow));
}

/* ================= RIGHT ACTION DOCK ================= */
.action-dock-right {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 70px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 35px;
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    z-index: 50;
}

.action-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
}

.action-btn svg {
    width: 20px;
    height: 20px;
}

.action-btn:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.action-btn.primary-glow {
    color: var(--bg-void);
    background: var(--primary-gold);
    box-shadow: 0 0 20px var(--primary-gold-glow);
}

.action-btn.primary-glow:hover {
    box-shadow: 0 0 30px var(--primary-gold);
    transform: scale(1.05);
}

/* ================= CENTRAL VAULT (THE EXPERIENCE) ================= */
.central-experience {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: calc(var(--dock-width) + 40px);
    padding-right: 110px;
    padding-bottom: 40px;
    padding-top: 35px; /* Offset to clear the compliance banner */
}

.vault-container {
    width: 100%;
    max-width: 1100px;
    height: 75vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: float 8s ease-in-out infinite;
}

.vault-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    text-align: center;
}

.emblem-ring {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-gold);
    border-radius: 50%;
    margin-bottom: 15px;
    position: relative;
    box-shadow: 0 0 20px var(--primary-gold-glow);
}
.emblem-ring::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(45deg);
    width: 20px; height: 20px;
    border: 1px solid var(--primary-gold);
}

.vault-title {
    font-family: var(--font-fantasy);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(to bottom, #FFFFFF, #FBBF24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.8));
    margin-bottom: 5px;
}

.vault-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 8px;
    text-transform: uppercase;
}

.vault-showcase {
    width: 100%;
    flex: 1;
    position: relative;
    border-radius: 20px;
    padding: 15px;
    background: rgba(31, 41, 55, 0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
}

/* The Animated Vault Border */
.vault-showcase::before {
    content: "";
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(45deg, var(--obsidian), var(--primary-gold), var(--dragon-crimson), var(--obsidian));
    background-size: 400% 400%;
    z-index: -1;
    border-radius: 22px;
    animation: borderGlow 10s ease infinite;
    opacity: 0.6;
}

.vault-frame {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #000;
    box-shadow: inset 0 0 40px rgba(0,0,0,0.9);
}

.vault-inner-glow {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    box-shadow: inset 0 0 30px rgba(251, 191, 36, 0.15);
    z-index: 2;
}

.vault-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: relative;
    z-index: 1;
}

/* ================= UI OVERLAY & PANELS ================= */
.ui-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(4, 4, 4, 0.6);
    backdrop-filter: blur(5px);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.ui-backdrop.active {
    opacity: 1;
    pointer-events: all;
}

.ui-panel {
    position: fixed;
    top: 35px; /* Sits beneath the top disclaimer banner */
    bottom: 35px; /* Above status bar */
    width: 450px;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    z-index: 100;
    transition: transform 0.6s var(--curve);
    display: flex;
    flex-direction: column;
}

.slide-left {
    left: 0;
    transform: translateX(-100%);
    border-right: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 0 30px 30px 0;
}

.slide-right {
    right: 0;
    transform: translateX(100%);
    border-left: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 30px 0 0 30px;
}

.ui-panel.active {
    transform: translateX(0);
}

.panel-header {
    padding: 40px 40px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
}

.panel-header h2 {
    font-family: var(--font-fantasy);
    color: var(--primary-gold);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.close-panel {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
}
.close-panel:hover { color: var(--text-main); }

.panel-content {
    padding: 40px;
    overflow-y: auto;
    flex: 1;
}
.panel-content::-webkit-scrollbar { width: 5px; }
.panel-content::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 5px; }

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.feature-tile {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 25px 20px;
    border-radius: 16px;
    transition: all 0.4s ease;
}

.feature-tile.span-2 { grid-column: span 2; }

.feature-tile:hover {
    background: rgba(255,255,255,0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5), inset 0 0 15px rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
}

.feature-icon {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.feature-tile h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-tile p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Lore Content */
.lore-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
}
.lore-content h3 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-family: var(--font-fantasy);
}
.lore-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: block;
    opacity: 0.8;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

/* Drawer (RG) */
.ui-drawer {
    position: fixed;
    bottom: 35px;
    left: 50%;
    transform: translate(-50%, 150%);
    width: 90%;
    max-width: 700px;
    background: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 24px 24px 0 0;
    z-index: 100;
    transition: transform 0.6s var(--curve);
    padding: 30px 40px;
    border-top: 2px solid var(--emerald-jade);
}
.ui-drawer.active {
    transform: translate(-50%, 0);
}
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: var(--emerald-jade);
}
.drawer-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}
.rg-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}
.rg-badge {
    padding: 5px 12px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--emerald-jade);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.drawer-content p, .drawer-content li {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.drawer-content ul {
    margin-top: 15px;
    padding-left: 20px;
}

/* Modal (Contact Base) */
.ui-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -40%);
    opacity: 0;
    pointer-events: none;
    background: transparent;
    border: none;
    z-index: 110;
    transition: all 0.5s var(--curve);
}
.ui-modal.active {
    transform: translate(-50%, -50%);
    opacity: 1;
    pointer-events: all;
}
.modal-inner {
    width: 450px;
    background: rgba(17, 17, 17, 0.85);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}
.modal-close {
    position: absolute;
    top: 20px; right: 25px;
    z-index: 10;
}
.modal-inner h2 {
    font-family: var(--font-fantasy);
    color: var(--primary-gold);
    margin-bottom: 5px;
}
.modal-sub {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.input-group {
    margin-bottom: 20px;
}
.input-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.input-group input, .input-group textarea {
    width: 100%;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 12px 15px;
    border-radius: 8px;
    font-family: var(--font-ui);
    transition: border 0.3s;
}
.input-group input:focus, .input-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
}
.btn-gold-submit {
    width: 100%;
    background: linear-gradient(45deg, #FBBF24, #B45309);
    color: var(--bg-void);
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.btn-gold-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(251, 191, 36, 0.3);
}

/* ================= EXTENDED LARGE MODAL (Contact Panel) ================= */
.modal-inner.large-modal {
    width: 950px;
    max-width: 92vw;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
}
.modal-inner.large-modal::-webkit-scrollbar { width: 6px; }
.modal-inner.large-modal::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 6px; }

/* Contact Specific Styles */
.contact-header {
    text-align: center;
    margin-bottom: 35px;
}
.contact-header h2 {
    font-size: 2rem;
    font-family: var(--font-fantasy);
    color: var(--primary-gold);
    margin-bottom: 12px;
}
.contact-header .modal-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info-section, .contact-form-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 25px;
    border-radius: 16px;
    transition: transform 0.3s ease, background 0.3s ease;
}
.info-block:hover {
    background: rgba(255, 255, 255, 0.04);
}
.info-block h3 {
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-family: var(--font-fantasy);
}
.info-block h3 svg {
    width: 22px;
    height: 22px;
}
.info-block h4 {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 15px;
    margin-bottom: 5px;
}
.info-block p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.gold-link {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}
.gold-link:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-gold-glow);
}

.faq-block .faq-item {
    margin-bottom: 18px;
}
.faq-block .faq-item:last-child {
    margin-bottom: 0;
}
.faq-block h4 {
    color: var(--text-main);
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.95rem;
    margin-top: 0;
    margin-bottom: 6px;
    font-weight: 600;
}

.rg-block {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.03);
}
.rg-block h3 {
    color: var(--emerald-jade);
}

.contact-form-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 16px;
}
.contact-form-section h3 {
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-family: var(--font-fantasy);
}
.contact-form-section h3 svg {
    width: 22px;
    height: 22px;
}

.contact-form .input-group label {
    font-size: 0.75rem;
    font-weight: 600;
}

/* ================= STATUS BAR ================= */
.app-status-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: 35px;
    background: rgba(4, 4, 4, 0.8);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    font-size: 0.75rem;
    color: var(--text-muted);
    z-index: 40;
}

.status-left, .status-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.status-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}
.status-link:hover { color: var(--primary-gold); }
.divider { opacity: 0.3; }

.online-status {
    display: flex;
    align-items: center;
    gap: 8px;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--emerald-jade);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--emerald-jade);
    animation: pulse 2s infinite;
}

/* ================= ANIMATIONS ================= */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

@keyframes slowBreathe {
    0% { transform: scale(1.02); opacity: 0.1; }
    100% { transform: scale(1.08); opacity: 0.2; }
}

@keyframes slowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes floatUp {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 0.8; }
    100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .central-experience {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 120px; /* Space for bottom dock */
    }
    
    .command-dock-left {
        top: auto;
        bottom: 45px;
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 500px;
        height: 70px;
        border-radius: 35px;
        flex-direction: row;
        padding: 0 20px;
    }
    
    .command-dock-left:hover {
        width: 90%;
    }
    
    .dock-menu {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        overflow-x: auto;
        gap: 10px;
    }
    
    .dock-item {
        padding: 0;
        width: auto;
    }
    
    .dock-btn {
        width: 44px;
        height: 44px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    
    .dock-label { display: none; }
    
    .bottom-item { margin-top: 0; }
    
    .action-dock-right {
        top: 45px; /* Offset to clear the compliance banner */
        right: 20px;
        transform: none;
        flex-direction: row;
        width: auto;
        height: 60px;
        padding: 0 15px;
        border-radius: 30px;
        gap: 10px;
    }
    
    .ui-panel {
        width: 100%;
        border-radius: 20px 20px 0 0;
        bottom: 0;
        top: 10vh; /* Keeps a comfortable clearance on mobile */
    }
    
    .slide-left, .slide-right {
        transform: translateY(100%);
        left: 0; right: 0;
        border: 1px solid var(--glass-border);
    }
    
    .ui-panel.active {
        transform: translateY(0);
    }
}

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

@media (max-width: 600px) {
    .top-disclaimer-bar {
        font-size: 0.55rem;
        padding: 6px 10px;
        letter-spacing: 0.5px;
    }
    .vault-title { font-size: 2rem; }
    .vault-subtitle { font-size: 0.8rem; letter-spacing: 4px; }
    .vault-container { height: 60vh; }
    .status-left .status-link, .status-right .app-version { display: none; }
    
    .modal-inner { width: 95%; padding: 25px; }
    .modal-inner.large-modal { padding: 30px 20px; }
    .contact-header h2 { font-size: 1.6rem; }
}