:root {
    --bg-color: #0b0f1a;
    --text-color: #e6eef8;
    --accent-color: #00d9ff;
    --accent-hover: #00ffaa;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    background-image: radial-gradient(circle at 50% 50%, rgba(0, 217, 255, 0.1) 0%, transparent 50%);
}

.container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    position: relative;
    z-index: 10;
}

.card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-google {
    background: #fff;
    color: #333;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.btn-google:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: #000;
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.5);
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--accent-color);
    font-size: 0.9rem;
}

input[type="text"],
input[type="number"],
select {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.hidden {
    display: none;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Language Selection Grid */
.lang-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: 12px;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.lang-btn:hover,
.lang-btn.active {
    background: rgba(0, 217, 255, 0.2);
    border-color: var(--accent-color);
    transform: scale(1.05);
}

/* Profile Widget */
.profile-widget {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(10, 14, 26, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 5px 20px 5px 5px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    z-index: 100;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
    max-width: 200px;
}

.profile-widget:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.3);
}

.profile-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--accent-color);
}

.profile-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-name-container {
    overflow: hidden;
    white-space: nowrap;
    flex-grow: 1;
    position: relative;
}

.profile-name {
    display: inline-block;
    color: #fff;
    font-weight: 600;
}

/* Marquee Animation */
.marquee {
    animation: marquee 5s linear infinite;
    padding-left: 100%;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.overlay.active {
    opacity: 1;
    pointer-events: all;
}

.overlay-content {
    background: #1a1f2e;
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transform: scale(0.9);
    transition: transform 0.3s;
}

.overlay.active .overlay-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Success Message */
.success-msg {
    color: var(--accent-hover);
    margin-top: 10px;
    font-size: 0.9rem;
}

.error-msg {
    color: #ff4545;
    margin-top: 5px;
    font-size: 0.8rem;
}