*,
*::before,
*::after { box-sizing: border-box; }

:root {
    --bg: #2b2b2e;          /* dark gray */
    --text: #f2f2f2;
    --badge-h: 54px;
    --focus: #ffffff;
    --gap-below-image: 50px;
}

html, body { height: 100%; margin: 0; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.stage {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.hero {
    display: block;
    width: 100%;
    max-width: 960px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.links {
    margin-top: var(--gap-below-image);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: var(--badge-h);
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 4px;
}

/* Apple's badge is a complete button on its own: show it as-is. */
.btn--apple .btn__img {
    height: 100%;
    width: auto;
    display: block;
}

/* Spotify's green logo is only allowed on black or white, so it sits
   on a black badge sized and bordered to match Apple's. */
.btn--spotify {
    width: calc(var(--badge-h) * 2.593);
    padding: 0 18px;
    background: #000;
    border: 2px solid #a6a6a6;
}

.btn--spotify .btn__img {
    height: 48%;
    width: auto;
    max-width: 100%;
    display: block;
}

@media (max-width: 360px) {
    .links { flex-direction: column; align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
    .btn { transition: none; }
}
