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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: 
        /* Dark urban base */
        linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #e94560 100%),
        /* Graffiti spray effect */
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        /* Neon accent lines */
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.03) 30%, rgba(255, 255, 255, 0.03) 31%, transparent 31%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.03) 30%, rgba(255, 255, 255, 0.03) 31%, transparent 31%);
    background-size: 100% 100%, 200px 200px, 300px 300px, 150px 150px, 100px 100px, 100px 100px;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Add graffiti-style decorative elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        /* Tag-like elements */
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.08) 0%, transparent 3%),
        radial-gradient(circle at 85% 85%, rgba(255, 255, 255, 0.08) 0%, transparent 3%),
        radial-gradient(circle at 75% 25%, rgba(255, 255, 255, 0.06) 0%, transparent 2%),
        radial-gradient(circle at 25% 75%, rgba(255, 255, 255, 0.06) 0%, transparent 2%),
        /* Spray paint texture */
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        );
    pointer-events: none;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 400px;
}

.signup-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    z-index: 2;
}

/* Add urban art border effect */
.signup-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #e94560, #533483, #0f3460, #e94560);
    border-radius: 22px;
    z-index: -1;
    opacity: 0.7;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

@keyframes borderGlow {
    0% { opacity: 0.5; }
    100% { opacity: 0.8; }
}

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

.header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #e94560 0%, #533483 25%, #0f3460 50%, #16213e 75%, #1a1a2e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    text-shadow: 
        2px 2px 0px rgba(0, 0, 0, 0.3),
        4px 4px 0px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: rotate(-2deg);
    animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: rotate(-2deg) translateY(0px); }
    50% { transform: rotate(-2deg) translateY(-5px); }
}

.subtitle {
    color: #292a2c;
    font-size: 1rem;
    font-weight: 400;
}

.signup-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #292a2c;
    margin-bottom: 8px;
}

.phone-input-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.country-code {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px;
}

.country-code:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input {
    width: 100%;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.875rem;
    color: #374151;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.phone-input {
    flex: 1;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.875rem;
    color: #374151;
    transition: all 0.2s ease;
}

.phone-input:focus {
    outline: none;
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.phone-input::placeholder {
    color: #9ca3af;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #e94560 0%, #533483 50%, #0f3460 100%);
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 15px rgba(233, 69, 96, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

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

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.footer {
    text-align: center;
}

.terms {
    font-size: 0.75rem;
    color: #292a2c;
    line-height: 1.5;
}

.link {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.link:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Error states */
.form-group.error .form-input {
    border-color: #ef4444;
    background: #fef2f2;
}

.form-group.error .phone-input {
    border-color: #ef4444;
    background: #fef2f2;
}

.form-group.error .country-code {
    border-color: #ef4444;
    background: #fef2f2;
}

.error-message {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 6px;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Success state */
.form-group.success .form-input {
    border-color: #10b981;
    background: #f0fdf4;
}

.form-group.success .phone-input {
    border-color: #10b981;
    background: #f0fdf4;
}

.form-group.success .country-code {
    border-color: #10b981;
    background: #f0fdf4;
}

/* Responsive design */
@media (max-width: 480px) {
    .signup-card {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .phone-input-container {
        flex-direction: column;
        gap: 12px;
    }
    
    .country-code {
        width: 100%;
        min-width: auto;
    }
} 