
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #080c16;
    --blue: #1677ff;
    --cyan: #00b8ff;
    --white: #ffffff;
    --muted: #a7b5ca;
}

body {
    min-height: 100vh;
    font-family: 'Poppins', sans-serif;
    background: var(--bg);
    color: var(--white);
    overflow-x: hidden;
}

/* HEADER */

.welcome-header {
    width: 100%;
    height: 85px;
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    background: rgba(8,12,22,0.8);
    backdrop-filter: blur(15px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.brand img {
    width: 43px;
    height: 43px;
    object-fit: contain;
}

.header-login {
    text-decoration: none;
    color: white;
    padding: 11px 23px;
    border: 1px solid rgba(22,119,255,0.65);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    transition: 0.3s;
}

.header-login span {
    color: var(--cyan);
    margin-left: 5px;
}

.header-login:hover {
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 0 25px rgba(22,119,255,0.35);
}

/* MAIN */

.welcome-main {
    min-height: calc(100vh - 85px);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 65px 20px 35px;
    overflow: hidden;
}

/* BACKGROUND GLOW */

.background-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}

.glow-one {
    width: 380px;
    height: 380px;
    background: rgba(22,119,255,0.20);
    top: 10%;
    left: -150px;
}

.glow-two {
    width: 350px;
    height: 350px;
    background: rgba(0,184,255,0.13);
    bottom: 5%;
    right: -130px;
}

/* CONTENT */

.welcome-content {
    width: 100%;
    max-width: 850px;
    text-align: center;
    position: relative;
    z-index: 2;
    animation: fadeUp 1s ease both;
}

.welcome-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 19px;
    border: 1px solid rgba(0,184,255,0.28);
    background: rgba(0,184,255,0.07);
    border-radius: 30px;
    color: #80dfff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    margin-bottom: 34px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan);
}

.welcome-small {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.welcome-content h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -2px;
}

.welcome-content h1 span {
    display: block;
    background: linear-gradient(100deg, #ffffff, #56b7ff, #1677ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-top: 9px;
}

.welcome-description {
    max-width: 650px;
    margin: 25px auto 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
    font-weight: 300;
}

/* FEATURES */

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

.welcome-features span {
    padding: 10px 15px;
    border: 1px solid rgba(255,255,255,0.09);
    background: rgba(255,255,255,0.035);
    border-radius: 30px;
    color: #c7d8ee;
    font-size: 12px;
}

/* BUTTONS */

.welcome-actions {
    margin-top: 42px;
}

.get-started-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    min-width: 230px;
    padding: 17px 27px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(110deg, #1677ff, #0056d6);
    box-shadow: 0 10px 35px rgba(22,119,255,0.28);
    transition: 0.3s ease;
}

.get-started-btn span {
    font-size: 20px;
    transition: transform 0.3s;
}

.get-started-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(22,119,255,0.45);
}

.get-started-btn:hover span {
    transform: translateX(5px);
}

.login-text {
    margin-top: 21px;
    color: #899bb4;
    font-size: 13px;
}

.login-text a {
    color: var(--cyan);
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}

.login-text a:hover {
    text-decoration: underline;
}

/* FOOTER */

.welcome-footer {
    width: 100%;
    max-width: 1100px;
    margin-top: auto;
    padding-top: 65px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #64758e;
    font-size: 10px;
    letter-spacing: 1.2px;
    position: relative;
    z-index: 2;
}

/* ANIMATION */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */

@media (max-width: 600px) {

    .welcome-header {
        height: 72px;
        padding: 0 5%;
    }

    .brand {
        font-size: 15px;
        gap: 8px;
    }

    .brand img {
        width: 35px;
        height: 35px;
    }

    .header-login {
        padding: 9px 15px;
        font-size: 12px;
    }

    .welcome-main {
        min-height: calc(100vh - 72px);
        padding: 65px 20px 25px;
    }

    .welcome-badge {
        font-size: 9px;
        letter-spacing: 1px;
        margin-bottom: 27px;
    }

    .welcome-small {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .welcome-content h1 {
        letter-spacing: -1px;
    }

    .welcome-description {
        font-size: 13px;
    }

    .welcome-features {
        gap: 8px;
    }

    .welcome-features span {
        font-size: 10px;
        padding: 8px 11px;
    }

    .get-started-btn {
        min-width: 215px;
        padding: 15px 22px;
    }

    .welcome-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-top: 60px;
        font-size: 9px;
    }
}

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


