/* TOPWIN I.A Trading System Login - Tema Premium Futurista */

:root {
    /* Paleta TOPWIN I.A - Premium */
    --primary-gold: #FFD700;
    --royal-purple: #7B2CBF;
    --electric-blue: #00D4FF;
    --neon-pink: #FF006E;
    --cyber-green: #00F5FF;
    --deep-space: #0A0A0F;
    --dark-royal: #1A0B2E;
    --midnight-blue: #16213E;
    --silver-gray: #C0C0C0;
    --pure-white: #FFFFFF;

    /* Gradientes Premium */
    --gradient-crown: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    --gradient-royal: linear-gradient(145deg, #7B2CBF 0%, #5A189A 50%, #3C096C 100%);
    --gradient-cyber: linear-gradient(135deg, #00D4FF 0%, #00F5FF 50%, #00FF88 100%);
    --gradient-background: linear-gradient(145deg, #0A0A0F 0%, #1A0B2E 50%, #16213E 100%);
    --gradient-premium: linear-gradient(135deg, #FFD700 0%, #7B2CBF 50%, #00D4FF 100%);

    /* Sombras Premium */
    --shadow-gold: 0 0 25px rgba(255, 215, 0, 0.6);
    --shadow-purple: 0 0 30px rgba(123, 44, 191, 0.5);
    --shadow-cyber: 0 0 20px rgba(0, 212, 255, 0.4);
    --shadow-premium: 0 20px 40px rgba(255, 215, 0, 0.3);

    /* Espacamentos */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;

    /* Outros */
    --radius: 15px;
    --radius-lg: 20px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease-out;
}

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

body {
    font-family: 'Exo 2', 'Rajdhani', 'Arial', sans-serif;
    background: var(--gradient-background);
    color: var(--pure-white);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

/* ==================== MATRIX PORTAL ==================== */
.matrix-portal {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    overflow-y: auto;
}

/* Quantum Background */
.quantum-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.matrix-grid {
    position: absolute;
    width: 100%;
    height: 100%;
}

.grid-line {
    position: absolute;
    background: rgba(0, 255, 136, 0.1);
    opacity: 0.6;
    animation: gridPulse 3s ease-in-out infinite;
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
}

.grid-line.vertical {
    width: 1px;
    height: 100%;
}

.grid-line.line-1.horizontal {
    top: 20%;
    animation-delay: 0s;
}

.grid-line.line-2.horizontal {
    top: 50%;
    animation-delay: 1s;
}

.grid-line.line-3.horizontal {
    top: 80%;
    animation-delay: 2s;
}

.grid-line.line-1.vertical {
    left: 25%;
    animation-delay: 0.5s;
}

.grid-line.line-2.vertical {
    left: 50%;
    animation-delay: 1.5s;
}

.grid-line.line-3.vertical {
    left: 75%;
    animation-delay: 2.5s;
}

.data-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-green);
    animation: particleFloat 8s linear infinite;
}

.particle-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.particle-2 {
    top: 30%;
    left: 80%;
    animation-delay: 2s;
}

.particle-3 {
    top: 60%;
    left: 20%;
    animation-delay: 4s;
}

.particle-4 {
    top: 80%;
    left: 70%;
    animation-delay: 1s;
}

.particle-5 {
    top: 40%;
    left: 90%;
    animation-delay: 3s;
}

.particle-6 {
    top: 70%;
    left: 5%;
    animation-delay: 5s;
}

/* Portal Container */
.portal-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 450px;
}

.access-portal {
    background: rgba(26, 29, 46, 0.95);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(0, 255, 136, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-neural);
    position: relative;
    overflow: hidden;
    animation: portalSlideIn 0.8s ease-out;
}

.access-portal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-quantum);
    opacity: 0.8;
}

/* Portal Header */
.portal-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* BINARY WIN Logo */
.topwin-logo-header {
    margin-bottom: var(--space-md);
    display: inline-block;
    transform: scale(1.15);
    transform-origin: center;
}

.binary-logo {
    margin-bottom: var(--space-md);
}

.topwin-core {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Coroa Real */
.crown-container {
    position: relative;
    width: 60px;
    height: 40px;
    z-index: 3;
}

.crown-base {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--gradient-crown);
    border-radius: 6px;
    box-shadow: var(--shadow-gold);
    animation: crownGlow 3s ease-in-out infinite;
}

