/* ===== JIMMY LANDING PAGE ===== */
/* Secure terminal access - wallet or guest */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Neon Noir Green */
    --phosphor: #00ff00;
    --phosphor-dim: #00cc00;
    --phosphor-dark: #006600;
    
    /* Magenta accents */
    --hud-alert: #ff00ff;
    --hud-alert-dim: #cc00cc;
    --hud-alert-glow: #ff00ff;
    
    /* Cyan secondary */
    --cyan: #00ffff;
    
    /* Background - dark with purple tints */
    --bg: #0a0a0a;
    --bg-panel: #1a0a1a;
    --bg-input: #0f0015;
    
    /* Typography */
    --font: 'VT323', monospace;
}

html, body {
    height: 100%;
    overflow: hidden;
    font-family: var(--font);
    font-size: 32px;
    background: var(--bg);
    color: var(--phosphor);
}

/* ===== CRT EFFECTS ===== */
.crt-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 100;
}

.scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.4),
        rgba(0, 0, 0, 0.4) 1px,
        transparent 1px,
        transparent 2px
    );
    transition: opacity 0.1s;
}

.vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

/* ===== LANDING CONTAINER ===== */
.landing-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 40px 140px;
    position: relative;
    z-index: 1;
    overflow-y: auto;
}

.landing-container.hidden {
    display: none;
}

/* ===== HEADER ===== */
.landing-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 20px;
    width: 100%;
}

.header-title {
    font-size: clamp(60px, 12vw, 100px);
    letter-spacing: clamp(10px, 2vw, 20px);
    text-shadow: 
        0 0 30px var(--phosphor),
        0 0 60px var(--phosphor),
        0 0 90px var(--phosphor);
    animation: title-flicker 4s infinite;
    line-height: 1.1;
    word-wrap: break-word;
    display: inline-block;
    transition: transform 0.1s ease-out, text-shadow 0.1s ease-out, color 0.2s ease;
    will-change: transform, text-shadow;
    cursor: pointer;
}

.header-title:hover {
    color: var(--hud-alert);
}

@keyframes title-flicker {
    0%, 90%, 100% { opacity: 1; }
    92% { opacity: 0.8; }
    94% { opacity: 1; }
    96% { opacity: 0.9; }
}

.header-version {
    font-size: 24px;
    letter-spacing: 8px;
    opacity: 0.6;
    margin-left: 16px;
}

.landing-subtitle {
    font-size: clamp(14px, 3vw, 18px);
    letter-spacing: clamp(4px, 1.5vw, 8px);
    opacity: 0.5;
    margin-bottom: 30px;
    text-shadow: 0 0 15px var(--phosphor);
    text-align: center;
}

/* ===== ACCESS OPTIONS ===== */
.access-options {
    display: flex;
    flex-direction: row;
    gap: 24px;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    align-items: stretch;
}

.access-card {
    flex: 1;
    background: var(--bg-panel);
    border: 1px solid var(--phosphor-dark);
    border-radius: 8px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-width: 280px;
}

.access-card:hover {
    border-color: var(--phosphor);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
}

.access-card:active {
    border-color: var(--hud-alert);
    box-shadow: 0 0 30px var(--hud-alert-glow);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    color: var(--phosphor);
    opacity: 0.8;
    flex-shrink: 0;
}

.card-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.card-title {
    font-size: 18px;
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-shadow: 0 0 15px var(--phosphor);
    line-height: 1.3;
}

.card-desc {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.7;
    margin-bottom: 20px;
    max-width: 100%;
    word-wrap: break-word;
    flex: 1;
}

.card-desc .required {
    color: var(--hud-alert);
    text-shadow: 0 0 10px var(--hud-alert-glow);
    font-size: 14px;
    letter-spacing: 2px;
}

.card-desc .restricted {
    color: var(--phosphor-dim);
    font-size: 14px;
    letter-spacing: 2px;
}

/* ===== ACCESS DIVIDER ===== */
.access-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0.4;
    padding: 0 8px;
}

.divider-line {
    width: 1px;
    flex: 1;
    min-height: 60px;
    background: var(--phosphor-dark);
}

