/* MEGA888 Malaysia 头部样式 - 深色霓虹主题 */

/* 头部样式 */
.header {
    background: #050A1F !important;
    border-bottom: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

.header-top {
    padding: 10px 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.logo img {
    max-height: 40px !important;
    width: auto !important;
}

/* 登录注册按钮 */
.auth-buttons {
    display: flex !important;
    gap: 10px !important;
}

.auth-button {
    border-radius: 20px !important;
    padding: 8px 20px !important;
    font-weight: 600 !important;
    text-align: center !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.register-button {
    background: linear-gradient(to bottom, #ffb43c, #ff9500) !important;
    color: #0a1428 !important;
    box-shadow: 0 2px 6px rgba(255, 184, 0, 0.4) !important;
}

.login-button {
    background: linear-gradient(to bottom, #00a046, #007f3e) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 127, 62, 0.4) !important;
}

.auth-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

/* 移动端样式调整 */
@media (max-width: 768px) {
    /* 隐藏头部的登录注册按钮 */
    .header-top .auth-buttons {
        display: none !important;
    }
    
    /* Logo居中显示 */
    .header-top {
        justify-content: center !important;
        position: relative !important;
    }
    
    /* 菜单按钮位置调整 */
    .menu-toggle {
        position: absolute !important;
        left: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
    
    /* 移动端三按钮：单行，图标上+文字下 */
    .mobile-auth-buttons {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        margin: 10px 12px !important;
        align-items: stretch !important;
    }

    /* TG 和 WA：等宽，图标+文字竖排 */
    .mobile-auth-buttons .auth-button:nth-child(1),
    .mobile-auth-buttons .auth-button:nth-child(2) {
        flex: 1 !important;
        flex-direction: column !important;
        gap: 4px !important;
        padding: 10px 4px !important;
        font-size: 11px !important;
        white-space: nowrap !important;
        line-height: 1.2 !important;
    }

    /* 图标放大 */
    .mobile-auth-buttons .auth-button:nth-child(1) .btn-icon,
    .mobile-auth-buttons .auth-button:nth-child(2) .btn-icon {
        font-size: 22px !important;
        width: 22px !important;
        height: 22px !important;
    }

    /* Claim Free RM66：更宽，同样竖排 */
    .mobile-auth-buttons .auth-button:nth-child(3) {
        flex: 2 !important;
        flex-direction: column !important;
        gap: 4px !important;
        padding: 10px 8px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
    }

    .mobile-auth-buttons .auth-button:nth-child(3) .btn-icon {
        font-size: 22px !important;
    }
} 