.crown-spikes {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.spike {
    background: var(--gradient-crown);
    border-radius: 2px 2px 0 0;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    animation: spikeRise 2s ease-in-out infinite;
}

.spike-1 {
    width: 6px;
    height: 15px;
    animation-delay: 0s;
}

.spike-2 {
    width: 8px;
    height: 20px;
    animation-delay: 0.2s;
}

.spike-3 {
    width: 10px;
    height: 28px;
    animation-delay: 0.4s;
}

.spike-4 {
    width: 8px;
    height: 20px;
    animation-delay: 0.6s;
}

.spike-5 {
    width: 6px;
    height: 15px;
    animation-delay: 0.8s;
}

.crown-gems {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    height: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.gem {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: gemTwinkle 1.5s ease-in-out infinite;
}

.gem-1 {
    background: var(--neon-pink);
    animation-delay: 0s;
}

.gem-2 {
    background: var(--electric-blue);
    animation-delay: 0.3s;
}

.gem-3 {
    background: var(--cyber-green);
    animation-delay: 0.6s;
}

.gem-4 {
    background: var(--electric-blue);
    animation-delay: 0.9s;
}

.gem-5 {
    background: var(--neon-pink);
    animation-delay: 1.2s;
}

/* Órbitas da I.A */
.ai-orbit {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 0;
    left: 0;
}

.orbit-ring {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    border-style: dashed;
    opacity: 0.7;
}

.orbit-ring.ring-1 {
    width: 100px;
    height: 100px;
    border-color: var(--royal-purple);
    animation: orbitRotate 8s linear infinite;
}

.orbit-ring.ring-2 {
    width: 80px;
    height: 80px;
    top: 10px;
    left: 10px;
    border-color: var(--electric-blue);
    animation: orbitRotate 6s linear infinite reverse;
}

.orbit-ring.ring-3 {
    width: 60px;
    height: 60px;
    top: 20px;
    left: 20px;
    border-color: var(--cyber-green);
    animation: orbitRotate 4s linear infinite;
}

.ai-core {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 35px;
    left: 35px;
    background: var(--gradient-cyber);
    border-radius: 50%;
    box-shadow: var(--shadow-cyber);
    animation: aiCorePulse 2s ease-in-out infinite;
}

.neural-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--pure-white);
    border-radius: 50%;
    animation: neuralExpand 2s ease-in-out infinite;
}

.neural-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--pure-white);
    border-radius: 50%;
    animation: dotFloat 2s ease-in-out infinite;
}

.dot-1 {
    transform: translate(-8px, -8px);
    animation-delay: 0s;
}

.dot-2 {
    transform: translate(8px, -8px);
    animation-delay: 0.6s;
}

.dot-3 {
    transform: translate(0px, 10px);
    animation-delay: 1.2s;
}

/* Raios de Poder */
.power-rays {
    position: absolute;
    width: 120px;
    height: 120px;
    top: -10px;
    left: -10px;
}

.ray {
    position: absolute;
    width: 2px;
    height: 15px;
    background: linear-gradient(to bottom, var(--primary-gold), transparent);
    border-radius: 2px;
    opacity: 0.8;
    animation: rayShine 3s ease-in-out infinite;
}

.ray-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    animation-delay: 0s;
}

.ray-2 {
    top: 15%;
    right: 15%;
    transform: rotate(45deg);
    animation-delay: 0.3s;
}

.ray-3 {
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(90deg);
    animation-delay: 0.6s;
}

.ray-4 {
    bottom: 15%;
    right: 15%;
    transform: rotate(135deg);
    animation-delay: 0.9s;
}

.ray-5 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    animation-delay: 1.2s;
}

.ray-6 {
    bottom: 15%;
    left: 15%;
    transform: rotate(225deg);
    animation-delay: 1.5s;
}

.ray-7 {
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(270deg);
    animation-delay: 1.8s;
}

.ray-8 {
    top: 15%;
    left: 15%;
    transform: rotate(315deg);
    animation-delay: 2.1s;
}

.data-flow.data-1 {
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.data-flow.data-2 {
    right: -15px;
    top: 50%;
    transform: translateY(-50%) rotate(90deg);
}

.data-flow.data-3 {
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
}

.portal-title {
    margin-bottom: var(--space-md);
}

.brand-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.8rem;
    font-weight: 900;
    background: var(--gradient-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 4px;
    margin-bottom: 6px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    animation: titleGlow 3s ease-in-out infinite;
}

.brand-title .accent {
    color: var(--electric-blue);
    -webkit-text-fill-color: var(--electric-blue);
    background: none;
    text-shadow: 0 0 20px var(--electric-blue);
}

.brand-subtitle {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.95rem;
    color: var(--silver-gray);
    font-weight: 500;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 10px;
    opacity: 0.9;
}

.access-label {
    font-size: 0.75rem;
    color: var(--primary-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 5px 15px;
    border: 2px solid var(--primary-gold);
    border-radius: 15px;
    display: inline-block;
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    animation: labelPulse 2s ease-in-out infinite;
}

/* Matrix Access Form */
.matrix-access-form {
    margin-bottom: var(--space-lg);
}

/* Seletor de Tipo de Conta */
.account-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.account-type-option {
    position: relative;
    background: rgba(123, 44, 191, 0.08);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius);
    padding: var(--space-md);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    overflow: hidden;
}

.account-type-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-crown);
    opacity: 0;
    transition: var(--transition);
}

