:root {
    --background: #15181D;
    --surface: #1F2328;
    --border: #2E333A;
    --text: #ECEEF1;
    --muted: #9AA1AA;
    --gold: #D4A017;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 48px 20px 64px;
    background: var(--background);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
}

main {
    max-width: 720px;
    margin: 0 auto;
}

h1 {
    font-size: 38px;
    line-height: 1.25;
    margin: 0 0 8px;
}

h2 {
    font-size: 21px;
    margin: 40px 0 10px;
    color: var(--gold);
}

p { margin: 0 0 16px; }

a { color: var(--gold); }

.muted { color: var(--muted); }

.header {
    text-align: center;
    margin-bottom: 48px;
}

.header img {
    width: 80px;
    height: 80px;
    margin-bottom: 18px;
    border-radius: 20px;
}

.back {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--muted);
    text-decoration: none;
}

.back:hover { color: var(--text); }

.apps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
    margin-bottom: 56px;
}

.app {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 152px;
    color: var(--text);
    font-size: 16px;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
}

.app img {
    width: 128px;
    height: 128px;
    margin-bottom: 12px;
    border-radius: 30px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    transition: transform 0.15s ease;
}

.app:hover img,
.app:focus-visible img { transform: scale(1.06); }

.app:active img { transform: scale(0.96); }

footer {
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
    font-size: 15px;
}
