/* static/css/pages/signup.css - Signup page neon overrides */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* Valorax-style font using Orbitron, matching login theme */
@font-face {
    font-family: 'Valorax';
    src: local('Orbitron');
    font-weight: 900;
}

/* Cyberpunk body background matching login page */
body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(125deg,
        rgba(10, 14, 39, 0.35) 0%,
        rgba(26, 10, 46, 0.32) 25%,
        rgba(22, 33, 62, 0.38) 50%,
        rgba(10, 14, 39, 0.35) 75%),
        url('/static/images/cyber-bg.jpg') center/cover no-repeat fixed;
    background-size: 320% 320%, cover;
    animation: cyberGradient 16s ease-in-out infinite;
    color: #e0e0e0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 32px 16px 56px;
    gap: 12px;
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Hero section styling */
.login-hero {
    text-align: center;
    margin-bottom: 2rem;
    z-index: 1;
}

.intro-content {
    max-width: 600px;
    margin: 0 auto;
}

.intro-title {
    font-family: 'Valorax', 'Orbitron', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #ff00ff, #00f3ff, #b400ff, #00ff41, #ff6600);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowLetters 3s ease-in-out infinite;
    text-shadow:
        0 0 20px rgba(255, 0, 255, 0.8),
        0 0 40px rgba(0, 243, 255, 0.6),
        0 0 60px rgba(180, 0, 255, 0.4),
        0 0 80px rgba(0, 255, 65, 0.3);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.intro-subtitle {
    font-size: 1.4rem;
    color: #00f3ff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.8);
    font-weight: 600;
}

.intro-flag {
    font-size: 1.1rem;
    color: #ffff00;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 8px rgba(255, 255, 0, 0.8);
}

.intro-description {
    margin-bottom: 1rem;
}

.intro-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.intro-tagline {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff00ff;
    text-shadow: 0 0 12px rgba(255, 0, 255, 0.9);
    margin-top: 0.5rem;
}

/* Neon line animation */
.neon-line {
    width: 100%;
    max-width: 800px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff00ff, #00f3ff, #b400ff, transparent);
    background-size: 200% 100%;
    animation: neonFlow 2s linear infinite;
    margin: 1rem auto 2rem;
    border-radius: 2px;
    box-shadow:
        0 0 20px rgba(255, 0, 255, 0.6),
        0 0 40px rgba(0, 243, 255, 0.4),
        0 0 60px rgba(180, 0, 255, 0.3);
}

@keyframes neonFlow {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Ensure signup typography matches login */
.signup-card,
.signup-card .auth-card,
.signup-card .auth-body,
.signup-card .form-group label,
.signup-card .form-input,
.signup-card .auth-tagline,
.signup-card .auth-subtitle,
.signup-card .link-primary {
    font-family: 'Rajdhani', sans-serif;
}

.signup-card .auth-title,
.signup-card .form-title,
.signup-card .valorax-font {
    font-family: 'Valorax', 'Orbitron', sans-serif !important;
}

.signup-card {
    padding: 24px 16px 48px;
    margin-top: 2rem;
}

.signup-card .auth-card {
    background: linear-gradient(135deg, rgba(26, 31, 58, 0.95) 0%, rgba(46, 21, 68, 0.95) 100%);
    border: 3px solid;
    border-image: linear-gradient(135deg, #ff00ff, #00f3ff, #b400ff, #00ff41) 1;
    border-radius: 16px;
    padding: 28px 30px 26px;
    color: #e0e0e0;
    font-family: 'Rajdhani', sans-serif;
    box-shadow:
        0 0 44px rgba(255, 0, 255, 0.7),
        0 0 82px rgba(0, 243, 255, 0.55),
        0 0 110px rgba(0, 255, 65, 0.38),
        inset 0 0 64px rgba(180, 0, 255, 0.2);
    overflow: hidden;
    position: relative;
}

/* Optional subtle outer halo to match login glow reach */
.signup-card .auth-card::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.18), rgba(0, 243, 255, 0.14));
    filter: blur(12px);
    z-index: -1;
}

.signup-card .auth-header {
    text-align: center;
    padding: 12px 10px 8px;
    margin-bottom: 8px;
}