.account-type-option:hover {
    border-color: var(--primary-gold);
    background: rgba(123, 44, 191, 0.12);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.2);
}

.account-type-option.selected {
    border-color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: var(--shadow-gold);
}

.account-type-option.selected::before {
    opacity: 1;
}

.account-type-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-royal);
    border-radius: 50%;
    color: var(--pure-white);
    font-size: 1.2rem;
    transition: var(--transition);
}

.account-type-option.selected .account-type-icon {
    background: var(--gradient-crown);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.account-type-info {
    flex: 1;
}

.account-type-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--pure-white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2px;
}

.account-type-subtitle {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.75rem;
    color: var(--silver-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.account-type-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 50%;
    position: relative;
    transition: var(--transition);
}

.account-type-option.selected .account-type-indicator {
    border-color: var(--primary-gold);
    background: var(--gradient-crown);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.account-type-option.selected .account-type-indicator::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--deep-space);
    font-weight: bold;
    font-size: 0.8rem;
}

/* Grupos de Token */
.token-group {
    display: none;
    animation: tokenGroupSlideIn 0.3s ease-out;
}

.token-group.active {
    display: block;
}

@keyframes tokenGroupSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Informação de Login Duplo */
.dual-login-info {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: rgba(0, 212, 255, 0.08);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: var(--radius);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    position: relative;
    overflow: hidden;
}

.dual-login-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-cyber);
    opacity: 0.8;
}

.dual-login-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-cyber);
    border-radius: 50%;
    color: var(--pure-white);
    font-size: 1.5rem;
    animation: dualLoginPulse 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.dual-login-text {
    flex: 1;
}

.dual-login-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--electric-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 4px;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.dual-login-subtitle {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.8rem;
    color: var(--silver-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

@keyframes dualLoginPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
    }
}

.quantum-form-group {
    margin-bottom: var(--space-md);
}

.quantum-input-container {
    position: relative;
    display: flex;
    align-items: center;
}

.quantum-input-container input {
    width: 100%;
    padding: 18px 55px 18px 22px;
    background: rgba(123, 44, 191, 0.08);
    color: var(--pure-white);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: 'Exo 2', sans-serif;
    transition: var(--transition);
    outline: none;
    backdrop-filter: blur(10px);
}

.quantum-input-container input:focus {
    border-color: var(--primary-gold);
    background: rgba(123, 44, 191, 0.12);
    box-shadow: var(--shadow-gold);
    transform: translateY(-3px);
}

.quantum-input-container input:focus+label,
.quantum-input-container input:not(:placeholder-shown)+label {
    top: -12px;
    font-size: 0.75rem;
    color: var(--primary-gold);
    background: var(--dark-royal);
    padding: 0 10px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.quantum-input-container label {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--silver-gray);
    font-size: 0.9rem;
    font-weight: 600;
    pointer-events: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.input-quantum-icon {
    position: absolute;
    right: 20px;
    font-size: 1rem;
    color: var(--light-gray);
    pointer-events: none;
    transition: var(--transition);
}

.quantum-input-container input:focus~.input-quantum-icon {
    color: var(--primary-gold);
    transform: scale(1.2);
    text-shadow: 0 0 10px var(--primary-gold);
}

.quantum-password-toggle {
    position: absolute;
    right: 50px;
    font-size: 0.9rem;
    color: var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
    padding: 4px;
    border-radius: 4px;
    user-select: none;
}

.quantum-password-toggle:hover {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.15);
    transform: scale(1.15);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* Form Options */
.quantum-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    font-size: 0.85rem;
}

.quantum-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    gap: var(--space-xs);
}

.quantum-checkbox input {
    display: none;
}

.quantum-checkmark {
    position: relative;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 6px;
    background: rgba(123, 44, 191, 0.1);
    transition: var(--transition);
}

