/* ============================================================
   Platform Navigation - Modern top-level tab bar
   Clean, neutral design distinct from the dark cyber panels
   ============================================================ */

#platform-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
    padding: 0 24px;
    background: linear-gradient(135deg, #1e1e2e 0%, #252540 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 100;
    flex-shrink: 0;
}

.platform-brand {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
}

.platform-brand:hover {
    color: #f8fafc;
}

.platform-brand::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #6366f1;
    border-radius: 2px;
    transform: rotate(45deg);
}

.platform-tabs {
    display: flex;
    gap: 4px;
    height: 100%;
    align-items: stretch;
}

.platform-tab {
    position: relative;
    padding: 0 20px;
    background: none;
    border: none;
    color: #94a3b8;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.platform-tab:hover {
    color: #e2e8f0;
}

.platform-tab.active {
    color: #f1f5f9;
}

.platform-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    right: 12px;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    border-radius: 3px 3px 0 0;
}

.platform-tab .tab-icon {
    font-size: 15px;
    opacity: 0.8;
}

.platform-tab.active .tab-icon {
    opacity: 1;
}

/* Nav right-side actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* About button */
.about-btn {
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.about-btn:hover {
    background: rgba(99, 102, 241, 0.25);
    color: #e0e7ff;
}

/* Donate button */
.donate-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f59e0b;
    color: #1e1e2e;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.donate-btn:hover {
    background: #fbbf24;
    transform: scale(1.04);
}

/* About Modal Overlay */
.about-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
}

.about-overlay.visible {
    display: flex;
}

.about-card {
    position: relative;
    width: 90%;
    max-width: 480px;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 36px 32px 28px;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    animation: aboutSlideIn 0.25s ease-out;
}

@keyframes aboutSlideIn {
    from { opacity: 0; transform: translateY(16px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.about-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    color: #64748b;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.about-close:hover {
    color: #f1f5f9;
}

.about-avatar {
    font-size: 48px;
    margin-bottom: 12px;
}

.about-name {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 6px;
}

.about-tagline {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    color: #8b5cf6;
    font-weight: 600;
    margin: 0 0 20px;
}

.about-body {
    text-align: left;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.7;
}

.about-body p {
    margin: 0 0 10px;
}

.about-body strong {
    color: #f1f5f9;
}

.about-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 20px;
    padding: 10px 22px;
    background: #f59e0b;
    color: #1e1e2e;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.about-cta:hover {
    background: #fbbf24;
    transform: scale(1.04);
}

/* Tab content areas */
.tab-content {
    display: none;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.tab-content.active {
    display: flex;
}