.signup-card .auth-title {
    font-family: 'Valorax', 'Orbitron', sans-serif;
    font-size: 2.6rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: repeating-linear-gradient(90deg,
        #00f3ff 0%, #00f3ff 10%,
        #008cff 10%, #008cff 20%,
        #5f00ff 20%, #5f00ff 30%,
        #ff00ff 30%, #ff00ff 40%,
        #ff6600 40%, #ff6600 50%,
        #00ff41 50%, #00ff41 60%,
        #ffff00 60%, #ffff00 70%,
        #ff00ff 70%, #ff00ff 80%,
        #00f3ff 80%, #00f3ff 90%,
        #00ff41 90%, #00ff41 100%);
    background-size: 800% 100%;
    background-position: 0 50%;
    animation: rainbowLetters 18s linear infinite;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.25);
    filter: saturate(1.8) brightness(1.15);
    text-shadow:
        0 0 22px rgba(0, 243, 255, 0.9),
        0 0 34px rgba(180, 0, 255, 0.78),
        0 0 48px rgba(255, 0, 255, 0.68),
        0 0 70px rgba(255, 140, 0, 0.56),
        0 0 96px rgba(0, 255, 65, 0.6);
    margin-bottom: 12px;
}

.signup-card .auth-subtitle {
    font-family: 'Rajdhani', sans-serif;
    color: #00f3ff;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(0, 243, 255, 0.7);
    margin-bottom: 8px;
}

.signup-card .auth-tagline {
    font-family: 'Rajdhani', sans-serif;
    color: #ff00ff;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-shadow:
        0 0 16px rgba(255, 0, 255, 0.8),
        0 0 28px rgba(180, 0, 255, 0.6);
    margin-bottom: 14px;
}

.signup-card .auth-body {
    padding: 32px 30px 28px;
}

.signup-card .form-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.9rem;
    font-weight: 900;
    text-align: center;
    background: linear-gradient(135deg, #00f3ff, #ff00ff, #b400ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.signup-card .form-group label {
    color: #00f3ff;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.signup-card .form-input {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.45) 0%, rgba(26, 10, 46, 0.35) 100%);
    border: 2px solid;
    border-image: linear-gradient(90deg, #b400ff, #ff00ff) 1;
    border-radius: 10px;
    padding: 12px 14px;
    color: #e0e0e0;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 18px rgba(180, 0, 255, 0.12);
}

.signup-card .form-input:focus {
    outline: none;
    border-image: linear-gradient(90deg, #00f3ff, #00ff41) 1;
    box-shadow:
        0 0 25px rgba(0, 243, 255, 0.4),
        0 0 40px rgba(0, 255, 65, 0.22),
        inset 0 0 20px rgba(0, 243, 255, 0.12);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 46, 82, 0.35) 100%);
}

.signup-card .form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.signup-card .btn-primary {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.1) 0%, rgba(0, 255, 65, 0.12) 100%);
    color: #00f3ff;
    border: 2px solid;
    border-image: linear-gradient(135deg, #00f3ff, #00ff41) 1;
    text-shadow: 0 0 12px rgba(0, 243, 255, 0.9);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.35);
}

.signup-card .btn-primary:hover {
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.22) 0%, rgba(0, 255, 65, 0.22) 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 0 40px rgba(0, 243, 255, 0.62),
        0 0 60px rgba(0, 255, 65, 0.32),
        inset 0 0 22px rgba(0, 243, 255, 0.18);
    text-shadow: 0 0 16px rgba(0, 243, 255, 1);
}

.signup-card .link-primary {
    color: #00f3ff;
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
}

.signup-card .link-primary:hover {
    color: #ff00ff;
    text-shadow: 0 0 14px rgba(255, 0, 255, 0.65);
}

@media (max-width: 768px) {
    .signup-card .auth-title { font-size: 2.2rem; letter-spacing: 3px; }
    .signup-card .auth-card { border-radius: 16px; }
    .signup-card .auth-body { padding: 22px 22px 24px; }
}

@media (max-width: 480px) {
    .signup-card { padding: 18px 12px 36px; }
    .signup-card .auth-title { font-size: 2rem; letter-spacing: 2.6px; }
    .signup-card .form-title { font-size: 1.7rem; }
}

@keyframes rainbowLetters {
    0% { background-position: 0 50%; }
    100% { background-position: 100% 50%; }
}

/* Cyberpunk gradient animation for background */
@keyframes cyberGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