.quantum-checkbox input:checked~.quantum-checkmark {
    background: var(--gradient-crown);
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

.check-animation {
    position: absolute;
    width: 12px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: var(--transition);
}

.check-animation::after {
    content: '✓';
    color: var(--deep-space);
    font-weight: bold;
    font-size: 0.9rem;
}

.quantum-checkbox input:checked~.quantum-checkmark .check-animation {
    opacity: 1;
    animation: checkPop 0.3s ease-out;
}

.checkbox-label {
    color: var(--light-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quantum-link {
    color: var(--electric-blue);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    transition: var(--transition);
    padding: 6px 10px;
    border-radius: 6px;
}

.quantum-link:hover {
    color: var(--pure-white);
    background: rgba(0, 212, 255, 0.2);
    text-decoration: underline;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
    transform: translateY(-1px);
}

/* Matrix Access Button */
.matrix-access-btn {
    width: 100%;
    position: relative;
    padding: 20px 28px;
    background: var(--gradient-crown);
    color: var(--deep-space);
    border: 2px solid var(--primary-gold);
    border-radius: var(--radius);
    cursor: pointer;
    font-weight: 800;
    font-size: 1.1rem;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    box-shadow: var(--shadow-premium);
}

.matrix-access-btn:hover {
    box-shadow: var(--shadow-gold), 0 0 40px rgba(255, 215, 0, 0.4);
    transform: translateY(-4px) scale(1.02);
    background: var(--gradient-premium);
}

.matrix-access-btn:active {
    transform: translateY(0);
}

.matrix-access-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-text {
    position: relative;
    z-index: 2;
}

.btn-quantum-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(255, 215, 0, 0.2);
    transition: var(--transition);
}

.matrix-access-btn:hover .btn-quantum-effect {
    opacity: 1;
}

.btn-arrow {
    font-size: 1rem;
    transition: var(--transition);
}

.matrix-access-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Portal Status */
.portal-status {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(0, 255, 136, 0.2);
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-size: 0.8rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-green);
    animation: statusPulse 2s ease-in-out infinite;
}

/* Error/Success Messages */
.quantum-notification {
    margin-bottom: var(--space-md);
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    animation: notificationSlide 0.3s ease-out;
}

.quantum-notification.error {
    background: rgba(255, 68, 68, 0.2);
    color: #FF4444;
    border: 1px solid #FF4444;
}

.quantum-notification.success {
    background: rgba(0, 255, 136, 0.2);
    color: var(--primary-green);
    border: 1px solid var(--primary-green);
}

/* ==================== TELA DE CARREGAMENTO ==================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-background);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-container {
    max-width: 500px;
    width: 100%;
    padding: var(--space-xl);
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Logo de Carregamento */
.loading-header {
    margin-bottom: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loading-logo {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-lg);
}

.crown-loader {
    position: relative;
    width: 80px;
    height: 50px;
    margin: 0 auto;
    z-index: 3;
}

.crown-base-loader {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background: var(--gradient-crown);
    border-radius: 8px;
    box-shadow: var(--shadow-gold);
    animation: crownLoaderGlow 2s ease-in-out infinite;
}

.crown-gems-loader {
    position: absolute;
    bottom: 18px;
    left: 0;
    width: 100%;
    height: 25px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.gem-loader {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: gemLoaderTwinkle 1.5s ease-in-out infinite;
}

.gem-loader.gem-1 {
    background: var(--neon-pink);
    animation-delay: 0s;
}

.gem-loader.gem-2 {
    background: var(--electric-blue);
    animation-delay: 0.3s;
}

.gem-loader.gem-3 {
    background: var(--cyber-green);
    animation-delay: 0.6s;
}

.gem-loader.gem-4 {
    background: var(--electric-blue);
    animation-delay: 0.9s;
}

.gem-loader.gem-5 {
    background: var(--neon-pink);
    animation-delay: 1.2s;
}

.ai-orbit-loader {
    position: absolute;
    width: 120px;
    height: 120px;
    top: 0;
    left: 0;
}

.orbit-ring-loader {
    position: absolute;
    border: 3px solid;
    border-radius: 50%;
    border-style: dashed;
    opacity: 0.8;
}

.orbit-ring-loader.ring-1 {
    width: 120px;
    height: 120px;
    border-color: var(--royal-purple);
    animation: orbitLoaderRotate 4s linear infinite;
}

.orbit-ring-loader.ring-2 {
    width: 90px;
    height: 90px;
    top: 15px;
    left: 15px;
    border-color: var(--electric-blue);
    animation: orbitLoaderRotate 3s linear infinite reverse;
}

.orbit-ring-loader.ring-3 {
    width: 60px;
    height: 60px;
    top: 30px;
    left: 30px;
    border-color: var(--primary-gold);
    animation: orbitLoaderRotate 2s linear infinite;
}

.loading-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-premium);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 5px;
    margin-bottom: var(--space-sm);
    animation: titlePulse 2s ease-in-out infinite;
}

