* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background: linear-gradient(45deg, #833ab4, #fd1d1d, #405de6);
    background-size: 200% 200%;
    animation: gradientBG 10s ease infinite;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

.container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
}

.progress {
    width: 30%;
    height: 100%;
    background: linear-gradient(45deg, #833ab4, #fd1d1d);
    animation: progressAnim 1s ease-in-out;
}

.form-container {
    background-color: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    padding: 30px 20px;
    text-align: center;
    width: 100%;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

.logo {
    margin-top: 20px;
    margin-bottom: 30px;
}

.logo-img {
    width: 80px;
    height: auto;
}

h1 {
    font-size: 22px;
    color: #262626;
    margin-bottom: 30px;
    line-height: 1.4;
    padding: 0 15px;
    font-weight: 600;
}

.input-group {
    margin-bottom: 35px;
    position: relative;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

input {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 16px;
    outline: none;
    background-color: #f8f8f8;
    transition: all 0.3s ease;
}

input:focus {
    border-color: #833ab4;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(131, 58, 180, 0.1);
}

input::placeholder {
    color: #8e8e8e;
}

label {
    color: #8e8e8e;
    font-size: 14px;
    position: absolute;
    top: -22px;
    left: 15px;
}

.continue-btn {
    width: calc(100% - 30px);
    max-width: 350px;
    padding: 16px;
    background: linear-gradient(45deg, #833ab4, #fd1d1d);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(131, 58, 180, 0.3);
}

.security-info {
    margin-top: 30px;
    color: #666;
}

.lock-icon {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.security-info p {
    margin: 5px 0;
    font-size: 14px;
}

.security-info strong {
    color: #262626;
}

@keyframes progressAnim {
    from { width: 0; }
    to { width: 30%; }
}

@media (min-width: 768px) {
    .container {
        margin: 0 auto;
    }
}

/* Loading Page Styles */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #1a1a1a;
    color: white;
    padding: 20px;
    text-align: center;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid #333;
    border-top: 3px solid #ff00ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 30px;
}

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

.loading-container h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: white;
}

.loading-container p {
    font-size: 16px;
    color: #999;
    line-height: 1.5;
    margin-bottom: 30px;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background-color: #333;
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress {
    width: 30%;
    height: 100%;
    background: linear-gradient(to right, #ff00ff, #ff8c00);
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(400%); }
}

/* Profile Confirmation Page Styles */
.profile-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #1a1a1a;
    color: white;
    padding: 20px;
    text-align: center;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-handle {
    background-color: #333;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    margin-bottom: 10px;
}

.profile-name {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 30px;
    color: white;
}

.confirmation-text {
    font-size: 18px;
    color: #999;
    margin-bottom: 20px;
}

.gradient-btn {
    background: linear-gradient(to right, #833ab4, #fd1d1d, #fcb045);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 15px;
    width: 100%;
    max-width: 300px;
}

.cancel-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 16px;
    cursor: pointer;
    padding: 10px;
}

.cancel-btn:hover {
    color: white;
}
