@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #0D0D0D;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.app-container {
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.glow-effect {
    position: absolute;
    bottom: -100px;
    left: 0;
    width: 100%;
    height: 75%;
    background: linear-gradient(to top, rgba(110, 94, 206, 0.9), transparent);
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
    animation: glowPulse 7s infinite;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

#logo-text {
    font-size: 1.2em;
    font-weight: 700;
    color: #FFFFFF;
    text-decoration: none;
    padding: 5px 8px;
    border-radius: 10px;
    transition: background-color 0.3s;
}

#logo-text:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-dropdown-wrapper {
    position: relative;
    display: inline-block;
}

.language-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 5px 8px;
    background: transparent;
    color: #FFFFFF;
    font-size: 1.2em;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
    border: none;
}

.language-display:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.language-options {
    position: absolute;
    top: 110%;
    right: 0;
    background-color: #0D0D0D;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    z-index: 100;
    min-width: 100%;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 5px 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 1.2em;
    font-weight: bold;
    color: #FFFFFF;
}

.language-option:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 16px;
    text-align: center;
}

#logo-center {
    width: 128px;
    height: 128px;
    object-fit: contain;
    margin-bottom: 32px;
    border-radius: 25%;
}

#welcome-message {
    font-size: 30px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 24px;
}

#join-button {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    background-color: #606BEA;
    padding: 12px 32px;
    border-radius: 10px;
    text-decoration: none;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

#join-button:hover {
    background-color: #5059D5;
    box-shadow: 0 0 15px 5px rgba(96, 107, 234, 0.6);
    transform: scale(1.05);
}

footer {
    width: 100%;
    padding: 24px;
    text-align: center;
    color: #A8A8A8;
    font-size: 14px;
}

@media (min-width: 768px) {
    #logo-center {
        width: 192px;
        height: 192px;
    }
    #welcome-message {
        font-size: 36px;
    }
}

@keyframes glowPulse {
    0%, 100% {
        filter: blur(100px);
    }
    50% {
        filter: blur(150px);
    }
}

.lds-grid,
.lds-grid div {
    box-sizing: border-box;
}

.lds-grid {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-grid div {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #FFFFFF;
    animation: lds-grid 1.2s linear infinite;
}

.lds-grid div:nth-child(1) {
    top: 8px;
    left: 8px;
    animation-delay: 0s;
}

.lds-grid div:nth-child(2) {
    top: 8px;
    left: 32px;
    animation-delay: -0.4s;
}

.lds-grid div:nth-child(3) {
    top: 8px;
    left: 56px;
    animation-delay: -0.8s;
}

.lds-grid div:nth-child(4) {
    top: 32px;
    left: 8px;
    animation-delay: -0.4s;
}

.lds-grid div:nth-child(5) {
    top: 32px;
    left: 32px;
    animation-delay: -0.8s;
}

.lds-grid div:nth-child(6) {
    top: 32px;
    left: 56px;
    animation-delay: -1.2s;
}

.lds-grid div:nth-child(7) {
    top: 56px;
    left: 8px;
    animation-delay: -0.8s;
}

.lds-grid div:nth-child(8) {
    top: 56px;
    left: 32px;
    animation-delay: -1.2s;
}

.lds-grid div:nth-child(9) {
    top: 56px;
    left: 56px;
    animation-delay: -1.6s;
}

@keyframes lds-grid {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}