.loading-subtitle {
    font-family: 'Exo 2', sans-serif;
    font-size: 1rem;
    color: var(--silver-gray);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: var(--space-xl);
    opacity: 0.9;
}

/* Barra de Progresso */
.loading-progress {
    margin-bottom: var(--space-xl);
}

.progress-container {
    margin-bottom: var(--space-lg);
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-bottom: var(--space-sm);
}

.progress-fill {
    height: 100%;
    background: var(--gradient-crown);
    border-radius: 4px;
    width: 0%;
    transition: width 0.3s ease-out;
    position: relative;
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
    animation: progressGlow 2s ease-in-out infinite;
    opacity: 0;
}

.progress-percentage {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-gold);
    text-align: center;
}

/* Etapas de Carregamento */
.loading-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.step {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    opacity: 0.5;
}

.step.active {
    opacity: 1;
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    animation: stepPulse 1.5s ease-in-out infinite;
}

.step-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--silver-gray);
    transition: var(--transition);
}

.step.active .step-icon {
    color: var(--primary-gold);
    animation: iconSpin 2s ease-in-out infinite;
}

.step-text {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--silver-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step.active .step-text {
    color: var(--pure-white);
    font-weight: 600;
}

/* Informações de Carregamento */
.loading-info {
    margin-top: var(--space-lg);
}

.loading-stats {
    display: flex;
    justify-content: space-around;
    margin-bottom: var(--space-lg);
}

.stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-family: 'Exo 2', sans-serif;
    font-size: 0.8rem;
    color: var(--silver-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.stat-value {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value.secure {
    color: var(--cyber-green);
}

.stat-value.online {
    color: var(--electric-blue);
}

.stat-value.active {
    color: var(--primary-gold);
}

.loading-message {
    text-align: center;
}

.loading-message p {
    font-family: 'Exo 2', sans-serif;
    font-size: 0.9rem;
    color: var(--silver-gray);
    font-weight: 500;
    letter-spacing: 1px;
    opacity: 0.8;
    animation: messageFlicker 3s ease-in-out infinite;
}

/* Background da Tela de Carregamento */
.loading-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-gold);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 10s linear infinite;
}

.floating-particles .particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-particles .particle:nth-child(2) {
    top: 40%;
    left: 80%;
    animation-delay: 2s;
}

.floating-particles .particle:nth-child(3) {
    top: 60%;
    left: 20%;
    animation-delay: 4s;
}

.floating-particles .particle:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: 1s;
}

.floating-particles .particle:nth-child(5) {
    top: 30%;
    left: 90%;
    animation-delay: 3s;
}

.floating-particles .particle:nth-child(6) {
    top: 70%;
    left: 5%;
    animation-delay: 5s;
}

.floating-particles .particle:nth-child(7) {
    top: 10%;
    left: 60%;
    animation-delay: 6s;
}

.floating-particles .particle:nth-child(8) {
    top: 90%;
    left: 40%;
    animation-delay: 7s;
}

.neural-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.neural-grid .grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent 0%, var(--primary-gold) 50%, transparent 100%);
    opacity: 0.4;
    animation: gridScan 4s ease-in-out infinite;
}

.neural-grid .grid-line.horizontal {
    width: 100%;
    height: 1px;
}

.neural-grid .grid-line.vertical {
    width: 1px;
    height: 100%;
}

.neural-grid .grid-line:nth-child(1) {
    top: 25%;
    animation-delay: 0s;
}

.neural-grid .grid-line:nth-child(2) {
    top: 50%;
    animation-delay: 1s;
}

.neural-grid .grid-line:nth-child(3) {
    top: 75%;
    animation-delay: 2s;
}

.neural-grid .grid-line:nth-child(4) {
    left: 25%;
    animation-delay: 0.5s;
}

.neural-grid .grid-line:nth-child(5) {
    left: 50%;
    animation-delay: 1.5s;
}

.neural-grid .grid-line:nth-child(6) {
    left: 75%;
    animation-delay: 2.5s;
}