.divider-text {
    font-size: 14px;
    letter-spacing: 3px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* ===== BUTTONS ===== */
.access-btn {
    background: transparent;
    border: 2px solid var(--phosphor);
    color: var(--phosphor);
    font-family: var(--font);
    font-size: 16px;
    letter-spacing: 3px;
    padding: 12px 28px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 220px;
}

.access-btn:hover {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 30px var(--phosphor);
}

.access-btn:active {
    border-color: var(--hud-alert);
    background: rgba(255, 107, 53, 0.4);
    color: var(--hud-alert);
    box-shadow: 0 0 50px var(--hud-alert-glow), 0 0 80px rgba(255, 69, 0, 0.5);
    transform: scale(0.97);
    transition: all 0.1s;
}

.access-btn.secondary {
    border-color: var(--phosphor-dark);
    color: var(--phosphor-dim);
    font-size: 16px;
    padding: 12px 30px;
}

.access-btn.secondary:hover {
    border-color: var(--phosphor);
    color: var(--phosphor);
}

.access-btn.secondary:active {
    border-color: var(--hud-alert);
    background: rgba(255, 107, 53, 0.4);
    color: var(--hud-alert);
    box-shadow: 0 0 50px var(--hud-alert-glow), 0 0 80px rgba(255, 69, 0, 0.5);
    transform: scale(0.97);
}

.access-btn.connected {
    border-color: var(--hud-alert);
    background: rgba(255, 107, 53, 0.2);
    color: var(--hud-alert);
}

.btn-status {
    margin-left: 12px;
    font-size: 14px;
    color: var(--hud-alert);
}

/* ===== FOOTER ===== */
.landing-footer {
    margin-top: 50px;
    text-align: center;
    opacity: 0.6;
    padding: 20px;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--phosphor);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--phosphor);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.status-text {
    font-size: 16px;
    letter-spacing: 3px;
}

.network-status {
    font-size: 12px;
    letter-spacing: 2px;
    opacity: 0.5;
}

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 15, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 200;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-overlay.hidden {
    display: none;
    opacity: 0;
}

.modal-container {
    background: var(--bg-panel);
    border: 1px solid var(--phosphor);
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--phosphor-dark);
    font-size: 18px;
    letter-spacing: 4px;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--phosphor);
    font-size: 32px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.modal-close:hover {
    opacity: 1;
    color: var(--hud-alert);
}

.modal-content {
    padding: 16px;
}

.wallet-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    margin-bottom: 12px;
    border: 1px solid var(--phosphor-dark);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.wallet-option:last-child {
    margin-bottom: 0;
}

.wallet-option:hover {
    border-color: var(--phosphor);
    background: rgba(0, 229, 255, 0.05);
}

.wallet-option:active {
    border-color: var(--hud-alert);
    background: rgba(255, 107, 53, 0.35);
    box-shadow: 0 0 30px var(--hud-alert-glow);
    transform: scale(0.98);
}

.wallet-name {
    font-size: 18px;
    letter-spacing: 2px;
}

.wallet-status {
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.6;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--phosphor-dark);
    text-align: center;
}

.modal-hint {
    font-size: 12px;
    opacity: 0.4;
    letter-spacing: 1px;
}

/* ===== GUEST SCREEN ===== */
.guest-screen {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 40px 140px;
    position: relative;
    z-index: 1;
    overflow-y: auto;
}

.guest-screen.hidden {
    display: none;
}

.guest-container {
    text-align: center;
    max-width: 600px;
    width: 100%;
    margin-top: 40px;
}

.guest-header {
    margin-bottom: 50px;
}

.guest-header .header-title {
    font-size: clamp(48px, 10vw, 80px);
    letter-spacing: clamp(10px, 2vw, 16px);
}

.guest-badge {
    display: inline-block;
    margin-left: 20px;
    padding: 8px 16px;
    border: 1px solid var(--hud-alert);
    color: var(--hud-alert);
    font-size: 14px;
    letter-spacing: 4px;
    text-shadow: 0 0 10px var(--hud-alert-glow);
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.2);
}

.guest-content {
    margin-bottom: 60px;
}

.guest-message {
    font-size: 24px;
    line-height: 2;
    letter-spacing: 2px;
    margin-bottom: 40px;
}

.message-line {
    margin-bottom: 16px;
}

.message-line.dim {
    opacity: 0.5;
    font-size: 18px;
}

.guest-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.guest-footer {
    margin-top: 50px;
    padding: 20px;
}

.guest-footer .status-text {
    color: var(--hud-alert);
    text-shadow: 0 0 10px var(--hud-alert-glow);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .landing-container {
        padding: 40px 20px 100px;
    }
    
    .landing-header {
        margin-bottom: 30px;
    }
    
    .header-title {
        font-size: clamp(48px, 15vw, 72px);
        letter-spacing: clamp(8px, 2vw, 12px);
    }
    
    .access-options {
        flex-direction: column;
        max-width: 400px;
        gap: 20px;
    }
    
    .access-divider {
        flex-direction: row;
        padding: 8px 0;
    }
    
    .divider-line {
        width: auto;
        height: 1px;
        min-height: auto;
        flex: 1;
    }
    
    .divider-text {
        writing-mode: horizontal-tb;
    }
    
    .access-card {
        padding: 28px 20px;
        min-width: auto;
    }
    
    .card-title {
        font-size: 18px;
        letter-spacing: 3px;
    }
    
    .card-desc {
        font-size: 13px;
    }
    
    .access-btn {
        font-size: 14px;
        padding: 12px 24px;
        max-width: 100%;
    }
    
    .guest-header .header-title {
        font-size: 48px;
        letter-spacing: 10px;
    }
    
    .guest-badge {
        display: block;
        margin: 20px auto 0;
    }
    
    .landing-footer {
        margin-top: 30px;
    }
}
