/* =========================================================
   STV SHIA TV — MAIN STYLESHEET
   Theme: Black + Deep Red + Gold
========================================================= */


/* =========================================================
   ROOT
========================================================= */

:root {
    --black: #030303;
    --black-soft: #080808;
    --black-card: #0d0d0e;

    --red: #c90018;
    --red-bright: #ed102b;
    --red-dark: #7f0010;

    --gold: #d8ae2d;
    --gold-light: #f5d866;

    --white: #ffffff;
    --text: #eeeeee;
    --muted: #a5a5a5;
    --muted-dark: #707070;

    --border: rgba(255, 255, 255, 0.09);

    --container: 1120px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--black);
    color: var(--white);

    overflow-x: hidden;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}


/* =========================================================
   GENERAL
========================================================= */

.mission-section,
.donate-section,
.contact-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.mission-container,
.donate-container,
.contact-container {
    width: min(var(--container), calc(100% - 40px));
    margin: auto;
    position: relative;
    z-index: 5;
}

.section-label {
    color: var(--gold);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.38em;

    text-transform: uppercase;

    margin-bottom: 17px;
}

.section-title {
    font-size: clamp(38px, 5.5vw, 62px);

    line-height: 1.08;

    font-weight: 800;

    letter-spacing: -1.5px;
}

.section-description {
    max-width: 680px;

    margin: 0 auto;

    color: var(--muted);

    font-size: 16px;

    line-height: 1.85;
}

.section-divider {
    width: 78px;
    height: 2px;

    margin: 24px auto 28px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--red),
            var(--gold),
            transparent
        );
}


/* =========================================================
   SECTION 1 — MISSION
========================================================= */

.mission-section {

    min-height: 100vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 90px 0;

    background:
        radial-gradient(
            circle at 50% 42%,
            rgba(150, 0, 20, 0.13),
            transparent 38%
        ),

        linear-gradient(
            145deg,
            #020202 0%,
            #0a0506 48%,
            #020202 100%
        );
}


/* =========================================================
   ISLAMIC BACKGROUND PATTERN
========================================================= */

.mission-pattern {

    position: absolute;

    width: 150%;
    height: 150%;

    top: -25%;
    left: -25%;

    opacity: 0.20;

    background-image:

        linear-gradient(
            30deg,
            transparent 46%,
            rgba(255,255,255,0.025) 47%,
            rgba(255,255,255,0.025) 53%,
            transparent 54%
        ),

        linear-gradient(
            150deg,
            transparent 46%,
            rgba(255,255,255,0.025) 47%,
            rgba(255,255,255,0.025) 53%,
            transparent 54%
        );

    background-size: 85px 85px;

    transform: rotate(0deg);

    animation:
        patternMove 45s linear infinite;

    pointer-events: none;
}


/* =========================================================
   GLOW EFFECTS
========================================================= */

.mission-glow {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(110px);
}

.mission-glow-red {

    width: 430px;
    height: 430px;

    left: -160px;
    top: 20%;

    background:
        rgba(190, 0, 20, 0.10);

    animation:
        redGlowMove 9s ease-in-out infinite;
}

.mission-glow-gold {

    width: 300px;
    height: 300px;

    right: -120px;
    bottom: 5%;

    background:
        rgba(216, 174, 45, 0.07);

    animation:
        goldGlowMove 10s ease-in-out infinite;
}


/* =========================================================
   MISSION CONTENT
========================================================= */

.mission-container {

    text-align: center;

    padding: 50px 0;

}


/* =========================================================
   LOGO
========================================================= */

.mission-logo {

    width: 225px;

    display: block;

    margin: 0 auto 35px;

    filter:
        drop-shadow(
            0 15px 30px rgba(0,0,0,0.75)
        );

    opacity: 0;

    animation:
        logoReveal 1s ease forwards,
        logoFloat 6s ease-in-out 1s infinite;
}


/* =========================================================
   MISSION LABEL
========================================================= */

.mission-label {

    color: var(--gold);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.4em;

    margin-bottom: 18px;

    opacity: 0;

    animation:
        labelReveal .7s ease .35s forwards;
}


