@font-face {
    font-family: "Cairo";
    src: url("assets/fonts/Cairo-VariableFont.ttf") format("truetype");
    font-weight: 200 1000;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #0d0d0b;
    --bg-soft: #17130f;
    --gold: #d4b483;
    --gold-bright: #e7cca0;
    --white: #ffffff;
    --muted: rgba(255, 255, 255, 0.58);
    --faint: rgba(255, 255, 255, 0.08);
    --panel: rgba(255, 255, 255, 0.035);
    --panel-strong: rgba(255, 255, 255, 0.065);
    --border: rgba(212, 180, 131, 0.16);
    --shadow: rgba(0, 0, 0, 0.42);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
}

body {
    min-height: 100vh;
    margin: 0;
    font-family: "Cairo", system-ui, sans-serif;
    color: var(--white);
    background:
        radial-gradient(circle at center, rgba(212, 180, 131, 0.11), transparent 30rem),
        radial-gradient(circle at 8% 88%, rgba(255, 255, 255, 0.045), transparent 24rem),
        linear-gradient(145deg, var(--bg) 0%, #11100d 46%, var(--bg-soft) 100%);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, rgba(212, 180, 131, 0.095), transparent 34rem);
}

.dot-background {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(var(--gold) 1.3px, transparent 1.3px);
    background-size: 38px 38px;
    opacity: 0.052;
}

.ambient {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    border: 1px solid rgba(212, 180, 131, 0.08);
    opacity: 0.45;
    filter: blur(1px);
}

.ambient-one {
    width: 26rem;
    height: 26rem;
    top: -14rem;
    right: -10rem;
    border-radius: 999px;
}

.ambient-two {
    width: 18rem;
    height: 18rem;
    bottom: -10rem;
    left: -7rem;
    border-radius: 999px;
}

.page-shell {
    position: relative;
    z-index: 1;
    width: min(100%, 520px);
    min-height: 100vh;
    margin: 0 auto;
    padding: 32px 18px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.hero {
    text-align: center;
    display: grid;
    gap: 12px;
}

.brand-lockup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 0;
}

.brand-logo {
    width: 76px;
    height: 76px;
    object-fit: contain;
    filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.48));
}

.brand-copy {
    display: grid;
    gap: 1px;
    line-height: 1.08;
    text-align: center;
}

.arabic-brand {
    margin: 0;
    font-size: 16px;
    font-weight: 950;
    color: var(--white);
    white-space: nowrap;
}

.arabic-brand span,
.brand-copy h1 span,
.hero-kicker {
    color: var(--gold);
}

.brand-copy h1 {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    color: var(--white);
    white-space: nowrap;
}

.hero-kicker {
    width: fit-content;
    margin: 0 auto;
    padding: 5px 13px;
    border: 1px solid rgba(212, 180, 131, 0.18);
    border-radius: 999px;
    background: rgba(212, 180, 131, 0.075);
    font-size: 12px;
    font-weight: 850;
}

.hero-text {
    max-width: 500px;
    margin: 4px auto 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 14.5px;
    line-height: 2;
    font-weight: 650;
}

.links-panel {
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(180deg, var(--panel-strong), var(--panel));
    box-shadow: 0 26px 70px var(--shadow);
    backdrop-filter: blur(18px);
}

.social-link {
    min-height: 76px;
    display: grid;
    grid-template-columns: 52px 1fr 32px;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--faint);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.18);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.social-link:focus-visible {
    border-color: rgba(212, 180, 131, 0.42);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28), 0 0 24px rgba(212, 180, 131, 0.08);
    transform: translateY(-2px);
    outline: none;
}

.social-link:hover {
    outline: none;
}

.social-link:active {
    border-color: rgba(212, 180, 131, 0.3);
    background: rgba(255, 255, 255, 0.055);
    transform: scale(0.99);
}

.social-link.primary {
    background: linear-gradient(135deg, rgba(212, 180, 131, 0.17), rgba(255, 255, 255, 0.045));
    border-color: rgba(212, 180, 131, 0.32);
}

.icon-wrap {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--gold);
    background:
        linear-gradient(145deg, rgba(212, 180, 131, 0.16), rgba(255, 255, 255, 0.045)),
        rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(212, 180, 131, 0.18);
}

.social-icon {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.telegram-icon {
    transform: translateX(-1px);
}

.link-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
    text-align: right;
}

.link-copy strong {
    font-size: 16px;
    font-weight: 950;
    color: var(--white);
}

.link-copy small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.arrow {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: var(--gold-bright);
    font-size: 17px;
    font-weight: 900;
}

.page-footer {
    display: grid;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: rgba(212, 180, 131, 0.62);
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0;
    text-align: center;
    direction: ltr;
}

.footer-brand {
    color: rgba(212, 180, 131, 0.78);
    font-weight: 900;
}

.footer-rights {
    color: rgba(255, 255, 255, 0.38);
    font-size: 9.5px;
    font-weight: 700;
}

@media (max-width: 420px) {
    .page-shell {
        padding: 24px 12px 18px;
        justify-content: flex-start;
    }

    .brand-logo {
        width: 66px;
        height: 66px;
    }

    .arabic-brand,
    .brand-copy h1 {
        font-size: 14px;
    }

    .links-panel {
        padding: 10px;
        border-radius: 20px;
    }

    .social-link {
        grid-template-columns: 52px 1fr 30px;
        min-height: 76px;
        gap: 10px;
        padding: 10px;
        border-radius: 14px;
    }

    .icon-wrap {
        width: 52px;
        height: 52px;
        border-radius: 13px;
    }

    .social-icon {
        width: 25px;
        height: 25px;
    }

    .link-copy strong {
        font-size: 15px;
    }

    .page-footer {
        flex-wrap: wrap;
        row-gap: 4px;
    }
}

@media (hover: hover) and (pointer: fine) {
    .social-link:hover {
        border-color: rgba(212, 180, 131, 0.42);
        background: rgba(255, 255, 255, 0.06);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28), 0 0 24px rgba(212, 180, 131, 0.08);
        transform: translateY(-2px);
    }
}

@media (hover: none), (pointer: coarse) {
    .social-link:focus {
        outline: none;
    }

    .social-link:focus-visible {
        transform: none;
        box-shadow: none;
    }
}

@media (min-width: 800px) {
    .page-shell {
        width: min(100%, 560px);
    }

    .links-panel {
        grid-template-columns: 1fr;
        padding: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
