/*
Theme Name: SAZAN Landing Pro V5
*/

body.sazan-landing-bg {
    margin: 0;
    padding: 0;
    background: linear-gradient(145deg, #000428, #004e92);
    height: 100vh;
    overflow: hidden;
    font-family: IRANSansX, sans-serif;
    color: #EAF1FF;
}

/* Particle Layer */
#particle-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Center Container */
#portalWrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 480px;
    z-index: 5;
    text-align: center;
    opacity: 0;
    animation: introFadeZoom 1.2s ease forwards, introGlow 1.6s ease forwards;
}

/* Title */
.portal-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
    animation: fadezoom 1.3s ease;
}

/* Subtitle */
.portal-subtitle {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 25px;
    animation: fadezoom 1.6s ease;
}

/* Text Fade Zoom */
@keyframes fadezoom {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Cards Wrapper */
.portal-cards {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Cards */
.portal-card {
    position: relative;
    height: 85px;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    box-shadow: 0 0 18px rgba(0, 120, 255, 0.4);
    transition: 0.3s ease;
    text-decoration: none;
    color: #fff;
}

.portal-card:hover {
    box-shadow: 0 0 26px rgba(0, 150, 255, 0.7);
}

/* Glass Overlay */
.portal-card-glass {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
}

/* Card Content */
.portal-card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-card-content h2 {
    font-size: 20px;
    margin: 0;
}

/* INTRO ANIMATION */
@keyframes introFadeZoom {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.90);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes introGlow {
    0% {
        filter: drop-shadow(0 0 0px rgba(0, 150, 255, 0));
    }

    100% {
        filter: drop-shadow(0 0 18px rgba(0, 150, 255, 0.35));
    }
}

/* LIGHT SWEEP */
.portal-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -180%;
    width: 80%;
    height: 100%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    transform: skewX(-25deg);
    animation: lightsweep 2.2s ease 0.4s forwards;
}

@keyframes lightsweep {
    0% {
        left: -180%;
    }

    100% {
        left: 180%;
    }
}

/* MOBILE ULTRA STABLE */
@media (max-width: 750px) {
    #portalWrapper {
        transform: translate(-50%, -50%) !important;
        top: 50%;
        left: 50%;
        width: 88%;
    }

    .portal-card {
        height: 80px;
    }
}