/* =========================================================
   MISSION TITLE
========================================================= */

.mission-title {

    max-width: 900px;

    margin: auto;

    font-size:
        clamp(40px, 6.2vw, 74px);

    line-height: 1.06;

    font-weight: 800;

    letter-spacing: -2px;

    color: var(--white);

    opacity: 0;

    animation:
        titleReveal .8s ease .55s forwards;
}

.mission-title span {

    color: var(--gold);

}


/* =========================================================
   MISSION DIVIDER
========================================================= */

.mission-divider {

    width: 0;

    height: 2px;

    margin: 25px auto 28px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--red),
            var(--gold),
            transparent
        );

    opacity: 0;

    animation:
        dividerReveal .7s ease .8s forwards;
}


/* =========================================================
   MISSION DESCRIPTION
========================================================= */

.mission-description {

    max-width: 700px;

    margin: auto;

    color: #b7b7b7;

    font-size: 17px;

    line-height: 1.9;

    opacity: 0;

    animation:
        textReveal .8s ease 1s forwards;
}

.mission-description strong {

    color: var(--white);

}


/* =========================================================
   MISSION BUTTON
========================================================= */

.mission-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 35px;

    min-width: 205px;

    padding: 15px 28px;

    border-radius: 50px;

    background:
        linear-gradient(
            135deg,
            var(--red-bright),
            var(--red-dark)
        );

    border:
        1px solid rgba(255,255,255,0.08);

    color: var(--white);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 0.07em;

    box-shadow:
        0 12px 35px rgba(190,0,20,0.20);

    opacity: 0;

    animation:
        buttonReveal .8s ease 1.25s forwards;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.mission-button:hover {

    transform: translateY(-4px);

    background:
        linear-gradient(
            135deg,
            #ff1732,
            #c90018
        );

    box-shadow:
        0 18px 45px rgba(217,4,22,0.35);
}


/* =========================================================
   SECTION 2 — DONATE
========================================================= */

.donate-section {

    min-height: 100vh;

    padding: 110px 0;

    display: flex;

    align-items: center;

    background:

        radial-gradient(
            circle at 10% 30%,
            rgba(190,0,20,0.08),
            transparent 32%
        ),

        radial-gradient(
            circle at 90% 70%,
            rgba(216,174,45,0.05),
            transparent 32%
        ),

        linear-gradient(
            145deg,
            #050505,
            #0b0809,
            #040404
        );
}


/* =========================================================
   DONATE HEADER
========================================================= */

.donate-container {

    text-align: center;

}


/* =========================================================
   DONATION GRID
========================================================= */

.donation-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

    margin-top: 52px;

    align-items: stretch;
}


/* =========================================================
   DONATION CARD
========================================================= */

.donation-card {

    position: relative;

    min-height: 455px;

    padding: 38px 25px 30px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    border:
        1px solid rgba(255,255,255,0.08);

    border-radius: 24px;

    background:

        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.012)
        );

    box-shadow:
        0 20px 60px rgba(0,0,0,0.22);

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;

    opacity: 0;

    animation:
        cardReveal .8s ease forwards;
}

.donation-card:nth-child(1) {
    animation-delay: .2s;
}

.donation-card:nth-child(2) {
    animation-delay: .4s;
}

.donation-card:nth-child(3) {
    animation-delay: .6s;
}


/* top red line */

.donation-card::before {

    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    transform:
        translateX(-50%);

    width: 65px;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            var(--red),
            var(--gold)
        );

    transition:
        width .3s ease;
}

.donation-card:hover::before {
    width: 110px;
}

.donation-card:hover {

    transform:
        translateY(-9px);

    border-color:
        rgba(216,174,45,0.28);

    box-shadow:
        0 25px 70px rgba(0,0,0,0.40);
}


/* =========================================================
   CARD ICON
========================================================= */

.card-icon {

    width: 64px;
    height: 64px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 21px;

    border-radius: 18px;

    background:
        rgba(201,0,24,0.08);

    border:
        1px solid rgba(216,174,45,0.18);

    transition:
        transform .35s ease,
        border-color .35s ease;
}

.card-icon img {

    width: 34px;
    height: 34px;

    object-fit: contain;
}

