@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

.wa-page {
    background: #e8eaed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px;
    font-family: 'Tajawal';
    position: relative;
    overflow: hidden;
}

.wa-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.wa-particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0;
    animation: waFloat linear infinite;
}

@keyframes waFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.8);
    }

    10% {
        opacity: 0.18;
    }

    90% {
        opacity: 0.12;
    }

    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(1.2);
    }
}

.wa-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
}

.wa-card {
    background: linear-gradient(145deg, #0b1e4a 0%, #0d2668 50%, #091538 100%);
    border-radius: 20px;
    padding: 48px 52px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.08), 0 12px 40px rgba(0,0,0,0.22), 0 0 0 1px rgba(255,255,255,0.07), inset 0 1px 0 rgba(255,255,255,0.1);
    animation: waCardIn 0.7s cubic-bezier(0.22,1,0.36,1) both;
}

@keyframes waCardIn {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.97);
    }

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

.wa-glow-top {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(80,140,255,0.25) 0%, transparent 70%);
    pointer-events: none;
}

.wa-glow-bottom {
    position: absolute;
    bottom: -60px;
    right: 60px;
    width: 300px;
    height: 160px;
    background: radial-gradient(ellipse, rgba(37,211,102,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.wa-logo {
    text-align: center;
    margin-bottom: 20px;
    animation: waFadeUp 0.6s 0.15s cubic-bezier(0.22,1,0.36,1) both;
}

    .wa-logo img {
        height: 76px;
        object-fit: contain;
        filter: drop-shadow(0 0 18px rgba(100,160,255,0.3));
    }

@keyframes waFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

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

.wa-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.6), transparent);
    border-radius: 2px;
    margin: 0 auto 28px;
    animation: waFadeUp 0.6s 0.2s cubic-bezier(0.22,1,0.36,1) both;
}

.wa-header {
    text-align: center;
    margin-bottom: 36px;
    animation: waFadeUp 0.6s 0.25s cubic-bezier(0.22,1,0.36,1) both;
}

.wa-intro {
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: 0.3px;
}

.wa-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    line-height: 2;
    margin: 0;
}

.wa-channels {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.wa-channel-card {
    display: block;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.09);
    transition: transform 0.25s cubic-bezier(0.22,1,0.36,1), box-shadow 0.25s ease, border-color 0.25s ease;
    animation: waFadeUp 0.6s cubic-bezier(0.22,1,0.36,1) both;
}

    .wa-channel-card:nth-child(1) {
        animation-delay: 0.32s;
    }

    .wa-channel-card:nth-child(2) {
        animation-delay: 0.42s;
    }

    .wa-channel-card:nth-child(3) {
        animation-delay: 0.52s;
    }

    .wa-channel-card:hover {
        transform: translateY(-3px) scale(1.01);
        border-color: rgba(255,215,0,0.35);
        box-shadow: 0 12px 36px rgba(0,0,0,0.35), 0 0 20px rgba(255,215,0,0.08);
        text-decoration: none;
    }

.wa-card-wa {
    background: linear-gradient(135deg, rgba(18,140,70,0.55) 0%, rgba(10,60,30,0.7) 100%);
}

.wa-card-web {
    background: linear-gradient(135deg, rgba(15,80,180,0.55) 0%, rgba(8,40,100,0.7) 100%);
}

.wa-card-fb {
    background: linear-gradient(135deg, rgba(24,119,242,0.5) 0%, rgba(10,50,120,0.7) 100%);
}

.wa-card-wa:hover {
    box-shadow: 0 12px 36px rgba(0,0,0,0.35), 0 0 24px rgba(37,211,102,0.2);
}

.wa-card-web:hover {
    box-shadow: 0 12px 36px rgba(0,0,0,0.35), 0 0 24px rgba(30,110,200,0.2);
}

.wa-card-fb:hover {
    box-shadow: 0 12px 36px rgba(0,0,0,0.35), 0 0 24px rgba(24,119,242,0.2);
}

.wa-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.06) 50%, transparent 70%);
    background-size: 200% 100%;
    background-position: 200% 0;
    transition: background-position 0.6s ease;
    pointer-events: none;
    border-radius: 14px;
}

.wa-channel-card:hover .wa-shine {
    background-position: -200% 0;
}

.wa-channel-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 24px;
}

.wa-channel-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
    transition: transform 0.25s ease;
}

.wa-channel-card:hover .wa-channel-icon {
    transform: scale(1.1) rotate(-4deg);
}

.wa-card-wa .wa-channel-icon {
    background: #25d366;
}

.wa-card-web .wa-channel-icon {
    background: #1e6ec8;
}

.wa-card-fb .wa-channel-icon {
    background: #1877f2;
}

.wa-channel-text {
    flex: 1;
}

    .wa-channel-text h3 {
        color: #ffffff;
        font-size: 17px;
        font-weight: 700;
        margin: 0 0 4px;
        line-height: 1.4;
    }

    .wa-channel-text span {
        color: rgba(255,255,255,0.6);
        font-size: 13px;
    }

.wa-channel-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}

    .wa-channel-qr img {
        width: 72px;
        height: 72px;
        object-fit: contain;
        border-radius: 8px;
        background: #fff;
        padding: 4px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
        transition: transform 0.25s ease;
    }

.wa-channel-card:hover .wa-channel-qr img {
    transform: scale(1.06);
}

.wa-channel-qr p {
    color: rgba(255,255,255,0.45);
    font-size: 11px;
    margin: 0;
    font-family: 'Tajawal', Tahoma, sans-serif;
}

.wa-footer {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 26px;
    animation: waFadeUp 0.6s 0.62s cubic-bezier(0.22,1,0.36,1) both;
}

    .wa-footer p {
        color: rgba(255,255,255,0.65);
        font-size: 14px;
        line-height: 1.9;
        margin-bottom: 6px;
    }

.wa-thanks {
    color: rgba(255,255,255,0.4) !important;
    font-size: 13px !important;
}

@media (max-width: 600px) {
    .wa-card {
        padding: 28px 18px;
    }

    .wa-channel-inner {
        padding: 14px 16px;
        gap: 12px;
    }

    .wa-channel-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .wa-channel-qr img {
        width: 58px;
        height: 58px;
    }

    .wa-channel-text h3 {
        font-size: 15px;
    }
}
