:root {
    --page: #07080d;
    --card: #1b1b22;
    --item: #303038;
    --border: #595a66;
    --gold: #d9a83d;
    --text: #f8f8fa;
    --muted: #b8b7c0;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: Tahoma, Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 5%, rgba(201, 148, 66, 0.34), transparent 25%),
        radial-gradient(circle at 100% 44%, rgba(12, 65, 75, 0.24), transparent 26%),
        var(--page);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.links-page {
    width: 100%;
    min-height: 100vh;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone-speaker {
    width: 124px;
    height: 8px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: #6c6c78;
}

.links-card {
    width: min(100%, 520px);
    min-height: 780px;
    padding: 34px 30px 28px;
    border: 1px solid var(--border);
    border-radius: 34px;
    text-align: center;
    background: rgba(27, 27, 34, 0.97);
}

.links-logo {
    width: 112px;
    height: 112px;
    margin: 0 auto 22px;
    padding: 10px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 30px;
    background: linear-gradient(145deg, #e8bd55, #c99442);
}

.links-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.links-header {
    direction: ltr;
}

.links-header h1 {
    margin: 0;
    font-size: clamp(32px, 8vw, 43px);
    line-height: 1.12;
    letter-spacing: 0;
}

.links-header p {
    margin: 8px 0 34px;
    color: var(--muted);
    font-size: 18px;
}

.social-links-list {
    display: grid;
    gap: 14px;
    direction: ltr;
}

.social-links-list > a {
    min-height: 76px;
    padding: 10px 17px;
    display: grid;
    grid-template-columns: 52px 1fr 28px;
    gap: 14px;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 22px;
    text-align: left;
    background: var(--item);
    transition: transform 0.2s, border-color 0.2s, background 0.2s;
}

.social-links-list > a:hover {
    transform: translateY(-3px);
    border-color: var(--gold);
    background: #373740;
}

.social-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 25px;
    font-weight: 900;
}

.x-icon {
    color: #08080b;
    background: #fff;
}

.snapchat-icon {
    color: #111;
    background: #fff600;
}

.tiktok-icon {
    color: #fff;
    background: #08080b;
}

.facebook-icon {
    color: #fff;
    background: #1877f2;
    font-family: Arial, sans-serif;
}

.instagram-icon {
    color: #fff;
    background: linear-gradient(145deg, #833ab4, #fd1d1d, #fcb045);
}

.social-copy {
    min-width: 0;
}

.social-copy strong,
.social-copy small {
    display: block;
}

.social-copy strong {
    font-size: 23px;
    line-height: 1.1;
}

.social-copy small {
    margin-top: 3px;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.external-arrow {
    color: #b8b8c2;
    font-size: 24px;
    font-weight: 900;
}

.links-qr {
    width: 210px;
    margin: 32px auto 0;
    padding: 14px 10px 16px;
    border-radius: 24px;
    color: #17171b;
    background: #fff;
}

.links-qr img {
    width: 190px;
    height: 190px;
    margin: 0 auto;
}

.links-qr p {
    margin: 8px -40px 2px;
    color: var(--muted);
    font-size: 12px;
    white-space: nowrap;
}

.links-qr small {
    color: #8d8d95;
    font-size: 11px;
}

@media (max-width: 560px) {
    .links-page {
        padding: 18px 12px;
    }

    .phone-speaker {
        width: 112px;
        margin-bottom: 14px;
    }

    .links-card {
        min-height: 0;
        padding: 32px 18px 24px;
        border-radius: 28px;
    }

    .links-logo {
        width: 96px;
        height: 96px;
        border-radius: 26px;
    }

    .links-header h1 {
        font-size: 34px;
    }

    .links-header p {
        margin-bottom: 28px;
        font-size: 16px;
    }

    .social-links-list > a {
        min-height: 72px;
        grid-template-columns: 48px 1fr 24px;
        gap: 12px;
        border-radius: 20px;
    }

    .social-icon {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .social-copy strong {
        font-size: 20px;
    }

    .links-qr {
        margin-top: 28px;
    }
}