/* ==================== ANIMATIONS ==================== */
@keyframes portalSlideIn {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

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

@keyframes quantumRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes quantumPulse {

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

    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

@keyframes dataFlow {

    0%,
    100% {
        opacity: 0.4;
        height: 6px;
    }

    50% {
        opacity: 1;
        height: 12px;
    }
}

@keyframes gridPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.4;
    }

    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 1;
    }

    50% {
        transform: translateY(0px) rotate(180deg);
        opacity: 0.6;
    }

    75% {
        transform: translateY(20px) rotate(270deg);
        opacity: 1;
    }
}


@keyframes checkPop {
    0% {
        transform: translate(-50%, -50%) scale(0);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
    }

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

@keyframes statusPulse {

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

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}

@keyframes notificationSlide {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* ==================== RESPONSIVE ==================== */

/* Notebook - 1366px e abaixo */
@media (max-width: 1366px) {
    .matrix-portal {
        padding: var(--space-xs);
        min-height: 100vh;
        overflow-y: auto;
    }

    .portal-container {
        padding: var(--space-xs);
        max-width: 500px;
        margin: 0 auto;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .access-portal {
        padding: var(--space-md);
        max-width: 100%;
        margin: var(--space-sm) 0;
    }

    .brand-title {
        font-size: 2.2rem;
        letter-spacing: 3px;
    }

    .brand-subtitle {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }

    .access-label {
        font-size: 0.7rem;
        padding: 4px 12px;
    }

    .topwin-core {
        width: 80px;
        height: 80px;
    }

    .crown-container {
        width: 50px;
        height: 32px;
    }

    .ai-orbit {
        width: 80px;
        height: 80px;
    }

    .orbit-ring.ring-1 {
        width: 80px;
        height: 80px;
    }

    .orbit-ring.ring-2 {
        width: 60px;
        height: 60px;
        top: 10px;
        left: 10px;
    }

    .orbit-ring.ring-3 {
        width: 40px;
        height: 40px;
        top: 20px;
        left: 20px;
    }

    .dual-login-info {
        padding: var(--space-sm);
        margin-bottom: var(--space-sm);
    }

    .dual-login-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .dual-login-title {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
    }

    .dual-login-subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.8px;
    }

    .quantum-input-container input {
        padding: 16px 50px 16px 18px;
        font-size: 0.95rem;
    }

    .quantum-input-container label {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .matrix-access-btn {
        padding: 18px 24px;
        font-size: 1rem;
        letter-spacing: 2.5px;
    }

    .btn-text {
        font-size: 1rem;
    }

    /* Garantir que o botão seja sempre visível */
    .matrix-access-form {
        margin-bottom: var(--space-sm);
    }

    .portal-status {
        margin-top: var(--space-sm);
        padding-top: var(--space-sm);
    }
}

/* Notebook Pequeno - 1200px e abaixo */
@media (max-width: 1200px) {
    .matrix-portal {
        padding: var(--space-xs);
        min-height: 100vh;
        overflow-y: auto;
    }

    .portal-container {
        padding: var(--space-xs);
        max-width: 450px;
        margin: 0 auto;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .access-portal {
        padding: var(--space-sm);
        margin: var(--space-xs) 0;
        max-width: 100%;
    }

    .brand-title {
        font-size: 1.8rem;
        letter-spacing: 2.5px;
    }

    .brand-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1.8px;
    }

    .access-label {
        font-size: 0.65rem;
        padding: 3px 10px;
    }

    .topwin-core {
        width: 70px;
        height: 70px;
    }

    .crown-container {
        width: 45px;
        height: 28px;
    }

    .ai-orbit {
        width: 70px;
        height: 70px;
    }

    .orbit-ring.ring-1 {
        width: 70px;
        height: 70px;
    }

    .orbit-ring.ring-2 {
        width: 55px;
        height: 55px;
        top: 7px;
        left: 7px;
    }

    .orbit-ring.ring-3 {
        width: 35px;
        height: 35px;
        top: 17px;
        left: 17px;
    }

    .dual-login-info {
        padding: var(--space-xs);
        margin-bottom: var(--space-xs);
    }

    .dual-login-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .dual-login-title {
        font-size: 0.8rem;
        letter-spacing: 1.2px;
    }

    .dual-login-subtitle {
        font-size: 0.7rem;
        letter-spacing: 0.6px;
    }

    .quantum-input-container input {
        padding: 14px 45px 14px 16px;
        font-size: 0.9rem;
    }

    .quantum-input-container label {
        font-size: 0.8rem;
        letter-spacing: 0.8px;
    }

    .matrix-access-btn {
        padding: 16px 20px;
        font-size: 0.95rem;
        letter-spacing: 2px;
    }

    .btn-text {
        font-size: 0.95rem;
    }

    /* Garantir que o botão seja sempre visível */
    .matrix-access-form {
        margin-bottom: var(--space-xs);
    }

    .portal-status {
        margin-top: var(--space-xs);
        padding-top: var(--space-xs);
    }
}

/* Tablet - 1024px e abaixo */
@media (max-width: 1024px) {
    .portal-container {
        padding: var(--space-md);
    }

    .access-portal {
        max-width: 450px;
    }

    .brand-title {
        font-size: 2rem;
    }

    .binary-core {
        width: 70px;
        height: 70px;
    }
}

/* Mobile - 768px e abaixo */
@media (max-width: 768px) {
    .matrix-portal {
        padding: var(--space-sm);
    }

    .portal-container {
        padding: var(--space-sm);
        justify-content: flex-start;
        padding-top: 10vh;
    }

    .access-portal {
        margin: 0;
        padding: var(--space-lg);
        max-width: 100%;
        width: 100%;
    }

    /* Header mobile */
    .portal-header {
        margin-bottom: var(--space-lg);
    }

    .binary-core {
        width: 60px;
        height: 60px;
    }

    .hex-ring.outer {
        width: 60px;
        height: 60px;
    }

    .hex-ring.middle {
        width: 45px;
        height: 45px;
    }

    .hex-ring.inner {
        width: 30px;
        height: 30px;
    }

    .brand-title {
        font-size: 1.8rem;
    }

    .brand-subtitle {
        font-size: 0.8rem;
    }

    .access-label {
        font-size: 0.6rem;
        padding: 3px 10px;
    }

    /* Formulário mobile */
    .matrix-access-form {
        margin-bottom: var(--space-lg);
    }

    .quantum-form-group {
        margin-bottom: var(--space-lg);
    }

    /* Seletor de conta mobile */
    .account-type-selector {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .account-type-option {
        padding: var(--space-sm);
    }

    .account-type-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .account-type-title {
        font-size: 0.8rem;
    }

    .account-type-subtitle {
        font-size: 0.7rem;
    }

    .quantum-input-container input {
        padding: 16px 50px 16px 16px;
        font-size: 1rem;
    }

    .quantum-input-container label {
        font-size: 0.9rem;
    }

    .input-quantum-icon {
        width: 40px;
    }

    .quantum-password-toggle {
        width: 40px;
        height: 40px;
    }

    /* Opções mobile */
    .quantum-form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
        margin-bottom: var(--space-xl);
    }

    .checkbox-label {
        font-size: 0.9rem;
    }

    /* Botão mobile */
    .matrix-access-btn {
        padding: 18px 24px;
        font-size: 1rem;
        width: 100%;
    }

    .btn-text {
        font-size: 1rem;
    }

    /* Status mobile */
    .portal-status {
        margin-top: var(--space-lg);
    }

    .status-indicator span {
        font-size: 0.8rem;
    }

    /* Ajustar partículas para mobile */
    .data-particles {
        opacity: 0.3;
    }

    .particle {
        width: 2px;
        height: 2px;
    }
}

/* Mobile pequeno - 480px e abaixo */
@media (max-width: 480px) {
    .portal-container {
        padding: var(--space-xs);
        padding-top: 5vh;
    }

    .access-portal {
        padding: var(--space-md);
    }

    /* Header compacto */
    .topwin-core {
        width: 70px;
        height: 70px;
    }

    .crown-container {
        width: 40px;
        height: 28px;
    }

    .ai-orbit {
        width: 70px;
        height: 70px;
    }

    .orbit-ring.ring-1 {
        width: 70px;
        height: 70px;
    }

    .orbit-ring.ring-2 {
        width: 55px;
        height: 55px;
        top: 7px;
        left: 7px;
    }

    .orbit-ring.ring-3 {
        width: 40px;
        height: 40px;
        top: 15px;
        left: 15px;
    }

    .brand-title {
        font-size: 1.8rem;
    }

    .brand-subtitle {
        font-size: 0.75rem;
    }

    .access-label {
        font-size: 0.6rem;
        padding: 3px 10px;
    }

    /* Formulário compacto */
    .quantum-input-container input {
        padding: 16px 50px 16px 16px;
        font-size: 0.95rem;
    }

    .quantum-input-container label {
        font-size: 0.85rem;
    }

    .input-quantum-icon {
        width: 40px;
    }

    .quantum-password-toggle {
        width: 40px;
        height: 40px;
    }

    .matrix-access-btn {
        padding: 18px 24px;
        font-size: 1rem;
    }

    .checkbox-label {
        font-size: 0.85rem;
    }

    .status-indicator span {
        font-size: 0.75rem;
    }

    /* Tela de carregamento mobile */
    .loading-container {
        padding: var(--space-lg);
    }

    .loading-logo {
        width: 80px;
        height: 80px;
    }

    .crown-loader {
        width: 50px;
        height: 32px;
    }

    .ai-orbit-loader {
        width: 80px;
        height: 80px;
    }

    .loading-title {
        font-size: 2rem;
    }

    .loading-steps {
        gap: var(--space-xs);
    }

    .step {
        padding: var(--space-xs);
    }

    .step-text {
        font-size: 0.8rem;
    }

    .loading-stats {
        flex-direction: column;
        gap: var(--space-xs);
    }

    /* Esconder elementos desnecessários */
    .matrix-grid {
        opacity: 0.1;
    }

    .data-particles {
        display: none;
    }

    .power-rays {
        opacity: 0.3;
    }
}

/* Mobile muito pequeno - 320px e abaixo */
@media (max-width: 320px) {
    .access-portal {
        padding: var(--space-sm);
    }

    .brand-title {
        font-size: 1.3rem;
    }

    .brand-subtitle {
        font-size: 0.6rem;
    }

    .quantum-input-container input {
        padding: 12px 40px 12px 12px;
        font-size: 0.85rem;
    }

    .matrix-access-btn {
        padding: 14px 16px;
        font-size: 0.85rem;
    }
}

/* Mensagens de Feedback */
.error-message,
.success-message {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: var(--space-md);
    font-weight: 500;
    font-size: 0.9rem;
    text-align: center;
    animation: messageSlideIn 0.3s ease-out;
}

.error-message {
    background: rgba(255, 68, 68, 0.1);
    color: var(--fail-color);
    border: 1px solid var(--fail-color);
}

.success-message {
    background: rgba(0, 255, 136, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.quantum-input-container.error input {
    border-color: var(--fail-color);
    background: rgba(255, 68, 68, 0.05);
}

.quantum-input-container.error label {
    color: var(--fail-color);
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* ==================== ANIMAÇÕES TOPWIN I.A ==================== */

/* Animações da Logo Principal */
@keyframes crownGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.9);
        transform: scale(1.05);
    }
}

@keyframes spikeRise {

    0%,
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-3px) scale(1.1);
        opacity: 1;
    }
}

@keyframes gemTwinkle {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
        box-shadow: 0 0 5px currentColor;
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
        box-shadow: 0 0 15px currentColor;
    }
}