/* =================================
   AM DIGITAL STUDIO
   MAGICAL ENERGY ORB
================================= */

.welcome-main {
    isolation: isolate;
}

.magic-orb {
    position: absolute;
    width: 580px;
    height: 580px;
    right: -115px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.78;
    animation: orbFloat 8s ease-in-out infinite;
}

/* ENERGY CORE */

.orb-core {
    position: absolute;
    inset: 19%;
    border-radius: 50%;

    background:
        radial-gradient(circle at 35% 30%,
            #ffffff 0%,
            #a6eaff 5%,
            #39b9ff 14%,
            #1265e8 32%,
            #09265e 55%,
            #080c16 75%);

    box-shadow:
        0 0 35px rgba(0,184,255,0.7),
        0 0 90px rgba(22,119,255,0.55),
        0 0 160px rgba(0,100,255,0.3),
        inset -20px -15px 50px rgba(0,0,0,0.8),
        inset 15px 10px 35px rgba(120,220,255,0.4);

    animation: corePulse 5s ease-in-out infinite;
}

/* ORBIT RINGS */

.orb-ring {
    position: absolute;
    inset: 8%;
    border: 1px solid rgba(72,190,255,0.55);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0,184,255,0.2);
}

.ring-one {
    transform: rotateX(68deg) rotateZ(-25deg);
    animation: ringRotate 14s linear infinite;
}

.ring-two {
    inset: 2%;
    transform: rotateY(65deg) rotateZ(35deg);
    border-color: rgba(0,184,255,0.45);
    animation: ringRotateReverse 19s linear infinite;
}

.ring-three {
    inset: 15%;
    transform: rotateX(75deg) rotateZ(75deg);
    border-color: rgba(160,220,255,0.35);
    animation: ringRotate 24s linear infinite;
}

/* FLOATING LIGHT PARTICLES */

.orb-particles {
    position: absolute;
    inset: 0;
    border-radius: 50%;

    background-image:
        radial-gradient(circle, #ffffff 1px, transparent 2px),
        radial-gradient(circle, #00b8ff 1.5px, transparent 3px),
        radial-gradient(circle, #69caff 1px, transparent 2px);

    background-size: 85px 95px, 120px 110px, 160px 145px;
    background-position: 10px 20px, 50px 70px, 100px 30px;

    mask-image: radial-gradient(circle, black 20%, transparent 75%);
    animation: particleDrift 18s linear infinite;
}

/* ANIMATIONS */

@keyframes orbFloat {
    0%, 100% {
        margin-top: 0;
    }
    50% {
        margin-top: -22px;
    }
}

@keyframes corePulse {
    0%, 100% {
        filter: brightness(0.9);
    }
    50% {
        filter: brightness(1.25);
    }
}

@keyframes ringRotate {
    from {
        rotate: 0deg;
    }
    to {
        rotate: 360deg;
    }
}

@keyframes ringRotateReverse {
    from {
        rotate: 360deg;
    }
    to {
        rotate: 0deg;
    }
}

@keyframes particleDrift {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* MOBILE RESPONSIVE */

@media (max-width: 800px) {
    .magic-orb {
        width: 420px;
        height: 420px;
        right: -210px;
        top: 45%;
        opacity: 0.42;
    }
}

@media (max-width: 600px) {
    .magic-orb {
        width: 330px;
        height: 330px;
        right: -175px;
        top: 48%;
        opacity: 0.30;
    }
}

@media (prefers-reduced-motion: reduce) {
    .magic-orb,
    .orb-core,
    .orb-ring,
    .orb-particles {
        animation: none !important;
    }
}
