:root {
    --bg-main: #070a12;
    --bg-card: #0f1422;
    --border-subtle: #192236;
    --text-primary: #f8fafc;
    --text-muted: #475569;
    --studio-cyan: #38bdf8;
    --studio-green: #22c55e;
    --studio-amber: #f59e0b;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

body { background-color: var(--bg-main); color: var(--text-primary); min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; }

.hub-nav { border-bottom: 1px solid var(--border-subtle); padding: 15px 20px; background: rgba(15, 20, 34, 0.6); backdrop-filter: blur(12px); }
.nav-container { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.brand-logo { font-weight: 800; font-size: 1.1rem; letter-spacing: -0.5px; }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-support-btn {
    font-size: 0.75rem;
    font-weight: 600;
    color: #cbd5e1;
    text-decoration: none;
    padding: 6px 12px;
    border: 1px solid #334155;
    border-radius: 6px;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.nav-support-btn:hover { color: var(--studio-cyan); border-color: rgba(56, 189, 248, 0.45); }
.status-badge { font-size: 0.68rem; color: #64748b; font-weight: 600; display: flex; align-items: center; gap: 6px; text-transform: uppercase; }
.pulse-dot { width: 6px; height: 6px; background: var(--studio-green); border-radius: 50%; box-shadow: 0 0 8px var(--studio-green); animation: statusPulse 2s infinite; }

@keyframes statusPulse { 0% { opacity: 0.4; } 50% { opacity: 1; } 100% { opacity: 0.4; } }

.hub-hero { max-width: 700px; margin: 60px auto 40px auto; text-align: center; padding: 0 20px; }
.hub-hero h1 { font-size: 2.2rem; font-weight: 900; letter-spacing: -1px; margin-bottom: 12px; }
.hub-hero p { color: #64748b; font-size: 0.95rem; line-height: 1.6; }

.hub-grid-container { max-width: 1100px; width: 100%; margin: 50px auto auto auto; padding: 0 20px 60px 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

.tool-card { background-color: var(--bg-card); border: 1px solid var(--border-subtle); border-radius: 12px; padding: 30px; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; position: relative; overflow: hidden; min-height: 240px; }
.tool-card:not(.encrypted-hold):hover { transform: translateY(-3px); border-color: var(--studio-cyan); box-shadow: 0 15px 35px rgba(56, 189, 248, 0.05); }

.card-status { align-self: flex-start; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; margin-bottom: 16px; letter-spacing: 0.5px; }
.card-status.active { background: rgba(34, 197, 94, 0.08); color: var(--studio-green); border: 1px solid rgba(34, 197, 94, 0.15); }
.card-status.encrypted { background: rgba(245, 158, 11, 0.08); color: var(--studio-amber); border: 1px solid rgba(245, 158, 11, 0.15); z-index: 10; }

.tool-card h3 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; color: #fff; letter-spacing: -0.5px; }
.tool-card p { font-size: 0.88rem; color: #64748b; line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }
.launch-cta { font-size: 0.85rem; font-weight: 700; color: var(--studio-cyan); }

.encrypted-hold { border-style: dashed; background: rgba(15, 20, 34, 0.3); cursor: help; }
.blurred-content-mask { filter: blur(7px); opacity: 0.15; user-select: none; pointer-events: none; transition: filter 0.3s ease; }
.countdown-overlay-deck { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; box-sizing: border-box; }
.hint-text-badge { font-size: 0.72rem; color: #94a3b8; font-weight: 600; text-transform: uppercase; background: #161f38; border: 1px solid var(--border-subtle); padding: 5px 12px; border-radius: 20px; margin-bottom: 12px; letter-spacing: 0.5px; text-shadow: 0 0 4px rgba(0,0,0,0.5); }
.timer-digits { font-family: monospace; font-size: 1.15rem; font-weight: 800; color: var(--studio-amber); letter-spacing: 1px; background: rgba(7, 10, 18, 0.8); border: 1px solid rgba(245, 158, 11, 0.2); padding: 8px 16px; border-radius: 6px; box-shadow: 0 4px 12px rgba(0,0,0,0.4); }

.hub-footer { text-align: center; padding: 40px 20px; border-top: 1px solid var(--border-subtle); background: #0b0f1a; margin-top: auto; }
.footer-legal-grid { max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.copyright-row { font-size: 0.78rem; font-weight: 600; color: #94a3b8; }
.compliance-row { font-size: 0.7rem; color: #475569; line-height: 1.6; font-weight: 500; }
.footer-divider { margin: 0 6px; color: #1e293b; }
.footer-link { color: #64748b; text-decoration: underline; font-weight: 600; transition: color 0.15s; }
.footer-link:hover { color: var(--studio-cyan); }
