body {
    font-family: Arial, sans-serif;
    background: #f8f8f8;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

#login_wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    background-color: #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.logo {
    max-height: 45px;
}

.nav_links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav_links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 15px;
    padding: 8px 12px;
}

#intro_lang {
    width: 36px;
    height: 24px;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 2px rgba(0,0,0,0.1);
    position: absolute;
    top: 20px;
    right: 20px;
}

.intro_lang {
    width: 100%;
    height: auto;
    display: none;
}

/* Layout */
.main_content {
    display: flex;
    flex: 1;
}

.left_panel,
.right_panel {
    flex: 1;
    padding: 40px;
    box-sizing: border-box;
}

.left_panel {
    background: url('img/jututuba.png') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 60px 30px 30px 30px;
    position: relative;
}

.login_text {
    margin-top: 80px;
    margin-bottom: 50px;
}

.login_text p:first-child {
    font-size: 42px;
    font-weight: 800;
    color: #002f6c;
    margin-bottom: 20px;
    text-shadow: 0 4px 8px rgba(255, 255, 255, 0.8);
    letter-spacing: 0.6px;
    line-height: 1.4;
}

.login_text p:last-child {
    font-size: 22px;
    color: #1b1b1b;
    opacity: 0.95;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.7);
}

.online_count {
    font-size: 15px;
    font-weight: 500;
    color: #2a2a2a;
    margin-bottom: 10px;
}

.online_dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 8px;
    border-radius: 50%;
    background-color: #4caf50;
    box-shadow: 0 0 4px #4caf50;
    animation: pulse 1.5s infinite ease-in-out;
    vertical-align: middle;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.3);
    }
}

.avatar_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    width: 100%;
}
.genmale {
    border-color: #03add8 !important;
}

.genfemale {
    border-color: #ff99ff !important;
}

.genother {
    border-color: #999 !important;
}
.avatar_wrap img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 6px;
    object-fit: cover;
    border: 2px solid #b2cfff;
    transition: transform 0.3s;
}

.avatar_wrap img:hover {
    transform: scale(1.1);
    border-color: #2a5fff;
}

.right_panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    position: relative;
}

.form_section {
    display: none;
    width: 100%;
    max-width: 400px;
}

.form_section.active {
    display: block;
}

.form_section h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.form_section input,
.form_section select {
    display: block;
    margin: 10px auto;
    padding: 10px;
    width: 100%;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.form_section input:focus,
.form_section select:focus {
    border-color: #2a5fff;
    outline: none;
}

.form_section button {
    margin-top: 15px;
    padding: 12px 30px;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    background-color: #2a5fff;
    color: white;
    cursor: pointer;
    width: 100%;
}

.nav_buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    width: 100%;
    max-width: 400px;
}

.nav_buttons button {
    padding: 10px 20px;
    border-radius: 20px;
    background-color: #444;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

.nav_buttons button:hover {
    background-color: #666;
}

.simple_nav {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
        position: relative;
    }

    .logo {
        max-height: 36px;
    }

    .hamburger {
        display: block;
    }

    .nav_links {
        display: none;
    }

    .mobile_menu .intro_lang {
        width: 36px;
        height: auto;
        margin: 10px auto;
        border-radius: 4px;
        box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    }

    .mobile_menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 20px 0;
        z-index: 1000;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        text-align: center;
        transition: all 0.3s ease;
    }

    .mobile_menu.show {
        display: flex;
    }

    .mobile_menu a {
        padding: 12px 20px;
        font-size: 16px;
        color: #333;
        text-decoration: none;
        border-bottom: 1px solid #eee;
    }

    .main_content {
        flex-direction: column;
    }

    .left_panel {
        background-image: url('img/jututuba.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        padding: 40px 20px 20px;
        align-items: center;
    }

    .login_text p:first-child {
        font-size: 24px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .login_text p:last-child {
        display: none;
    }
.guest_button {
    background-color: #2a5fff;
    color: white;
    font-weight: bold;
    border-radius: 25px;
    padding: 12px 24px;
    font-size: 15px;
    transition: background-color 0.3s ease;
}

.guest_button:hover {
    background-color: #1a45c2;
}
    .avatar_wrap {
        display: none;
    }

    .form_section {
        max-width: 90%;
        margin: 0 auto;
    }

    .form_section input,
    .form_section select {
        border-radius: 12px;
        box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    }

    .form_section button {
        border-radius: 12px;
        margin-bottom: 10px;
    }

    .nav_buttons {
        flex-direction: column;
        gap: 8px;
    }

    .online_count {
        font-size: 14px;
        margin-top: 8px;
        color: #222;
        font-weight: 500;
    }

    .online_dot {
        display: inline-block;
        width: 10px;
        height: 10px;
        background: #3cc13b;
        border-radius: 50%;
        margin-right: 6px;
        animation: blink 1s infinite;
        vertical-align: middle;
    }

    @keyframes blink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.4; }
    }
}

@media (min-width: 769px) {
    #mobile_menu,
    .mobile_menu,
    .hamburger {
        display: none !important;
    }

    .desktop_menu {
        display: flex !important;
    }
}

@media (max-width: 768px) {
    .desktop_menu {
        display: none !important;
    }
}

