/* Shared UI for bundled mini-games (buttons, result cards, mobile sizing). */
:root {
    --color-skyblue: #4EA8DE;
    --color-yellow: #FFD166;
    --color-orange: #FF9F1C;
    --color-green: #06D6A0;
    --color-pink: #FF70A6;
    --color-purple: #8338EC;
    --color-dark: #2D3142;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; }
body {
    min-height: 0 !important;
    -webkit-tap-highlight-color: transparent;
}

/* Theme pill buttons */
.vg-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 10px 22px;
    border: none;
    border-radius: 50px;
    color: #fff;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.vg-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.vg-btn:active { transform: translateY(1px); box-shadow: 0 2px 6px rgba(45, 49, 66, 0.2); }
.vg-btn--purple { background: linear-gradient(135deg, #9D5CF5, var(--color-purple)); box-shadow: 0 6px 16px rgba(131, 56, 236, 0.35); }
.vg-btn--orange { background: linear-gradient(135deg, #FFB347, var(--color-orange)); box-shadow: 0 6px 16px rgba(255, 159, 28, 0.4); }
.vg-btn--green  { background: linear-gradient(135deg, #2EE6B6, var(--color-green)); box-shadow: 0 6px 16px rgba(6, 214, 160, 0.35); }
.vg-btn--pink   { background: linear-gradient(135deg, #FF8FBA, var(--color-pink)); box-shadow: 0 6px 16px rgba(255, 112, 166, 0.35); }

.vg-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 16px;
}
.vg-actions[hidden] { display: none; }

/* Soft result card */
.vg-card {
    background: #fff;
    color: var(--color-dark);
    border-radius: 24px;
    padding: 28px 22px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(45, 49, 66, 0.18);
}
.vg-card h2 { margin: 0 0 8px; color: var(--color-pink); font-size: 1.9rem; }

@media (max-width: 420px) {
    body { padding: 12px !important; }
    h1 { font-size: 1.6rem !important; }
    .subtitle { font-size: 0.95rem !important; }
    .vg-btn { flex: 1 1 100%; font-size: 1rem; }
    .vg-card { padding: 22px 16px; }
    .vg-card h2 { font-size: 1.6rem; }
}
