@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #000000;
    --card: #0a0a0a;
    --border: #1f1f1f;
    --accent: #2563eb;
    --text-main: #ffffff;
    --text-mute: #666666;
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }

body {
    background: var(--bg);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    height: 100dvh;
}

.app-card {
    background: var(--card);
    border: 1px solid var(--border);
    width: 100%;
    max-width: 400px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.5);
}

.app-header {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border);
}

/* .logo-dot { width: 12px; height: 12px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 10px var(--accent); }
h1 { font-size: 1rem; font-weight: 600; letter-spacing: -0.02em; } */

.selection-area { padding: 24px; }
.label { font-size: 0.7rem; font-weight: 700; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; }

.chip-container { display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-mute);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.chip.active { background: var(--text-main); color: var(--bg); border-color: var(--text-main); }
.chip:hover:not(.active) { border-color: var(--text-mute); color: var(--text-main); }

.result-area {
    flex-grow: 1;
    padding: 0 24px 24px 24px;
    min-height: 160px;
}

#result-display {
    height: 100%;
    background: #0e0e0e;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease;
}

#result-display.pop { transform: scale(1.02); border-color: var(--accent); }

#activity-title { font-size: 1.1rem; font-weight: 500; line-height: 1.4; margin-bottom: 12px; }

.meta-info { display: flex; gap: 8px; font-size: 0.7rem; font-weight: 600; color: var(--text-mute); text-transform: uppercase; }

.action-footer { padding: 24px; border-top: 1px solid var(--border); }

#spin-btn {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: none;
    background: var(--text-main);
    color: var(--bg);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
}

#spin-btn:hover { background: #e0e0e0; transform: translateY(-1px); }
#spin-btn:active { transform: translateY(0); }

@media (max-width: 440px) {
    body { padding: 16px; }
    .app-card { max-height: 90vh; }
}