:root {
    --bg-black: #000000;
    --neon-teal: #00FFEF;
    --deep-teal: #008080;
    --electric-orange: #FF5733;
    --neon-green: #39FF14;
    --text-white: #ffffff;
    --font-inter: 'Inter', sans-serif;
}

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

body,
html {
    width: 100%;
    height: 100%;
    background: url('../common_assets/background-blur.png') no-repeat center center;
    background-size: cover;
    font-family: var(--font-inter);
    color: var(--text-white);
    overflow: hidden;
}

.app-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

/* Aurora Background */
.aurora-smoke {
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 140%;
    height: 60%;
    background: radial-gradient(ellipse at bottom, rgba(0, 128, 128, 0.4), transparent 60%);
    filter: blur(40px);
    z-index: 1;
    animation: drift 12s infinite alternate ease-in-out;
}

@keyframes drift {
    0% {
        transform: translateX(-5%) scale(1);
    }

    100% {
        transform: translateX(5%) scale(1.1);
    }
}

/* Smaller AI Orb */
.orb-container {
    position: absolute;
    top: 15%;
    z-index: 10;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: breathe 4s ease-in-out infinite alternate;
}

.orb-glow {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--neon-teal);
    filter: blur(30px);
    opacity: 0.6;
    z-index: 1;
    transition: background 0.3s ease;
}

.orb-outer-glass {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 3;
}

.orb-core {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff 0%, var(--neon-teal) 100%);
    box-shadow: 0 0 20px var(--neon-teal);
    z-index: 2;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

@keyframes breathe {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.05);
    }
}

.orb-container.success .orb-core {
    background: radial-gradient(circle at 30% 30%, #fff 0%, var(--neon-green) 100%);
    box-shadow: 0 0 30px var(--neon-green);
}

.orb-container.success .orb-glow {
    background: var(--neon-green);
}

.message-wrapper {
    position: absolute;
    top: 25%;
    width: 100%;
    padding: 0 24px;
    text-align: center;
    z-index: 10;
}

.ai-text {
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.5;
    min-height: 80px;
}

.cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: var(--neon-teal);
    vertical-align: middle;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Glass Card */
.glass-card {
    position: absolute;
    top: 40%;
    width: 90%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-right-color: rgba(255, 255, 255, 0.05);
    border-bottom-color: rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 10;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.glass-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.scan-beam {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--electric-orange);
    box-shadow: 0 0 20px 5px rgba(255, 87, 51, 0.6);
    opacity: 0;
    z-index: 20;
}

.scan-beam.active {
    animation: scan-down 1.5s ease-in-out;
    opacity: 1;
}

@keyframes scan-down {
    0% {
        top: -10%;
    }

    100% {
        top: 110%;
    }
}

.card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 0.4s ease;
}

.card-content.hidden {
    opacity: 0;
    pointer-events: none;
    position: absolute;
}

.source-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.health-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.health-icon.active {
    color: var(--electric-orange);
    border-color: var(--electric-orange);
    box-shadow: inset 0 0 15px rgba(255, 87, 51, 0.2), 0 0 15px rgba(255, 87, 51, 0.3);
}

.btn-sync,
.btn-continue {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: var(--font-inter);
    cursor: pointer;
    border: none;
    transition: transform 0.2s;
}

.btn-sync {
    background: var(--electric-orange);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 87, 51, 0.3);
}

.btn-sync:active,
.btn-continue:active {
    transform: scale(0.96);
}

/* Success Data */
.success-data {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.5s ease 0.2s;
}

.success-data.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    position: relative;
}

.bubble {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 2px solid var(--neon-teal);
}

.bubble .label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.bubble .value {
    font-size: 1.1rem;
    color: white;
    font-weight: 700;
}

.btn-continue {
    background: rgba(255, 255, 255, 0.1);
    color: var(--neon-teal);
    border: 1px solid var(--neon-teal);
    margin-top: 10px;
}
.cuesz-logo {
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    z-index: 100;
}
