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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    min-height: 100vh;
    background: linear-gradient(to bottom right, #020617, #0f172a, #020617);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.content-wrapper {
    width: 100%;
    max-width: 28rem;
}

/* Logo Section */
.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.logo-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: linear-gradient(to bottom right, #3b82f6, #22d3ee);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon .icon {
    color: white;
}

.logo-text {
    font-size: 2.25rem;
    font-weight: bold;
    background: linear-gradient(to right, #60a5fa, #67e8f9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Login Card */
.login-card {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid #1e293b;
    border-radius: 1rem;
    padding: 2rem;
    backdrop-filter: blur(4px);
}

/* Step Content */
.step-content {
    display: block;
}

/* Step 1: Discord Login */
.discord-login-section {
    text-align: center;
    margin-bottom: 2rem;
}

.discord-icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 0.75rem;
    background: rgba(88, 101, 242, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.discord-icon {
    width: 2rem;
    height: 2rem;
    color: #5865F2;
}

.step-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.5rem;
}

.step-subtitle {
    color: #94a3b8;
    font-size: 1rem;
}

.discord-button {
    width: 100%;
    background: #5865F2;
    color: white;
    font-weight: 600;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.125rem;
}

.discord-button:hover {
    background: #4752C4;
}

.button-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* Step 2: Confirm Identity */
.confirm-section {
    text-align: center;
    margin-bottom: 1.5rem;
}

.discord-user-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid #334155;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.discord-user-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.discord-avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    border: 4px solid rgba(88, 101, 242, 0.5);
    margin-bottom: 1rem;
}

.discord-username {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
    margin-bottom: 0.25rem;
}

.discord-id {
    color: #94a3b8;
    font-size: 0.875rem;
}

/* Buttons */
.button-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.primary-button {
    width: 100%;
    background: linear-gradient(to right, #2563eb, #06b6d4);
    color: white;
    font-weight: 600;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.125rem;
}

.primary-button:hover {
    background: linear-gradient(to right, #1d4ed8, #0891b2);
}

.text-button {
    width: 100%;
    background: transparent;
    color: #64748b;
    font-size: 0.875rem;
    padding: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.text-button:hover {
    color: #cbd5e1;
}

/* Step 3: Success */
.success-section {
    text-align: center;
}

.success-icon-wrapper {
    width: 5rem;
    height: 5rem;
    border-radius: 50%;
    background: rgba(22, 163, 74, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon {
    color: #4ade80;
}

.username-highlight {
    color: #22d3ee;
    font-weight: 600;
}

.continue-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(to right, #2563eb, #06b6d4);
    color: white;
    font-weight: 600;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 2rem;
    font-size: 1rem;
}

.continue-button:hover {
    background: linear-gradient(to right, #1d4ed8, #0891b2);
}

/* Footer */
.footer-text {
    color: #64748b;
    text-align: center;
    font-size: 0.875rem;
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 640px) {
    .logo-text {
        font-size: 2rem;
    }
    
    .login-card {
        padding: 1.5rem;
    }
    
    .step-title {
        font-size: 1.25rem;
    }
    
    .discord-button,
    .primary-button {
        padding: 1rem;
        font-size: 1rem;
    }
}