body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #f1f1f1;
    color: #000;
    font-family: 'Roboto', Arial, sans-serif;
}

.loading-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 9999;
}

#loading-image {
    width: 400px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.content-box {
    padding: 60px;
    background-color: #fff;
    border-radius: 20px;
    text-align: center;
    max-width: 600px;
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
}

#age-question {
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: bold;
    color: #00AFF0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#age-info {
    font-size: 20px;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.6;
}

#enter-button {
    padding: 18px 36px;
    font-size: 22px;
    border: none;
    background-color: #00AFF0;
    color: #fff;
    cursor: pointer;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: bold;
}

#enter-button:hover {
    background-color: #0095D0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 175, 240, 0.3);
}

.logo {
    width: 200px;
    margin-bottom: 40px;
}

.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.language-selector {
    position: fixed !important;
    top: 15px !important;
    right: 15px !important;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 6px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.language-flag {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.language-flag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.language-flag:hover {
    transform: scale(1.05) rotate(2deg) !important;
}

.language-flag:hover::before {
    transform: translateX(100%);
}

.language-flag:active {
    transform: scale(1.02);
}

.language-more {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.language-more:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1) rotate(90deg);
    border-color: rgba(255, 255, 255, 0.6);
}

.language-more i {
    font-size: 12px;
    color: #333;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: -10px;
    margin-top: 8px;
    background: rgba(28, 28, 30, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 150px;
    max-height: 300px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
}

/* Custom styles for scrollbar */
.language-dropdown::-webkit-scrollbar {
    width: 8px;
}

.language-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 8px 0;
}

.language-dropdown::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transition: background 0.2s ease;
}

.language-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.language-dropdown::-webkit-scrollbar-thumb:active {
    background: rgba(255, 255, 255, 0.7);
}

/* For Firefox */
.language-dropdown {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.1);
    min-width: 180px;
    max-height: 350px;
}

.language-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #8e8e93;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    font-size: 14px;
    color: #f2f2f7;
    cursor: pointer;
    transition: all 0.2s ease;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(2px);
}

.dropdown-item img {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .language-selector {
        top: 8px;
        right: 8px;
        padding: 4px 6px;
        gap: 3px;
    }

    .language-flag {
        width: 20px;
        height: 20px;
    }

    .language-flag:hover {
        transform: scale(1.05) rotate(2deg) !important;
    }

    .language-more {
        width: 20px;
        height: 20px;
    }

    .language-dropdown {
        min-width: 140px;
    }
} 