.donation-card:hover .card-icon {

    transform:
        translateY(-4px) scale(1.05);

    border-color:
        rgba(216,174,45,0.4);
}


/* =========================================================
   CARD TEXT
========================================================= */

.donation-card h3 {

    font-size: 21px;

    margin-bottom: 14px;

    color: var(--white);
}

.donation-card > p {

    color: #9e9e9e;

    font-size: 14px;

    line-height: 1.75;

    max-width: 310px;
}


/* =========================================================
   CRYPTO
========================================================= */

.crypto-network {

    color: var(--gold) !important;

    margin-bottom: 4px;

}

.crypto-warning {

    font-size: 12px !important;

    line-height: 1.65 !important;

    max-width: 320px !important;

}

.crypto-warning strong {

    color: #d8d8d8;

}


/* =========================================================
   CRYPTO QR
========================================================= */

.crypto-qr-wrapper {

    width: 110px;
    height: 110px;

    padding: 7px;

    margin: 17px auto;

    background: #ffffff;

    border-radius: 12px;

    display: flex;

    align-items: center;
    justify-content: center;
}

.crypto-qr {

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================================================
   COPY BOX
========================================================= */

.copy-box {

    width: 100%;

    min-height: 43px;

    margin-top: auto;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 5px;

    background:
        #050505;

    border:
        1px solid rgba(255,255,255,0.09);

    border-radius: 10px;
}

.copy-value {

    flex: 1;

    min-width: 0;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    text-align: left;

    padding-left: 7px;

    color: #a8a8a8;

    font-size: 11px;
}

.copy-button {

    flex-shrink: 0;

    border: 0;

    cursor: pointer;

    padding: 9px 12px;

    border-radius: 7px;

    background:
        var(--red);

    color: #ffffff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: .05em;

    transition:
        background .25s ease,
        transform .2s ease;
}

.copy-button:hover {

    background:
        var(--red-bright);

    transform:
        translateY(-1px);
}

.copy-button.copied {

    background:
        #17833b;
}


/* =========================================================
   CARD BUTTON
========================================================= */

.card-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-top: 24px;

    padding: 12px 21px;

    border-radius: 50px;

    background:
        linear-gradient(
            135deg,
            var(--red-bright),
            var(--red-dark)
        );

    color: #ffffff;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .06em;

    box-shadow:
        0 8px 25px rgba(190,0,20,0.15);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.card-button:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 13px 32px rgba(217,4,22,0.28);
}


/* =========================================================
   SECTION 3 — CONTACT
========================================================= */

.contact-section {

    min-height: 80vh;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 100px 0;

    background:

        radial-gradient(
            circle at center,
            rgba(150,0,20,0.08),
            transparent 42%
        ),

        #030303;
}

.contact-container {

    text-align: center;

}


/* =========================================================
   SOCIAL ICONS
========================================================= */

.social-links {

    display: flex;

    justify-content: center;
    align-items: center;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 40px;
}

.social-link {

    width: 52px;
    height: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,0.035);

    border:
        1px solid rgba(255,255,255,0.10);

    transition:
        transform .3s ease,
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.social-link img {

    width: 24px;
    height: 24px;

    object-fit: contain;
}

.social-link:hover {

    transform:
        translateY(-6px);

    border-color:
        var(--red);

    background:
        rgba(201,0,24,0.10);

    box-shadow:
        0 12px 35px rgba(190,0,20,0.18);
}


/* =========================================================
   CONTACT EMAIL
========================================================= */

.contact-email {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 35px;

    padding: 14px 23px;

    border:
        1px solid rgba(216,174,45,0.20);

    border-radius: 50px;

    background:
        rgba(255,255,255,0.025);

    color: #d0d0d0;

    transition:
        border-color .3s ease,
        transform .3s ease;
}

.contact-email:hover {

    transform:
        translateY(-3px);

    border-color:
        rgba(216,174,45,0.45);
}

.contact-email-icon {

    color:
        var(--gold);
}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    margin-top: 65px;

    padding-top: 28px;

    border-top:
        1px solid rgba(255,255,255,0.07);

    color:
        var(--muted-dark);

    font-size: 11px;

    letter-spacing: .08em;
}

