:root {
    --forest-950: #0c251a;
    --forest-900: #123525;
    --forest-800: #183f2d;
    --forest-700: #24573f;
    --leaf-500: #8fd84e;
    --leaf-300: #b8ed79;
    --cream-50: #fbfaf4;
    --cream-100: #f4f0e4;
    --gold-400: #d7ad57;
    --ink: #143124;
    --muted: #5d6c63;
    --white: #ffffff;
    --shadow: 0 28px 80px rgba(10, 41, 27, 0.16);
    --radius-xl: 34px;
    --radius-lg: 22px;
}

* {
    box-sizing: border-box;
}

html {
    min-width: 320px;
    background: var(--cream-50);
    scroll-behavior: smooth;
}

body.bassmat-coming-soon {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 18%, rgba(143, 216, 78, 0.18), transparent 28rem),
        radial-gradient(circle at 88% 88%, rgba(215, 173, 87, 0.18), transparent 30rem),
        linear-gradient(145deg, var(--cream-50), #f5f7ed 55%, #edf4e8);
    font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-shell {
    min-height: calc(100vh - 32px);
}

a,
button {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--gold-400);
    outline-offset: 4px;
}

.site-shell {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
}

.ambient {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(36, 87, 63, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.ambient--one {
    width: 28rem;
    height: 28rem;
    inset: -10rem auto auto -8rem;
}

.ambient--two {
    width: 20rem;
    height: 20rem;
    inset: auto -7rem -7rem auto;
}

.site-header,
.site-footer,
.launch-card {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 24px;
}

.brand-mini {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--forest-900);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.brand-mini__mark {
    display: block;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(24, 63, 45, 0.18);
}

.language-switcher {
    display: flex;
    position: relative;
    max-width: 240px;
    align-items: center;
    gap: 9px;
    padding: 5px 12px;
    border: 1px solid rgba(20, 49, 36, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 10px 30px rgba(25, 62, 44, 0.06);
    backdrop-filter: blur(14px);
}

.language-switcher::after {
    content: "⌄";
    color: var(--forest-700);
    font-size: 0.82rem;
    pointer-events: none;
}

.language-switcher__globe {
    display: grid;
    width: 27px;
    height: 27px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: var(--white);
    background: var(--forest-800);
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
}

.language-select {
    width: 150px;
    min-height: 38px;
    padding: 5px 2px;
    appearance: none;
    border: 0;
    outline: 0;
    color: var(--forest-900);
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
}

.launch-card {
    display: grid;
    flex: 1;
    grid-template-columns: minmax(0, 1.22fr) minmax(320px, 0.78fr);
    margin-block: 22px 26px;
    overflow: hidden;
    border: 1px solid rgba(20, 49, 36, 0.09);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.launch-copy {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 7vw, 84px);
    text-align: center;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    border: 1px solid rgba(36, 87, 63, 0.13);
    border-radius: 999px;
    color: var(--forest-700);
    background: rgba(143, 216, 78, 0.1);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.status-pill__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--leaf-500);
    box-shadow: 0 0 0 5px rgba(143, 216, 78, 0.16);
}

.logo-wrap {
    position: relative;
    display: grid;
    width: clamp(150px, 17vw, 210px);
    margin-block: 28px 20px;
    place-items: center;
    aspect-ratio: 1;
    animation: bassmat-logo-float 4.8s ease-in-out infinite;
    will-change: transform;
}

.logo-halo {
    position: absolute;
    inset: -12px;
    border: 1px solid rgba(143, 216, 78, 0.46);
    border-radius: 50%;
    box-shadow: 0 0 0 14px rgba(143, 216, 78, 0.06);
    animation: bassmat-halo-pulse 4.8s ease-in-out infinite;
}

@keyframes bassmat-logo-float {
    0%,
    100% {
        transform: translateY(0) rotate(-0.7deg);
    }

    50% {
        transform: translateY(-9px) rotate(0.7deg);
    }
}

@keyframes bassmat-halo-pulse {
    0%,
    100% {
        opacity: 0.65;
        transform: scale(0.97);
    }

    50% {
        opacity: 1;
        transform: scale(1.045);
    }
}

.organization-logo {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    border: 7px solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 18px 42px rgba(24, 63, 45, 0.2);
}

.supervision {
    margin: 0;
    color: var(--forest-800);
    font-size: clamp(0.9rem, 1.7vw, 1rem);
    font-weight: 800;
}

.eyebrow {
    margin: 18px 0 8px;
    color: var(--gold-400);
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.launch-copy h1 {
    max-width: 700px;
    margin: 0;
    color: var(--forest-950);
    font-size: clamp(2.35rem, 5.5vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    line-height: 1.08;
}

[dir="rtl"] .launch-copy h1 {
    letter-spacing: -0.025em;
}

.intro {
    max-width: 690px;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.8vw, 1.14rem);
    line-height: 1.9;
}

.primary-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 850;
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button--primary {
    color: var(--white);
    background: var(--forest-800);
    box-shadow: 0 13px 25px rgba(24, 63, 45, 0.22);
}

.button--primary:hover {
    background: var(--forest-900);
    box-shadow: 0 16px 30px rgba(24, 63, 45, 0.28);
}

.button--secondary {
    color: var(--forest-800);
    border: 1px solid rgba(24, 63, 45, 0.15);
    background: var(--cream-50);
}

.button.is-disabled {
    cursor: not-allowed;
    opacity: 0.64;
}

.button.is-disabled:hover {
    transform: none;
}

.button__icon {
    display: block;
    width: 23px;
    height: 23px;
    flex: 0 0 auto;
}

.button--primary .button__icon {
    padding: 3px;
    border-radius: 7px;
    background: var(--white);
}

.community-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(34px, 5vw, 62px);
    color: rgba(255, 255, 255, 0.92);
    background:
        linear-gradient(160deg, rgba(143, 216, 78, 0.08), transparent 36%),
        linear-gradient(145deg, var(--forest-800), var(--forest-950));
}

.panel-kicker {
    margin: 0 0 9px;
    color: var(--leaf-300);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.community-panel h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(1.45rem, 3vw, 2.15rem);
    line-height: 1.35;
}

.panel-copy {
    margin: 13px 0 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.92rem;
    line-height: 1.8;
}

.initiatives-carousel {
    margin: 24px 0 20px;
}

.initiatives-carousel__stage {
    position: relative;
}

.impact-story {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 42px rgba(5, 24, 15, 0.24);
}

.initiative-slide[hidden] {
    display: none !important;
}

.initiative-slide:not([hidden]) {
    animation: initiative-reveal 320ms ease both;
}

@keyframes initiative-reveal {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.impact-story a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.impact-story__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 300ms ease, filter 300ms ease;
}

.impact-story__image--portrait {
    object-fit: contain;
    background:
        radial-gradient(circle at 50% 35%, rgba(143, 216, 78, 0.18), transparent 46%),
        var(--forest-950);
}

.impact-story a:hover .impact-story__image {
    filter: saturate(1.05) contrast(1.02);
    transform: scale(1.018);
}

.impact-story figcaption {
    display: grid;
    align-items: center;
    gap: 10px;
    grid-template-columns: 30px 1fr auto;
    padding: 12px 14px;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.75rem;
    font-weight: 750;
    line-height: 1.5;
}

.impact-story__source {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    background: var(--white);
}

.impact-story__source img {
    display: block;
    width: 18px;
    height: 18px;
}

.impact-story__arrow {
    color: var(--leaf-300);
    font-size: 1rem;
}

[dir="rtl"] .impact-story__arrow {
    transform: scaleX(-1);
}

.initiatives-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 12px;
}

.initiatives-carousel__button {
    display: grid;
    width: 38px;
    height: 38px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    font: inherit;
    font-family: Arial, sans-serif;
    font-size: 1.35rem;
    line-height: 1;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.initiatives-carousel__button:hover {
    transform: translateY(-1px);
    border-color: rgba(184, 237, 121, 0.48);
    background: rgba(255, 255, 255, 0.14);
}

[dir="rtl"] .initiatives-carousel__button {
    direction: ltr;
    transform: scaleX(-1);
}

[dir="rtl"] .initiatives-carousel__button:hover {
    transform: scaleX(-1) translateY(-1px);
}

.initiatives-carousel__counter {
    min-width: 52px;
    color: rgba(255, 255, 255, 0.68);
    font-family: Arial, sans-serif;
    font-size: 0.78rem;
    text-align: center;
}

.initiatives-carousel__counter strong {
    color: var(--leaf-300);
}

.social-links {
    display: grid;
    gap: 10px;
    margin-top: 30px;
}

.social-link {
    display: grid;
    min-height: 72px;
    grid-template-columns: 45px 1fr auto;
    align-items: center;
    gap: 13px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 17px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    text-align: start;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.social-link:hover {
    transform: translateY(-2px);
    border-color: rgba(184, 237, 121, 0.48);
    background: rgba(255, 255, 255, 0.1);
}

.social-link__icon {
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border-radius: 14px;
    background: var(--cream-50);
}

.social-link__icon img {
    display: block;
    width: 24px;
    height: 24px;
}

.social-link--instagram .social-link__icon {
    color: #9f245f;
    background: #ffe8f1;
}

.social-link--tiktok .social-link__icon {
    color: #111111;
    background: #f4ffff;
    box-shadow: inset 3px 0 #25f4ee, inset -3px 0 #fe2c55;
}

.social-link--telegram .social-link__icon {
    color: #168ac0;
    background: #e1f5ff;
}

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

.social-link strong {
    font-size: 0.92rem;
}

.social-link small {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.55);
    direction: ltr;
    font-size: 0.75rem;
}

.social-link__arrow {
    color: var(--leaf-300);
    font-size: 1.1rem;
}

[dir="rtl"] .social-link__arrow {
    transform: scaleX(-1);
}

.trust-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 28px 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.79rem;
    line-height: 1.7;
}

.trust-note > span:first-child {
    color: var(--gold-400);
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-block: 2px 24px;
    color: rgba(20, 49, 36, 0.64);
    font-size: 0.76rem;
}

.site-footer p {
    margin: 0;
}

.noscript-message {
    position: fixed;
    z-index: 5;
    right: 16px;
    bottom: 16px;
    left: 16px;
    margin: 0;
    padding: 12px 16px;
    border-radius: 12px;
    color: var(--white);
    background: var(--forest-950);
    text-align: center;
}

@media (max-width: 900px) {
    .launch-card {
        grid-template-columns: 1fr;
    }

    .community-panel {
        border-radius: 0 0 26px 26px;
    }

    .social-links {
        grid-template-columns: repeat(3, 1fr);
    }

    .social-link {
        min-height: 130px;
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .social-link__arrow {
        display: none;
    }
}

@media (max-width: 680px) {
    body.admin-bar .site-shell {
        min-height: calc(100vh - 46px);
    }

    .site-header,
    .site-footer,
    .launch-card {
        width: min(100% - 24px, 1180px);
    }

    .site-header {
        align-items: stretch;
        flex-direction: column;
        padding-block: 16px;
    }

    .brand-mini {
        justify-content: center;
    }

    .language-switcher {
        width: 100%;
        max-width: none;
    }

    .language-select {
        width: 100%;
    }

    .launch-card {
        margin-block: 8px 18px;
        border-radius: 25px;
    }

    .launch-copy,
    .community-panel {
        padding: 38px 22px;
    }

    .launch-copy h1 {
        font-size: clamp(2.2rem, 13vw, 3.45rem);
    }

    .primary-actions,
    .button {
        width: 100%;
    }

    .social-links {
        grid-template-columns: 1fr;
    }

    .social-link {
        min-height: 72px;
        grid-template-columns: 45px 1fr auto;
        justify-items: initial;
        text-align: start;
    }

    .social-link__arrow {
        display: inline;
    }

    .site-footer {
        align-items: center;
        flex-direction: column;
        padding-bottom: 18px;
        text-align: center;
    }
}

@media (max-width: 390px) {
    .launch-copy,
    .community-panel {
        padding-inline: 18px;
    }
}

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

    .logo-wrap,
    .logo-halo,
    .initiative-slide {
        animation: none !important;
    }
}
