﻿/* ==============================
   GLOBAL PAGE SCOPE
================================ */
.reach-page {
    position: relative;
    min-height: 100vh;
    color: #fff;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* Fireworks canvas */
#kda-fireworks {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

/* ==============================
   COLORFUL BACKGROUND
================================ */
.reach-bg {
    min-height: 100vh;
    padding: 2rem;
    background: radial-gradient(circle at 10% 10%, #7c3aed55, transparent 40%), radial-gradient(circle at 90% 20%, #06b6d455, transparent 40%), radial-gradient(circle at 30% 85%, #22c55e55, transparent 40%), linear-gradient(135deg, #020617, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==============================
   GLASS CARD
================================ */
.reach-card {
    width: 100%;
    max-width: 920px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.15);
    box-shadow: 0 30px 90px rgba(0,0,0,.6);
    padding: 2rem;
}

/* ==============================
   LANGUAGE TOGGLE
================================ */
.reach-lang {
    display: flex;
    gap: .5rem;
    justify-content: flex-end;
}

    .reach-lang button {
        border-radius: 999px;
        padding: .4rem .9rem;
        font-weight: 800;
        border: 1px solid rgba(255,255,255,.35);
        background: transparent;
        color: #fff;
    }

        .reach-lang button.active {
            background: linear-gradient(90deg,#38bdf8,#a855f7);
            border-color: transparent;
        }

/* RTL support */
[dir="rtl"] .reach-lang {
    justify-content: flex-start;
}

/* ==============================
   TITLES
================================ */
.reach-title {
    text-align: center;
    font-size: 2.7rem;
    font-weight: 900;
    margin: 1.2rem 0 .4rem;
    background: linear-gradient(90deg,#38bdf8,#a855f7,#22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reach-subtitle {
    text-align: center;
    opacity: .85;
    margin-bottom: 2rem;
}

/* ==============================
   LINK TREE ITEMS
================================ */
.reach-items {
    display: grid;
    gap: 1rem;
}

.reach-item {
    display: flex;
    align-items: stretch;
    border-radius: 18px;
    background: linear-gradient(120deg,#0ea5e9,#6366f1,#22c55e);
    background-size: 200% 200%;
    animation: gradientMove 6s ease infinite;
    box-shadow: 0 14px 40px rgba(0,0,0,.45);
    overflow: hidden;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

.reach-item a {
    flex: 1;
    padding: 1.1rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    text-decoration: none;
}

.reach-icon {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: rgba(0,0,0,.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.reach-text strong {
    display: block;
    font-weight: 900;
}

.reach-text span {
    font-size: .9rem;
    opacity: .85;
}

.reach-copy {
    border: none;
    background: rgba(0,0,0,.35);
    color: #fff;
    padding: 0 1rem;
    font-weight: 800;
}

/* ==============================
   QR FRAME
================================ */
.qr-frame {
    display: inline-block;
    padding: 14px;
    border-radius: 28px;
    background: linear-gradient(135deg,#38bdf8,#a855f7,#22c55e);
    animation: gradientMove 6s ease infinite;
}

.qr-inner {
    background: #fff;
    padding: 18px;
    border-radius: 20px;
}

/* ==============================
   BUTTONS
================================ */
.reach-btn {
    border-radius: 999px;
    padding: .7rem 1.6rem;
    font-weight: 800;
    border: none;
    background: linear-gradient(90deg,#38bdf8,#a855f7);
    color: #fff;
}