.footer-logo {

    width: 95px;

    margin-bottom: 16px;

    opacity: .65;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes logoReveal {

    from {
        opacity: 0;
        transform:
            translateY(25px)
            scale(.94);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }
}


@keyframes logoFloat {

    0%, 100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-7px);
    }
}


@keyframes labelReveal {

    from {
        opacity: 0;
        transform:
            translateY(15px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}


@keyframes titleReveal {

    from {
        opacity: 0;
        transform:
            translateY(22px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}


@keyframes dividerReveal {

    from {
        opacity: 0;
        width: 0;
    }

    to {
        opacity: 1;
        width: 78px;
    }
}


@keyframes textReveal {

    from {
        opacity: 0;
        transform:
            translateY(18px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}


@keyframes buttonReveal {

    from {
        opacity: 0;
        transform:
            translateY(18px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}


@keyframes cardReveal {

    from {
        opacity: 0;
        transform:
            translateY(35px);
    }

    to {
        opacity: 1;
        transform:
            translateY(0);
    }
}


@keyframes patternMove {

    from {
        transform:
            rotate(0deg)
            scale(1);
    }

    to {
        transform:
            rotate(360deg)
            scale(1);
    }
}


@keyframes redGlowMove {

    0%, 100% {
        opacity: .45;
        transform:
            scale(1);
    }

    50% {
        opacity: .8;
        transform:
            scale(1.15);
    }
}


@keyframes goldGlowMove {

    0%, 100% {
        opacity: .4;
        transform:
            translate(0,0);
    }

    50% {
        opacity: .75;
        transform:
            translate(-25px,20px);
    }
}


/* =========================================================
   RESPONSIVE — TABLET
========================================================= */

@media (max-width: 900px) {

    .donation-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

    .donation-card:last-child {

        grid-column:
            1 / -1;

        max-width:
            calc(50% - 11px);

        width: 100%;

        margin:
            0 auto;
    }
}


/* =========================================================
   RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 650px) {

    .mission-container,
    .donate-container,
    .contact-container {

        width:
            min(
                var(--container),
                calc(100% - 30px)
            );
    }


    .mission-section {

        min-height:
            100svh;

        padding:
            70px 0;
    }


    .mission-logo {

        width:
            180px;

        margin-bottom:
            29px;
    }


    .mission-title {

        font-size:
            clamp(37px, 11vw, 52px);

        letter-spacing:
            -1px;
    }


    .mission-description {

        font-size:
            15px;

        line-height:
            1.8;
    }


    .mission-button {

        min-width:
            190px;

        padding:
            14px 23px;
    }


    .donate-section {

        padding:
            85px 0;
    }


    .section-title {

        font-size:
            39px;
    }


    .section-description {

        font-size:
            15px;
    }


    .donation-grid {

        grid-template-columns:
            1fr;

        gap:
            18px;

        margin-top:
            40px;
    }


    .donation-card {

        min-height:
            450px;

        padding:
            35px 20px 27px;
    }


    .donation-card:last-child {

        grid-column:
            auto;

        max-width:
            none;

        margin:
            0;
    }


    .copy-value {

        font-size:
            10px;
    }


    .copy-button {

        padding:
            9px 10px;
    }


    .social-link {

        width:
            48px;

        height:
            48px;
    }


    .social-link img {

        width:
            22px;

        height:
            22px;
    }


    .contact-email {

        max-width:
            100%;

        font-size:
            13px;

        padding:
            13px 17px;
    }


    .footer {

        margin-top:
            50px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .mission-title {

        font-size:
            34px;
    }


    .mission-description {

        font-size:
            14px;
    }


    .donation-card {

        min-height:
            430px;
    }


    .social-links {

        gap:
            9px;
    }

}


/* =========================================================
   REDUCE MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        scroll-behavior:
            auto !important;
    }
}

/* Mobile logo fix */
@media (max-width: 600px) {
    .mission-logo {
        width: 210px;
        height: auto;
        opacity: 1 !important;
        filter: drop-shadow(0 10px 25px rgba(0,0,0,0.75)) !important;
    }
}