﻿
.bg-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/rojava-wallpaper.jpg') no-repeat center center / cover;
    z-index: 0;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(112.32deg, rgba(38, 51, 84, 0.55) 1.51%, rgba(52, 70, 100, 0.5) 25.57%, rgba(46, 46, 46, 0.55) 95.94%);
    z-index: 1;
}

.content {
    position: relative;
    z-index: 1;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: .8rem;
    padding-block: 1rem;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: .5rem;
}

.text-box {
    position: relative;
    width: 372px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
    border-radius: 80px;
    padding: 13px 20px;
    background-color: #8748001A;
    backdrop-filter: blur(24px);
    overflow: hidden;
    z-index: 0;
}

    .text-box span {
        font-weight: 400;
        color: #FFE2C6;
        font-size: 20px;
        line-height: 100%;
        text-shadow: 2px 2px 12px rgba(0,0,0,0.6);
        z-index: 2;
    }

    .text-box .heart-icon {
        color: #CF0F0F;
        font-size: 18px;
        margin-top: -1px;
        z-index: 2;
        animation: heartbeat 3s ease-in-out infinite;
    }

    .text-box.animated-border::before {
        content: "";
        position: absolute;
        inset: 0;
        padding: 1px;
        border-radius: 80px;
        background: linear-gradient(270deg, #FF5F6D, #FFC371, #00F0FF, #FF5F6D);
        background-size: 200% 200%;
        background-repeat: repeat;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        animation: border-move 4s linear infinite;
        z-index: 1;
    }

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.1);
    }
}

@keyframes border-move {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}


.liquid-glass-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: 500;
    color: #FAE4D1;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: #8263351A;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.35);
    box-shadow: 0px 8px 18px 0px #00000033;
    transition: all 0.35s ease;
    overflow: hidden;
}

    .liquid-glass-btn i {
        font-size: 1rem;
        transition: transform 0.35s ease;
    }

    .liquid-glass-btn::before {
        content: "";
        position: absolute;
        top: -60%;
        left: -40%;
        width: 200%;
        height: 200%;
        background: radial-gradient( circle, rgba(255, 255, 255, 0.45), transparent 60% );
        transform: rotate(25deg);
        opacity: 0.35;
        transition: opacity 0.35s ease;
    }

    .liquid-glass-btn:hover {
        transform: translateY(-2px);
    }

        .liquid-glass-btn:hover .fa-arrow-left {
            transform: translateX(-4px);
        }

        .liquid-glass-btn:hover .fa-arrow-right {
            transform: translateX(4px);
        }

        .liquid-glass-btn:hover::before {
            opacity: 0.6;
        }

    .liquid-glass-btn:active {
        transform: translateY(0);
    }

.main-header {
    font-weight: 400;
    font-size: 3.5rem;
    line-height: 100%;
    text-align: center;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.6);
    max-width: 100%;
    margin: 0px;
    width: 100%;
}

.main-header2 {
    font-weight: 400;
    font-size: 2.5rem;
    line-height: 100%;
    color: #FFCEA0;
    text-align: center;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.6);
    max-width: 100%;
    margin: 0px;
    margin-top: 10px;
    width: 100%;
}

.cards {
    display: flex;
    gap: clamp(0.75rem, 2vw, 2rem);
    justify-content: center;
    align-items: stretch;
    width: 100%;
    margin-top: 1rem;
    flex-wrap: nowrap; 
}


.card {
    position: relative;
    flex: 1 1 0;
    max-width: 480px;
    aspect-ratio: 2 / 1;
    border-radius: 20px;
    padding: clamp(14px, 2vw, 20px);
    border: 1px solid #FFFFFF4D;
    box-shadow: 0px 8px 18px 0px #00000033;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: transform 0.3s ease;
    overflow: hidden;
}

    .card:hover {
        transform: scale(1.005);
    }

    .card a {
        position: absolute;
        inset: 0;
        z-index: 5;
        text-decoration: none;
    }

    .card.chanal8 {
        background: url('/images/CHANNEL8_Iraq.webp') center / cover no-repeat;
    }

    .card.kurdsat {
        background: url('/images/kurdsat.jfif') center / cover no-repeat;
    }


    .card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.45);
        border-radius: 20px;
        z-index: 1;
    }

.card-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    color: #fff;
    text-align: right;
    line-height: 1.6;
}

    .card-text span {
        font-size: clamp(14px, 2.2vw, 20px);
        font-weight: 500;
    }

    .card-text .campaign-type {
        font-size: clamp(18px, 3vw, 28px);
        font-weight: 700;
    }

    .card-text .show-campaign {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: clamp(12px, 2vw, 16px);
        font-weight: 400;
        color: #FFCEA0;
    }



@media (max-width: 768px) {
    .content {
        padding-inline: .4rem;
        justify-content: start;
    }

    .text-box {
        margin-left: auto;
        width: 100%;
        max-width: 320px;
        height: auto;
        justify-content: center;
    }

        .text-box span {
            font-size: 16px;
        }

        .text-box i {
            margin: 0px;
        }

    .main-header {
        font-size: 2rem;
    }

    .main-header2 {
        font-size: 1.5rem;
    }


    .footer-ticker {
        padding: 10px 10px;
        padding-bottom: 5px;
    }

    .ticker span {
        font-size: 18px;
    }

    .cards {
        gap: 0.5rem; /* space between cards */
        flex-wrap: nowrap; /* keep cards in the same row */
        justify-content: center;
        align-items: stretch;
    }

    .card {
        min-height: 200px;
        max-width: 520px;
        aspect-ratio: 2 / 1; /* keep original card aspect ratio */
        padding: 10px;
    }

    .card-text {
        flex-direction: column; 
        align-items: flex-start !important;
        padding: 8px;
        text-align: right;
        gap: 0px;
    }

        .card-text .campaign-type {
            font-size: clamp(16px, 3vw, 28px);
            font-weight: 700;
        }

        .card-text .show-campaign {
            width: 100%;
            display: flex !important;
            justify-content: end !important;
            align-items: center;
            gap: 5px;
            margin-top: 4px; /* spacing below main text */
            font-size: clamp(12px, 2vw, 16px);
            font-weight: 400;
            color: #FFCEA0;
        }

    .card:hover {
        transform: inherit; 
    }
 }