:root {
    --bg: #0f172a;
    --card-bg: #ffffff;
    --accent: #2563eb;
    --accent-dark: #1e40af;
    --text: #1e293b;
    --muted: #64748b;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(160deg, #0f172a 0%, #1e3a8a 55%, #7c3aed 100%);
    min-height: 100vh;
    color: #fff;
}

/* Info button + box */
#info-btn {
    position: fixed;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    font-family: Georgia, serif;
    font-style: italic;
    cursor: pointer;
    z-index: 50;
}
#info-btn:hover { background: rgba(255, 255, 255, 0.25); }

#info-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 10, 24, 0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 100;
}
#info-overlay.hidden { display: none; }

#info-box {
    position: relative;
    max-width: 560px;
    width: 100%;
    max-height: 84vh;
    overflow-y: auto;
    background: var(--card-bg, rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 26px 26px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
}
#info-box {
    color: #111827;
}
#info-box h2 {
    margin: 0 0 10px;
    font-size: 22px;
    color: #111827;
}
#info-box p { margin: 8px 0; font-size: 15px; line-height: 1.5; color: #1f2937; }
#info-box a { color: #2563eb; text-decoration: underline; }
#info-close {
    position: absolute;
    top: 10px;
    right: 12px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}
#info-close:hover { color: #111827; }
#info-box details { margin-top: 14px; }
#info-box summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    color: #111827;
}
#info-box .info-body { margin-top: 8px; }
#info-box .info-body p { font-size: 13.5px; color: #374151; }
#info-box strong { color: #111827; }

.portal {
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 20px 32px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.hero {
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 44px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.hero h1 span {
    background: linear-gradient(90deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero .tagline {
    margin-top: 10px;
    font-size: 17px;
    color: #cbd5e1;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    flex: 1;
    align-content: start;
}

.card {
    background: var(--card-bg);
    color: var(--text);
    border-radius: 16px;
    padding: 26px 20px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.card img {
    width: 88px;
    height: 88px;
    object-fit: contain;
}

.card h2 {
    font-size: 20px;
    color: var(--accent-dark);
}

.card p {
    font-size: 14px;
    color: var(--muted);
}

.footer {
    text-align: center;
    margin-top: 36px;
    font-size: 13px;
    color: #94a3b8;
}

.dash-link {
    display: inline-block;
    margin-top: 8px;
    color: #4ade80;
    text-decoration: none;
    font-weight: 600;
}

.dash-link:hover {
    text-decoration: underline;
}

.taco-link {
    display: inline-block;
    margin-top: 6px;
    color: #22c55e;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
}

.taco-link:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .hero h1 { font-size: 34px; }
    .grid { grid-template-columns: 1fr; }
}
