:root {
    --bg-color: #050510;
    --card-bg: rgba(255, 255, 255, 0.05);
    --primary-color: #00f2ff;
    /* Cyan */
    --secondary-color: #bc13fe;
    /* Neon Purple */
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --success-color: #00ff88;
    --error-color: #ff3366;
    --glow-shadow: 0 0 20px rgba(0, 242, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    background-image:
        radial-gradient(circle at 10% 20%, rgba(188, 19, 254, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 242, 255, 0.1) 0%, transparent 40%);
    min-height: 100vh;
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
}

.auth-buttons button {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    margin-left: 10px;
}

.auth-buttons button.primary {
    background: var(--primary-color);
    color: #000;
}

.auth-buttons button:hover {
    box-shadow: var(--glow-shadow);
    transform: translateY(-2px);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80vh;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Registration Form Container */
.registration-container {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.registration-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
    pointer-events: none;
}

.registration-container:hover::before {
    left: 100%;
    transition: 0.75s;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 15px;
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.input-wrapper input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.domain-suffix {
    position: absolute;
    right: 15px;
    color: var(--text-muted);
}

.status-icon {
    position: absolute;
    right: -30px;
    font-size: 1.2rem;
    display: none;
}

.status-checking {
    color: var(--text-muted);
    display: block;
    animation: spin 1s linear infinite;
}

.status-available {
    color: var(--success-color);
    display: block;
}

.status-taken {
    color: var(--error-color);
    display: block;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.btn-submit {
    width: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 15px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-submit:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.4);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--bg-color);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
}

.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.otp-inputs input {
    width: 40px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 5px;
}

.otp-inputs input:focus {
    border-color: var(--primary-color);
    outline: none;
}

/* Utilities */
.hidden {
    display: none;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 20px;
}

.text-small {
    font-size: 0.8rem;
    color: var(--text-muted);
}