@keyframes orbitRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes aiCorePulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 25px rgba(0, 212, 255, 0.9);
    }
}

@keyframes neuralExpand {

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

    50% {
        transform: scale(1.5);
        opacity: 0.3;
    }
}

@keyframes dotFloat {

    0%,
    100% {
        transform: translate(var(--x, 0), var(--y, 0)) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(var(--x, 0), var(--y, 0)) scale(1.2);
        opacity: 1;
    }
}

@keyframes rayShine {

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

    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes titleGlow {

    0%,
    100% {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }

    50% {
        text-shadow: 0 0 40px rgba(255, 215, 0, 0.8);
    }
}

@keyframes labelPulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
        transform: scale(1.02);
    }
}

/* Animações da Tela de Carregamento */
@keyframes crownLoaderGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 35px rgba(255, 215, 0, 0.9);
        transform: scale(1.08);
    }
}

@keyframes gemLoaderTwinkle {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
        box-shadow: 0 0 5px currentColor;
    }

    50% {
        opacity: 1;
        transform: scale(1.4);
        box-shadow: 0 0 20px currentColor;
    }
}

@keyframes orbitLoaderRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes titlePulse {

    0%,
    100% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.02);
        filter: brightness(1.2);
    }
}

@keyframes progressGlow {
    0% {
        left: -30px;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes stepPulse {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
        transform: scale(1.02);
    }
}

@keyframes iconSpin {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
    }

    25% {
        transform: scale(1.1) rotate(90deg);
    }

    50% {
        transform: scale(1.2) rotate(180deg);
    }

    75% {
        transform: scale(1.1) rotate(270deg);
    }
}

@keyframes messageFlicker {

    0%,
    100% {
        opacity: 0.8;
    }

    50% {
        opacity: 1;
    }
}

@keyframes gridScan {

    0%,
    100% {
        opacity: 0.2;
        filter: brightness(1);
    }

    50% {
        opacity: 0.8;
        filter: brightness(1.5);
    }
}